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.

Furthermore, if I use viewport [ 0 0 .25 .25 ], the image still does not
fill the entire viewport.

How do viewports really work?

 Thanks,

   Gordon

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

begin:vcard
fn:Gordon Erlebacher
n:Erlebacher;Gordon
email;internet:[EMAIL PROTECTED]
tel;work:(850) 644-0186
tel;fax:(850) 644-0098
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
eq-dev mailing list
[email protected]
https://in-zueri.ch/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to