It is currently Sat Aug 22, 2020 1:53 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Dynamically modify volume size
PostPosted: Tue Apr 10, 2012 3:07 am 

Joined: Thu Mar 29, 2012 7:26 pm
Posts: 14
Hey. I was wondering if it was possible to dynamically modify a volume's size. This is what I want to do. I want to use normal raw volumes(or large volumes), that have only a few voxels in them. As the player gets closer to the volume, more voxels are dynamically added to the volume, so the volume has to grow. Is this possible? I am trying to simulate level of detail on a planetary scale using normal cube volumes.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Dynamically modify volume size
PostPosted: Tue Apr 10, 2012 9:15 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
You can't change the size of a volume, but if you use the LargeVolume then you can specify it as being almost infinite in the first place. So then you shouldn't need to resize.

In general your approach is interesting but probably difficult. You'd probably be better off maintaining several volumes, each with the data at a different LOD level. Then choose which one you want to use for generating the mesh.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net