Page 1 of 1

Is multi texture mapping is possible in irrlicht?

Posted: Sat May 07, 2011 7:10 pm
by thanvilk
Is Multi texture mapping is possible in irrlicht where i want to apply is like following !

By using IGeometryCreater's createCubeMesh() i will create and cube then on every 6 face of cube i want to wrap differnt texture/color !

I dont want to export any external mesh !
i want to only create mesh using only irrlicht functionalities and then apply multiple textures on different faces/sides of model !

there is any facitlity is irrlicth to map 2d-UV cordinates to 3d cordinates !
if then how it can we implement it !

Please if some one have used this then do reply !

Posted: Sat May 07, 2011 8:04 pm
by serengeor
was all those ! really needed? :roll:

In the modeling program you can use UV mapping, or selecting groups of vertices and applying them different materials(different mesh buffers).

You can do the same with irrlicht. UV method should be faster since it would take only one texture/material, though using separate mesh buffers would be easier I think.

Prototype !

Posted: Sun May 08, 2011 6:52 am
by thanvilk
If i am not understanding wrong then you mean as i understanded !

i.e:
(1) 1st i create i.e let cube
(2) then for each 8 vertices i use different mesh buffers to map them for multi texture application further ~!

Is this or some thing different u want to say!

If you can then please give me prototype defination for applying multitextures on cube etc ~~~ if you had used this prior !

Posted: Sun May 08, 2011 8:14 am
by serengeor
I think that you could create empty mesh and then for each cube face create mesh buffers and apply different materials with the textures you need to those.