Some newbie questions

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
Develin
Posts: 1
Joined: Fri Dec 05, 2003 10:44 am

Some newbie questions

Post by Develin »

As my previous post seems to be too unstructured and long I'll try again :D

Hi I'd like to to convert my game to Irrlicht (the power of Irrlicht is really impressive). As my own engine was tile based I wondered it is possible to "convert" (sorry not the right word but anyway) the walkable area of a BSP file (the floor) to a bunch of quads.
This would be important because it is a turn based strategy game in which the creatures may move like on a chess board - so movement,collisions, waling range, etc they all are measured in tiles. Any idea how to do something like that?
Or is there a intelligent way to build a Irrlicht level out of tiles that are arranged in layers (which was the way I did it in my own "engine").

Last but not least - in the tuts there are usually high level objects (like models, complete maps,...) - can you also build such a high level object out of low level objects like triangles, rectangles,etc like in the actual OpenGL/DirectX? (Sure this would be like going back one step but might be useful) - couldn't really find sth like this in the documentation.

Thanx!
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post by stampsm »

the custom scene node tutorial tells how to build objects polygon by polygon you simply set up all the vertices with each one having a position, UV coordinates, and color
and later in the code you draw the polygons by using the vertices you created earlier
by only modifying a few lines you can set up the custom scene node to draw textured objects not just colored based on the vertice colors but using a loaded texture
Post Reply