compiling error with terrain code

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.
Kortyburns
Posts: 20
Joined: Wed Sep 10, 2003 12:31 pm
Location: FRANCE

Post by Kortyburns »

newbee wrote::o ,I tried to see the terrain.But no terrain.Only waternode and skybox.Why?If i disable the skybox and waternode nothing is there on screen.But the polycount shows 130050. fps 230.Any help?
Thank you
Try setting your working directory the same as the one where there's the HeightMapTerrain.jpg file, or change the path of:
driver->getTexture("HeightMapTerrain.jpg")
It should work

What is RAW map?
It seems to be a map where data are stored raw :D ... Just have a look at Sir Knight's code (terrain::loadRawMap() method). You'll se that data are stored like this :
X0Y0Z0X1Y1Z1X2Y2Z2......
newbee

Post by newbee »

It is in the same directory.The jpg is for texture.Even without texture mesh should be visible.No?Is it because of NORMALS?
Post Reply