Hello,

I am doing a simple JAVA 3D raytracer. The raytracer work fine but now, I 
need to implement texture mapping.  

The problem:
- I have a collide polygon (triangle or quad) with his vertex, normals 
and texture coordinates for each vertex.
- I have collision point on this polygon with his normal vector.
- I have a rectangular texture with arbitrary dimensions.
- I need to calculate the surface color at the collision point.

Is there a simple way to solve this problem?

Thanks.

__________________________________
David Gagnon
Adrenaline Software, Inc.
http://www.adrenaline.ca



=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to