Hi Abdalla,

abdalla ramadan wrote:
> Hello Carsten,
> 
> Thanks very much for your reply, my resolution is 1440x900 here's a 
> rendering at that resolution(1440x900). i think there's still black 
> areas above and to the right. Is there a workaround.

You can only open 900 pixel vertical, so a 1000x1000 will have black borders. 
It 
doesn't really matter what you put into the glutInitWindow, the actual window 
size is determined by the window manager, which limits it to the resolution opf 
your screen (minus decoration).

If you only need  a few more pixels you can just temporarily switch to a higher 
resolution. If you need  a lot more you would have to open an FBO Window that 
is 
not tied to the visible screen, or, or for very large resolutions, go for a 
tiled rendering and compositing. Both of those are a little more complicated, 
though.

Hope it helps

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to