PDA

View Full Version : displaying 2d bitmaps in 3d scenes



Scorpion_ADN
11-21-2002, 02:56 AM
hi,

my problem is to show 2D bitmaps in 3D scenes, with no information of camera-position

the result should a menu like in warcraft3 or other games ...

thx

nexusone
11-21-2002, 03:55 AM
One solution is to render your 2D bitmap in ortho mode then switch to perspective for you 3D stuff.

I have a simple example of this in my glutwindow and clock examples on my website:
http://www.angelfire.com/linux/nexusone/

http://www.opengl.org/discussion_boards/ubb/smile.gif

Scorpion_ADN
11-21-2002, 09:28 AM
cool, thx