Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Volume size
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=2&t=147
Page 1 of 1

Author:  Shanee [ Wed Feb 23, 2011 7:39 am ]
Post subject:  Volume size

Hey David, I was wondering.

How big can we make our terrain (using the smooth version, not the minecraft version) ? Considering there is no streaming yet, what's possible for now?

Also, how much disk space does it take? and RAM? Thank you :)

(P.S., do take into account frustum culling and maybe even occlusion culling)

Author:  David Williams [ Wed Feb 23, 2011 8:20 pm ]
Post subject:  Re: Volume size

You're going to need to do some experimentation here, because it will depend a lot upon your data.

Uncompressed volume data will typicaly take 1 byte per voxel, so a 1024x1024x128 terrain would take 128mb. If you fill this with 3D Perlin noise you'll probably get a compression factor of about five or so (this is using the new Volume class which is currently in the branch). If you have just 2D Perlin noise representing a heightfield you'll probably do better. In the comments of Volume.h in the new branch there are some untested ideas about how compression can be maximised.

The other issue is the extracted mesh. This will possibly take more space than the volume but again it really depends on the data. But you may only need it on the GPU, unless you also want it on the CPU for physics. Or the CPU version could be lower resolution/decimated.

As for frustum culling/occlusion PolyVox has no concept of these. It operates at a much lower level of simply extracting meshes from volume data. You need to implement these features at a higher level in your game engine.

Author:  Shanee [ Thu Feb 24, 2011 5:46 am ]
Post subject:  Re: Volume size

Oh yes, what I meant about frustum culling is how much data and how far away do you think we could show, with the engine in question having frustum culling and occlusion query.

Author:  David Williams [ Thu Feb 24, 2011 8:13 pm ]
Post subject:  Re: Volume size

Unfortunatly I can't say... there's just too many variables and I haven't tested much myself. There is a demo while features a 1024x1024x256 map (the map is called hills_large) which you can try here:

http://www.thermite3d.org/releases/Thermite-July2009.zip

It's a pretty old demo though - lots of room for improvement. Also I've been using frustum culling but not occlusion queries, so it just draws everything in the frustum.

Author:  beyzend [ Thu Feb 24, 2011 8:25 pm ]
Post subject:  Re: Volume size

If you use Ogre3d there is even a coherent hierachy occlusion manager which I gotten to build on ogre 1.8. The demo works fine but I wasn't able to get it working in my own app and I just left it there due to time. I will eventually get back to it.

Oh yeah, and there was bugs in it which cause it to perform worst than regular scene manager, but someone on the forum said once they fixed the bug it was better performing.

Author:  Shanee [ Fri Feb 25, 2011 5:24 am ]
Post subject:  Re: Volume size

coherent hierachy occlusion manager? how does it work?

Author:  Shanee [ Fri Feb 25, 2011 5:29 am ]
Post subject:  Re: Volume size

David Williams wrote:
Unfortunatly I can't say... there's just too many variables and I haven't tested much myself. There is a demo while features a 1024x1024x256 map (the map is called hills_large) which you can try here:

http://www.thermite3d.org/releases/Thermite-July2009.zip

It's a pretty old demo though - lots of room for improvement. Also I've been using frustum culling but not occlusion queries, so it just draws everything in the frustum.


The demo is crashing for me when it starts extracting the surface. (even though I can already see the tank on some ground)

Author:  beyzend [ Fri Feb 25, 2011 6:23 pm ]
Post subject:  Re: Volume size

Oh sorry I meant coherent hierarchy culling: the CHC and CHC+ algorithms.

http://www.google.com/search?hl=en&rlz= ... 1&aql=&oq=

Someone on the ogre forum implemented CHC (not the CHC+) manager in Ogre. I don't know how the details of the algorithm you have to read the paper to find out (I think there is a GPU gems article on it also). Well AFIAK, it does intelligent management of hardware occlusion to get around some of the problems associated with it.

Author:  Shanee [ Fri Feb 25, 2011 7:04 pm ]
Post subject:  Re: Volume size

Thank you, I will look into implementing this in MLE. :)

Author:  David Williams [ Fri Feb 25, 2011 7:30 pm ]
Post subject:  Re: Volume size

Shanee wrote:
The demo is crashing for me when it starts extracting the surface. (even though I can already see the tank on some ground)

Ah, unfortunatly I can't help with that as the demo is pretty old. My machine is two years old and gets 35 FPS if I position the camera so that the whole 1024x1024x256 volume is in view. So there is no culling and also no LOD is present.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/