Bitmap Elevation

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
Ameiseherr

Bitmap Elevation

Post by Ameiseherr »

Is it possible to assign 'elevation' to a 3d plane using a bitmap? For instance, a black and white bitmap, black would be the highest elevation, and white would be the lowest, and this could be rendered on screen (and possibly manipulated and saved back to bitmap)?
madinitaly
Posts: 92
Joined: Sat Nov 29, 2003 8:30 pm
Contact:

Post by madinitaly »

I guess it's the basis of heightmapping :P (or something like that at least).
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post by stampsm »

yes it is possible that is how it is normally done ther are many tutorials on it
it is not in the engine yet but i think it will be in 4.2 ( am i wrong?)
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Yes, in 0.4.2 there are two ways in to do it: A static mesh can be generated from a heightmap, and a terrain scene node. Also you can set a texture to use, and this can be as huge as you want it to be, it will then be splitted internally into smaller textures. The scene node will be a alpha version, without LOD and missing some other features, but also useful.
Post Reply