PDA

View Full Version : texgen and large texture coord



vince
06-06-2003, 05:34 AM
When we use texgen to generate the texture coordinates, the coordinates are based on the vertex position. If the vertex coordinates get large, so will the texture coordinates, causing obvious artifacts.

Do you know anyway aroud that?

I though of using a vertex program to reduce to texture coordinates, but how can I do it if I don't know the texture coordinates of the other vertices of my triangles?

Any idea?

dorbie
06-06-2003, 09:48 AM
Offset the plane equation by some integer ammount to reduce the coords for large vertex values?

Still problematic but perhaps less so than the large coordinates you're producing.

The 'right' solution is to reduce the vertex values and do the classic model - eye translation in software.