L3DT users' community
Large 3D terrain generator

Sapphire and Really Large Map

Any and all chit-chat regarding L3DT.

Sapphire and Really Large Map

Postby Trips » Sat May 21, 2011 4:00 am

I have a heightfield that's 32,768x32,768. Most of it came out just like I want, but about 10% of it needs editing. Trouble is, loading the thing in Sapphire leads to an out of memory condition. Are there any tricks that will let me edit it?
Trips
Member
 
Posts: 21
Joined: Thu Apr 14, 2011 2:02 am

Re: Sapphire and Really Large Map

Postby Aaron » Mon May 23, 2011 1:05 pm

Hi Trips,

I'm sorry, there's no fix to that problem yet. I'm still working on a way to do this without substantially hurting the rendering performance.

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Re: Sapphire and Really Large Map

Postby Trips » Thu May 26, 2011 2:42 am

Is there any way I can specify at heightfield generation (plugin?) not to allow the terrain height to go below zero if e.g. the current design map pixel and all neighbors are at a height > 0? I'm really at a loss to understand why so much of my terrain is "under water".
Trips
Member
 
Posts: 21
Joined: Thu Apr 14, 2011 2:02 am

Re: Sapphire and Really Large Map

Postby Trips » Thu May 26, 2011 4:33 pm

Additional thought... what about allowing a region of the heightfield to be selected for editing (mouse select area, load just that area into Sapphire)?
Trips
Member
 
Posts: 21
Joined: Thu Apr 14, 2011 2:02 am

Re: Sapphire and Really Large Map

Postby Aaron » Tue Jun 28, 2011 1:52 pm

Hi Trips,

I apologise for the delay in my reply.

Is there any way I can specify at heightfield generation (plugin?) not to allow the terrain height to go below zero if e.g. the current design map pixel and all neighbors are at a height > 0?


There's no nice way to do it, no. There's also currently no way for plugins to hook-into the main terrain generation algorithm, but I can add support for callback functions if you like.

I'm really at a loss to understand why so much of my terrain is "under water".


If you have no design map pixels with sub-zero altitudes, there can still be several reasons why the heightmap may be generated with some sub-zero heights. For example, the peak and fractal noise effects may displace the terrain below sea-level if the noise is set sufficiently high and the altitude is sufficiently near to sea-level in the design map. Furthermore, if you have high erosion set in the local area, you can have significant height loss if there is a down-hill path away from the affected pixels.

By the way, you can also offset your heightmap to remove these under-sea regions using the 'Operations->Heightfield->Change vertical range' menu option.

Additional thought... what about allowing a region of the heightfield to be selected for editing (mouse select area, load just that area into Sapphire)?


My current plans are for proper support for very large maps in Sapphire to be added later this year or early next, which is after the next release version but before the following release. Sapphire is a pretty complex codebase, so I'd rather avoid implementing any quick-fixes in the mean-time that may come back to bite me later. Sorry.

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia


Return to General discussion

Who is online

Users browsing this forum: No registered users and 11 guests

cron