VBO ITerrainSceneNode

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
maitrelame2
Posts: 26
Joined: Sun Jan 21, 2007 9:11 pm

VBO ITerrainSceneNode

Post by maitrelame2 »

Hi,

I am trying to find a way to use VBOs with ITerrainSceneNode, I tried to modify the sources but could not find a way to use them.
I know that the TerrainMesh can be used to do so, but I can't get it to work proprely and I need the getHeight function (no smooth...) plus I can't find the TerrainMesh in the API doc...
If any knows how to use VBOs please let me know.
Irrlicht 4ever.
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

if your using the lastest SVN you shouldn't have to change any of the engine source.

just go something like:

terrain->getRenderBuffer()->setHardwareMappingHint(EHM_DYNAMIC);



hmm, we are going to need make a nice interface for this soon and make it able to be automatic.
[url=irc://irc.freenode.net/irrlicht]irrlicht irc[/url] - corrodinggames.com
Post Reply