[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

How do I make the last object drawn in a 2D openGL window draw on top of all other objects?

I have a 2D openGL window.  I draw several object which overlap one another.  I need the very last object that I draw to be displayed as the "TOP" object.  Currently, the last object I draw is getting hidden behind the earlier drawn objects.  Any thoughts?

Thank you.
0
clintMon
Asked:
clintMon
1 Solution
 
rajeev_devinCommented:
If you +ve Z is pointing toward your display then increase the last objects Z coordinate.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now