Hi everyone,

I've been working on display callbacks and am having some trouble. I am
trying to display some information for the animators at One Animation.

>From my understanding of opengl render sequence, 3D objects are render
before 2D displays:

// drawing 3D world
push GL_PROJECTION
loadIdentity
set ortho

push GL_MODELVIEW
loadIdentity

clear color and depth buffer

// draw 2D information

pop GL_MODELVIEW
pop GL_PROJECTION


I placed my 2D drawing codes in the function below based off the Sample
Display Callback example from the Softimage SDK.
void MyClearScreenBuffer_Execute ( XSI::CRef, LPVOID * );

The problem I'm facing is that the 2D information is drawing behind the 3D
objects.


Thanks
Angeline

Junior TD
One Animation

Reply via email to