flat terrain

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
ManTis
Posts: 12
Joined: Mon Sep 06, 2004 7:29 pm

flat terrain

Post by ManTis »

Is there any way to create outdoors terrain in Irrlicht? If so, how should i do it?
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

yes

Post by Munku »

Check out the ITerrainSceneNode, and hillnode, however, it is in alpha or beta...
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
ManTis
Posts: 12
Joined: Mon Sep 06, 2004 7:29 pm

Post by ManTis »

hmmm... i've created thing like this:

ITerrainSceneNode *terrain = smgr->addTerrainSceneNode(0, 0,driver->createImageFromFile("ground07.jpg"), driver->createImageFromFile("heightmap.bmp"), 0,dimension2d<f32>(10.0f,10.0f),1);


but it doesn't seem to work. what should i do with ID of camera (2nd attribute)? i have set camera to FPS using:

smgr->addCameraSceneNodeFPS();

update: by 'doesn't seem to work' i mean: it compiles, but i can't see any effect on screen
ManTis
Posts: 12
Joined: Mon Sep 06, 2004 7:29 pm

Post by ManTis »

oh it works Oo dunno why :P

thanks anyway ;)
Post Reply