Archived

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

atomiks

Rendering directly to the screen

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
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