kon

01-03-2002, 02:27 AM

Hello

Having a mesh (vertices/normals/triangle indices) which is symmetrical w.r.t the xy plane how do I have to define the texgen planes to generate texcoords (object space)? And how if for example my mesh represents the union of three cylinders each of them along one of the principles axis (I got distortions along the z-axis).

All I'd like to have is to define a 2d-map for the two object's 'sides'. Using a vertex program the normal's z-coordinate's sign can be used to determine the side. But then how can I compute the texcoords (with no distortions)?

Thanks

kon

Having a mesh (vertices/normals/triangle indices) which is symmetrical w.r.t the xy plane how do I have to define the texgen planes to generate texcoords (object space)? And how if for example my mesh represents the union of three cylinders each of them along one of the principles axis (I got distortions along the z-axis).

All I'd like to have is to define a 2d-map for the two object's 'sides'. Using a vertex program the normal's z-coordinate's sign can be used to determine the side. But then how can I compute the texcoords (with no distortions)?

Thanks

kon