SPLINE_FOG in perfly !!!!

New Message Reply Date view Thread view Subject view Author view

ram munjulur (ram++at++ivex3d.com)
Thu, 26 Sep 1996 12:10:29 -0400


Hi Performers !!!

We upgraded our RE2 to an iR and also Perf 2.0 to 2.1, recently.
We have OpenGL libs only, on the iR.

I recompiled the perfly demo code and tried setting fog type to
SPLINE fog (Pixel). I see the option in perfly. And when I was playing with
the near/Far planes, for a fixed pair of Nr/Far planes of the fog,

BOTH LINEAR fog and SPLINE fog appear to be the same. I don't know if this
should be the case.

Next I tried searching for the "pfFogRamp" function which loads the
Range and Density arrays for SPLINE_FOG, but couldn't find any such
function in the perfly code.

I understand that, the SPLINE fog option shows up becasue, it is set
when the "pfQueryFeature" function is set to true, because its an iR with
OpenGL. But then I expected it to initialize the Ramp from the arrays.

      doesn't SPLINE_FOG load any arrays into the FogRamp ?
      How do I know the what appears to be SPLINE_FOG is different from LINEAR_FOG ?
      has anybody used SPLINE_FOG with OpenGL on an iR and could makeout the
      difference ?

Thanks in advance

Rambabu
Software Engineer

ram++at++ivex3d.com
IVEX Corporation

=======================================================================
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:53:38 PDT

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