Hello!
Have have a 3ds made mesh loaded in the irrlicht engine.
I have set an ambient light and i can see all textures. But only from
one side of my mesh... from the other side you can watch through the walls.
What can i do? I want the textures to be 2 sided.
greets sascha
2 sided Textures?
If you work in your model program you should set Draw backfaces off. Triangles are viewable from one side. The other side you can't see. You can duplicate the faces and flip them. After that you can set a texture in the inside of your model too.
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Sorry, I work with Milkshape. There are that kind of options, it should be something like that...
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
You should select, and filp your triangles (don't duplicate all, it would be heavy for your computer) of the point where you can see through. At that point you have to set your textures.
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Saschinka dorogoi :)
Well instead of creating mirrored faces and doubling your mesh triangles count you could simply put this in your code :
Hope this will help you Sasha
Code: Select all
node->setMaterialFlag(video::EMF_BACK_FACE_CULLING,false);
I think backfaceculling is asking lots of your computers strenght.
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP