blender to irrlicht

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
hindupower
Posts: 15
Joined: Thu Sep 27, 2007 7:49 pm

blender to irrlicht

Post by hindupower »

blender has the capability of using all kind of texture maps like bump,normal, and translucency. is there a way to use translucency,specular and reflection maps in irrlicht and if so how? examples would be very helpful.

thanks

also this is my first post in this forum. :D
fireside
Posts: 158
Joined: Thu Dec 01, 2005 10:55 pm

Post by fireside »

I don't know much about this, but I'm interested to see the replies. The example per pixel lighting no.11 explains how normal maps are used.
hindupower
Posts: 15
Joined: Thu Sep 27, 2007 7:49 pm

Post by hindupower »

i am using this website for the kinds of maps. its very good:

http://www.3dtotal.com/team/Tutorials/l ... leaf_1.asp

anyway im trying to make some maps and put it on an object and see if irrlicht loads the materials automatically.

If it doesnt i think you have to use node->getmaterial(material number), but i dont know what the material number is.
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

I think most of theses could be used, but I think you will need to use or create shaders.

Normal maps and bumps maps (also Parallax maps) can be used already with the predefined surface. But you will not be able to use with them for example a Lightmap, or reflection map.

IRRLicht has some predefined surfaces but you can't mix them as you'd like. The best way to use them is to use shaders.
hindupower
Posts: 15
Joined: Thu Sep 27, 2007 7:49 pm

Post by hindupower »

are there other ways?
fireside
Posts: 158
Joined: Thu Dec 01, 2005 10:55 pm

Post by fireside »

Normal maps and bumps maps (also Parallax maps) can be used already with the predefined surface. But you will not be able to use with them for example a Lightmap, or reflection map.
Why not? What will happen if they are used together? Your saying we can't use the method in example 11 with a light map?
hindupower
Posts: 15
Joined: Thu Sep 27, 2007 7:49 pm

Post by hindupower »

i think you can but your not supposed to use "setMaterialType()" but instead getMaterial(number).texture[1]=some texture file. You would have to set up the materials in the modeler before you use this for this to work, but i dont know for sure.

Am i right?
kornwaretm
Competition winner
Posts: 189
Joined: Tue Oct 16, 2007 3:53 am
Location: Indonesia
Contact:

Post by kornwaretm »

acording to my experience :oops:. i think that only can be done manualy in irrlicht by using tangent mesh.
Post Reply