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!

sphere scenenode of level of detail

Postby dujimache » Sun Jul 04, 2010 2:36 am

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

Postby DtD » Sun Jul 04, 2010 5:23 am

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

Postby dujimache » Sun Jul 04, 2010 7:01 am

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

Postby Slaine » Sun Jul 04, 2010 12:44 pm

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

Postby DtD » Sun Jul 04, 2010 6:41 pm

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

Postby dujimache » Mon Jul 05, 2010 1:42 pm

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

Postby dujimache » Mon Jul 05, 2010 1:44 pm

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

Postby Slaine » Mon Jul 05, 2010 2:32 pm

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

Postby Slaine » Mon Jul 05, 2010 2:33 pm

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

Postby Slaine » Mon Jul 05, 2010 2:39 pm

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


Return to Advanced Help

Who is online

Users browsing this forum: No registered users and 1 guest