Q3 bezier Tc Generation ..
does anyone know how quake 3 generates its texture coordinates?
im guessing bezier interpolation between the control points TC''s?
any advice on this would be helpfull
thanx
/silvermace
The BSP tools should generate them. They''re modified by shaders before actual rendering also...
i prob shulda been more specific, im talkin bout the Bezier patches texture coords ... see in the BSP there only actualy the Texture Coords for the patches Control Points, so how does quake generate them for the verts it calculates?
i found something else out as well (its weird) the texture coords for the control points (almose all of them) are greater than 1.0, which is strange ..
any more help / ideas?
i found something else out as well (its weird) the texture coords for the control points (almose all of them) are greater than 1.0, which is strange ..
any more help / ideas?
The texture coordinates are stored in exactly the same way as the vertex coordinates - they are bezier patch control points. So to generate the resulting TC''s for the patch, you simply run the initial TC''s through the same procedure you used on the vertex control points, discarding the third coordinate, because it isn''t needed.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement