It's hard to realise 2 sided materials ? (so the mesh will be covered from 2 sides with textures and not as usual 1 with texture the other side is "transparent")
?
some link, info would be usuful =)
2 Sided Materials ?
-
- Posts: 331
- Joined: Sat Sep 02, 2006 4:11 am
- Location: Michigan
- Contact:
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Hi, There 2 way you can solve your problem:
First solution: You want to have the same surface but on both sides of your object. (The other side is not transparent but not drawed at all, it save time to render an object, the computer is only accounting for one side. Technical: this is done by the vertices(points) order of the face that define the face "normal")
Disable the BACKFACE CULLING for your surface: You can select your object in IRRedit then check for this in the attributes and retrieve the IRRscene file. Another way you could do this is doing this directly in IRRlicht (Check the SDK docs for enabling this for meshes attributes.
If you do it directly in your 3D modeling package:
Check for Backface culling or double sided poly attributes on your texturing panel (3DS, Lightwave, Blender, etc). If it's done directly in the 3D modeling package, you should'nt have to do it in IRRlicht or IRRedit.
Second solution: Need for different surface type on EACH side. (EX: one side is golden metal, the other side is a brick texture)
If you want to create another textures type on the backface (so in other side is having a different textures) you will have to model the other side.
The easiest way is to go in poly mode, select all polygons, copy the polygons then use the (face/poly) FLIP command, also set them another surface/texture before unselecting theses because they will be hard to select after (you'll be selecting mostly both sides)
First solution: You want to have the same surface but on both sides of your object. (The other side is not transparent but not drawed at all, it save time to render an object, the computer is only accounting for one side. Technical: this is done by the vertices(points) order of the face that define the face "normal")
Disable the BACKFACE CULLING for your surface: You can select your object in IRRedit then check for this in the attributes and retrieve the IRRscene file. Another way you could do this is doing this directly in IRRlicht (Check the SDK docs for enabling this for meshes attributes.
If you do it directly in your 3D modeling package:
Check for Backface culling or double sided poly attributes on your texturing panel (3DS, Lightwave, Blender, etc). If it's done directly in the 3D modeling package, you should'nt have to do it in IRRlicht or IRRedit.
Second solution: Need for different surface type on EACH side. (EX: one side is golden metal, the other side is a brick texture)
If you want to create another textures type on the backface (so in other side is having a different textures) you will have to model the other side.
The easiest way is to go in poly mode, select all polygons, copy the polygons then use the (face/poly) FLIP command, also set them another surface/texture before unselecting theses because they will be hard to select after (you'll be selecting mostly both sides)