cloud9
07-03-2009 11:14:26
Hi all.
I'm creating terrain by a voxel approach similar to Gem3 ch1, http://www.ogre3d.org/forums/viewtopic.php?t=45622&sid=9c9b51ffbdc32b55da7bf22f909a62890 the terrain is actually a planet and I create it in geometry shaders using a render volume that contains a representation of a density function, I create chunks and destroy old ones as the camera moves about, but spread out over a time frame, so the extents arn't constant.
What I'd like to do is place the vegetation based on some render volume data which holds things like density, slope, general slope and region. Also I'd like to set some kind of instance data for surface color and long range ambient occulsion, is this possible?
Having skimmed through PagingGeometrys examples it seems its written with height maps in mind, for example the height function, color maps and the tree loaders only having a yaw option, and the height function callback doesn't really work for me as I want to control the loading.
How hard would it be for me to add what I want? Is it just a page loader I'd need to write? or something much more? and in that case would you advise PagedGeometry over just using ogres instancing?
I'm creating terrain by a voxel approach similar to Gem3 ch1, http://www.ogre3d.org/forums/viewtopic.php?t=45622&sid=9c9b51ffbdc32b55da7bf22f909a62890 the terrain is actually a planet and I create it in geometry shaders using a render volume that contains a representation of a density function, I create chunks and destroy old ones as the camera moves about, but spread out over a time frame, so the extents arn't constant.
What I'd like to do is place the vegetation based on some render volume data which holds things like density, slope, general slope and region. Also I'd like to set some kind of instance data for surface color and long range ambient occulsion, is this possible?
Having skimmed through PagingGeometrys examples it seems its written with height maps in mind, for example the height function, color maps and the tree loaders only having a yaw option, and the height function callback doesn't really work for me as I want to control the loading.
How hard would it be for me to add what I want? Is it just a page loader I'd need to write? or something much more? and in that case would you advise PagedGeometry over just using ogres instancing?