http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=20940
YOU CAN CONSIDER THIS CLASS OBSOLETE
Small demo testing TlTerrainSceneNode.
Creates random terrain 1000 / 1000 tiles large.
Area of 100 / 100 tiles is visible, giving range of 50 tiles around camera.
![Image](http://members.lycos.co.uk/arras1/Pictures/TlTerrain.jpg)
TlTerrainSceneNode create tile based terrain which can be nearly limitless in size. This is accomplished by storing data about terrain (height, normal, UV coordinates) in data array. Only terrain in specified size around camera (or anything specified) is rendered. Each tile can be textured independently by part of texture. This is accomplished by setting its texture UV coordinates. This class is still work in process and I would welcome any constructive critique, suggestions or bug reports from you. You are allowed to use it freely.
Class include getHeight and getIntersectionWithLine functions.
demo (3.75MB):
http://members.lycos.co.uk/arras1/downl ... inDemo.zip
header files:
http://members.lycos.co.uk/arras1/downl ... 61228b.zip
source code of demo:
http://members.lycos.co.uk/arras1/downl ... 061228.zip