me-$-on
June 13th, 2008, 02:02 AM
Hello.
I asked myself, if it is possible to create a scene without a window.
Using simple Win32Api.
Of course i would have to set and update the clipping area with every move of the primitive i want to be shown on screen ( and of those regions, which was covered by the primitive and now arent covered anymore and vice versa).
-
Let's start a bit easier.
I chose to display a non moving open-gl primitive like a poly inside a window.
I tried svereral clipping methods to clip the window region around the primitive but it does not seem to work.
(I must admit, my transformation from WinApi coordinates to open-GL coordinates was not the best) but even the nearly right coordinate-values did not seem to work.
-
-
Further idea would be to do the same with a moving poly.
What should i concentrate on to make this possible?
THX
I asked myself, if it is possible to create a scene without a window.
Using simple Win32Api.
Of course i would have to set and update the clipping area with every move of the primitive i want to be shown on screen ( and of those regions, which was covered by the primitive and now arent covered anymore and vice versa).
-
Let's start a bit easier.
I chose to display a non moving open-gl primitive like a poly inside a window.
I tried svereral clipping methods to clip the window region around the primitive but it does not seem to work.
(I must admit, my transformation from WinApi coordinates to open-GL coordinates was not the best) but even the nearly right coordinate-values did not seem to work.
-
-
Further idea would be to do the same with a moving poly.
What should i concentrate on to make this possible?
THX