copy z-buffer with scaling on iR

New Message Reply Date view Thread view Subject view Author view

Hansong Zhang (zhangh++at++cs.unc.edu)
Mon, 20 Oct 1997 11:19:38 -0400 (EDT)


Hello everyone,

I have a problem copying the Z-buffer (framebuffer to framebuffer)
with a zoom factor. I was to copy a 512x512 area to 256x256, with a
zoom factor of 0.5. My code works on Max Impacts but not on iR, where
the destination 256x256 area is empty after the copy.

Interestingly, with minor change to the code (GL_DEPTH -> GL_RGBA), I was
able to zoom-copy the color channels on iR with no problem.

My question is: has anybody had the problem before? Is this a known bug
and if so what's the way around it.

Thanks,

Hansong

-------------------------------------------------------------
Hansong Zhang \ zhangh++at++cs.unc.edu
Walkthrough Group \ http://www.cs.unc.edu/~zhangh
Department of Computer Science \ (919)962-1835 (O)
UNC-Chapel Hill \ (919)914-3973 (H)
-------------------------------------------------------------

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:06 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.