PDA

View Full Version : How to display messages/labels inside 3D scene?



anuchka
07-07-2004, 04:29 AM
Hi
I'm working in Borland C++ Builder enviroment.
Im modeling different 3d scenes(geographical areas,landscapes and etc.)
I need to display some label with message or
number on the 3D scene ,but I dont want this text to be projected,just to display as message.
How can I do it?How can I display on the projected scene smth that is not connected to the scene(without any projection)?

Aeluned
07-07-2004, 05:26 AM
you need set up an orthographic projection before you render all your 2D stuff.

look into glOrtho().

render all your 3D stuff using a perspective projection, then switch over to an ortho view and render your labels.

cheers.