Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Primitive on top

This topic is 5798 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can i make a primitive that stays on top of the screen (like a mouse cursor), even when the camera moves. I DO NOT want to use DDraw, just primitives or something. How can I do this?? 10x...

Share this post

Link to post
Share on other sites
I would think the easiest way would be to disable z buffer drawing, the draw it last. That way everything that you''ve already drawn would remain intact and you could simply draw it on top. Unless you want a 3D mouse cursor, you could also switch to ortho view and draw a simple 2D quad to the screen.

Note: None of this has been done by me. I understand the concepts, but have never been able to complete a 3D game

Always remember, you''''re unique. Just like everyone else.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!