Re: Fog help

New Message Reply Date view Thread view Subject view Author view

support (support++at++ivex3d.com)
Thu, 19 Sep 1996 15:21:51 -0400


>
> ----------
> From: dpugmire++at++facility.cs.utah.edu[SMTP:dpugmire++at++facility.cs.utah.edu]
> Sent: Thursday, September 19, 1996 11:41 AM
> To: info-performer++at++sgi.com
> Subject: Fog help
>
> hi,
>
> I've noticed from tweaking the cliping planes, and near/far fog
> parameters, that getting fog right takes some practice. Does
> anyone out there have an algorithm they would be willing to share
> that sets all the parameters ? I would like to give as input just
> the visibility, if that is possible.
>
> thanks,
>
> dp.
>
> dpugmire++at++cs.utah.edu
>

Hi !!!!

>From what I understood is that you wanted to set the fog parameters
at run-time. You could read in fog-parameters at run-time and
most importantly apply the parameters during the Draw Process.

You need to assign the parameters to the fog and the apply the fog
: pfApplyFog(pfFog *). in your draw process.

Hope this helps

Rambabu
Software Engineer
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:35 PDT

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