On 31. Jan 2008, at 4:16, Gordon_Erlebacher wrote: > Hi, > > I do not understand the viewport command. > > I am working with FBOs of size 512 x 512. When displaying the image, > I use glOrtho. If my viewport is square, using something like: > > viewport [ 0 0 128 128 ] or any other dimension [ 0 0 x x], > everything > is fine. If I use viewport [ 0 0 128 256 ], the image does not fill > the viewport. This viewport command is in the window section of the > configuration file. I would have assumed automatic scaling.
This then defines the window size and position. If you don't define a channel viewport, it will fill this entire window. Nothing is being scaled. I'm not sure what you expect viewport is doing, but it really just defines the 2D area covered by the window or channel. How this is used for rendering is defined by the compound's wall description. Cheers, Stefan. _______________________________________________ eq-dev mailing list [email protected] https://in-zueri.ch/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

