How to identify sides of the Mesh??

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
ansu832001
Posts: 95
Joined: Thu Mar 01, 2007 6:39 am

How to identify sides of the Mesh??

Post by ansu832001 »

Hi All,

I want to Apply Pattern to mesh,if you look at the below picture,the right right side you can see orange colored pattern applied to it,this is done as part of initial effort.

http://allyoucanupload.webshots.com/v/2 ... 6870819687

what iam doing is iam checking normals of Mesh and assuming that the normals of one side will be same,based on that iam identifying the side of the mesh,but i think its not the right way to identify the side of the mesh.Can any body tell me how to identify sides of the mesh??

Best Regards.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Is this necessary? Are you applying the texture to the mesh at run time like in a modelling application?

Or can it be done using simple texture mapping and be pre-defined?
Image Image Image
ansu832001
Posts: 95
Joined: Thu Mar 01, 2007 6:39 am

Post by ansu832001 »

Hi JP,

Yeah iam Applying Texture to the Mesh at RunTime like Modelling Application,any idea on this??

Best Regards.
Post Reply