Blit in 2D
well, he did post this in the OpenGL forum, so i''m assuming he
wants to know how to do it in OpenGL and not directdraw...
Nelstaar: to ''blit'' in opengl you need to set your
app to be orthographic.. that''ll change everything to 2D
coordinates for you and will eliminate the need for the ''z''
coordinate.
do a google search for "gluOrtho2D" or check out the articles
and resources section on this page.
nehe''s lesson 21 is also good.
-eldee
;another space monkey;
[ Forced Evolution Studios ]
wants to know how to do it in OpenGL and not directdraw...
Nelstaar: to ''blit'' in opengl you need to set your
app to be orthographic.. that''ll change everything to 2D
coordinates for you and will eliminate the need for the ''z''
coordinate.
do a google search for "gluOrtho2D" or check out the articles
and resources section on this page.
nehe''s lesson 21 is also good.
-eldee
;another space monkey;
[ Forced Evolution Studios ]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement