Getting transformed vertex coords

Started by
0 comments, last by wolfman8k 22 years, 5 months ago
How do I get the transformed vertex coordanites after calling glTranslate*() and glRotate*(). I need something like this:

xtranformed = transform_vertex_x(x, y, z);
ytranformed = transform_vertex_y(x, y, z);
ztranformed = transform_vertex_z(x, y, z);
 
where x, y, and z is the vertex that I want to be transformed. Can I just multiply it by the current model matrix? If so, how do I do that? thanks
Advertisement
Use the search button, ive answered that question 4 times in the past 2 weeks.
www.EberKain.comThere it is, Television, Look Listen Kneel Pray.

This topic is closed to new replies.

Advertisement