Rendering directly to the screen
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.
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
Jason
Never render to the desktop DC, verrrrryyy bad!
I made the mistake of trying that once, got quite the bad result from it.
I made the mistake of trying that once, got quite the bad result from it.
-----------------------"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else's drivers, I assume it is their fault" - John Carmack
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
atomiks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement