sphere scenenode of level of detail
sphere scenenode of level of detail
does anyone have a sphere scenenode of level of detail, like the world wind's earth,or can somebody give me some advice on this topic?
Basically, just make a scene node with a sphere mesh a several different resolutions, and then render a different one depending on how far away the camera is. You don't even need to write the code to generate the spheres
~David
~David
yes,your suggestion is a good idea for rendering a sphere,but it needs too much memory,because irrlicht's sphere node renders all the vertices of the whole sphere,is there anybody create some node considering lod??DtD wrote:Basically, just make a scene node with a sphere mesh a several different resolutions, and then render a different one depending on how far away the camera is. You don't even need to write the code to generate the spheres
~David
Sounds like you need a Chunked LOD 3rd party library like I'm trying to get to work with Irrlicht
http://www.organicvectory.com/index.php ... 2&Itemid=2
http://www.organicvectory.com/index.php ... 2&Itemid=2
Slaine wrote:Sounds like you need a Chunked LOD 3rd party library like I'm trying to get to work with Irrlicht
http://www.organicvectory.com/index.php ... 2&Itemid=2
thank you very much,the pics shown on your link seem like effect,can i get access the source code??
Download this
http://www.freebasic.net/forum/viewtopic.php?t=3584
It's a FreeBasic Irrlicht wrapper, in the source someone has extended the STerrainSceneNode to STerrainSphereNode, just copy and paste into your project, that should sort your problem out
http://www.freebasic.net/forum/viewtopic.php?t=3584
It's a FreeBasic Irrlicht wrapper, in the source someone has extended the STerrainSceneNode to STerrainSphereNode, just copy and paste into your project, that should sort your problem out
No, it's closed source.dujimache wrote:Slaine wrote:Sounds like you need a Chunked LOD 3rd party library like I'm trying to get to work with Irrlicht
http://www.organicvectory.com/index.php ... 2&Itemid=2
thank you very much,the pics shown on your link seem like effect,can i get access the source code??
However, if you do decide to use the Irrlicht terrain sphere node it is still limited, it'll only optimise down to a certain vertex count, whereas ovPlanet will continue to simplify as the camera moves further and further away, until it's only a few hundred vertexes, so ovPlanet is faster for a high number of spheres.