Jump to content
  • Advertisement

Archived

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

atomiks

Rendering directly to the screen

This topic is 6185 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

I was curious whether anyone had any experience rendering open gl creations directly to the screen. As in rendering a cube without being in a window. Just like an eterm is rendered not in another window but free floating, it just happens to be square but what about a sphere spinning on the screen without having to be inside a window, or, making the window non-visible but keeping the image visible.

Share this post


Link to post
Share on other sites
Advertisement
I believe you can create that effect by making the window transparent (like M$ Agent characters) or by using the desktop as your DC. I haven''t tried yet, so I''m only guessing.

Jason

Share this post


Link to post
Share on other sites
Never render to the desktop DC, verrrrryyy bad!
I made the mistake of trying that once, got quite the bad result from it.

Share this post


Link to post
Share on other sites
Thanks for the feedback, i''ll check and see if there is any sdl call that will render the window transparent. X has calls itself that should allow rendering to the screen see because it really is an illusion. You will still be rendering to a window but you won''t see the window though. I hope sdl carried that functionality over, if not I will just have check out the source code and see what it would take.

atomiks

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!