sphere scenenode of level of detail

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
dujimache
Posts: 24
Joined: Mon Aug 03, 2009 3:22 am

sphere scenenode of level of detail

Post by dujimache »

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?
DtD
Posts: 264
Joined: Mon Aug 11, 2008 7:05 am
Location: Kansas
Contact:

Post by DtD »

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
dujimache
Posts: 24
Joined: Mon Aug 03, 2009 3:22 am

Post by dujimache »

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
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??
Slaine
Posts: 120
Joined: Fri May 04, 2007 12:28 pm

Post by Slaine »

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
DtD
Posts: 264
Joined: Mon Aug 11, 2008 7:05 am
Location: Kansas
Contact:

Post by DtD »

Oh, you mean LOD like they have on the terrain. I'd look at how the terrain scene node works internally and go from there.
dujimache
Posts: 24
Joined: Mon Aug 03, 2009 3:22 am

Post by dujimache »

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??
dujimache
Posts: 24
Joined: Mon Aug 03, 2009 3:22 am

Post by dujimache »

DtD wrote:Oh, you mean LOD like they have on the terrain. I'd look at how the terrain scene node works internally and go from there.
thanks ,if you create a lod sphere scene node,tell me!thank you.i think it is a very useful node!
Slaine
Posts: 120
Joined: Fri May 04, 2007 12:28 pm

Post by Slaine »

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 :)
Slaine
Posts: 120
Joined: Fri May 04, 2007 12:28 pm

Post by Slaine »

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??
No, it's closed source.
Slaine
Posts: 120
Joined: Fri May 04, 2007 12:28 pm

Post by Slaine »

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.
Post Reply