Re: SPLINE_FOG in perfly !!!!
Sharon Clay (src++at++rose.asd.sgi.com)
Thu, 26 Sep 1996 10:11:56 -0700
+>---- On Sep 26, 12:10pm, ram munjulur wrote:
> Subject: SPLINE_FOG in perfly !!!!
->
->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
>From the pfFog man page:
The default fog ramp table
defines a linear interpolation between the onset and opaque ranges.
Perfly is just using the default ramp.
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
http://www.sgi.com/Technology/Performer/
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:53:38 PDT