in front of me?
hi,
my render routine starts with
glRotatef(-rot[0], 1.0f, 0.0f, 0.0f);
glRotatef(-rot[1], 0.0f, 1.0f, 0.0f);
glRotatef(-rot[2], 0.0f, 0.0f, 1.0f);
glTranslatef (-eye[0], -eye[1], -eye[2]);
how to make a Quad that is always in front of me (like a weapon)?
I''m really tired and cannot get it work
Thx yot
A quad? After rendering everything switch to an orthographic project matrix, and render it where ever it needs to be.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
hi Null and void,
yeah you''re right, now it works, I tested this out but it didn''t work first I guess I made a stupid mistake, nevertheless thanx
yot
yeah you''re right, now it works, I tested this out but it didn''t work first I guess I made a stupid mistake, nevertheless thanx
yot
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement