Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
Dynamically modify volume size http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=376 |
Page 1 of 1 |
Author: | mathius777 [ Tue Apr 10, 2012 3:07 am ] |
Post subject: | Dynamically modify volume size |
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. |
Author: | David Williams [ Tue Apr 10, 2012 9:15 am ] |
Post subject: | Re: Dynamically modify volume size |
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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |