Re: [info-performer] Light Point

Date view Thread view Subject view Author view

From: Myriam Lajon (myriam.lajon++at++oktal.fr)
Date: 08/05/2005 06:59:13


thanks for your answer but It doesn't change anything.

I think my light point is well defined because it has been constructed by
the openFlight loader.
If I have a look to the pfNode stemming from
 pfdLoadFile(myFile), everything you told me to be set is done.

I think my problem comes from order or definition of rendering.

----- Original Message -----
From: "Qazi, Salman" <Salman.Qazi++at++drdc-rddc.gc.ca>
To: <myriam.lajon++at++oktal.fr>
Cc: <info-performer++at++sgi.com>
Sent: Friday, August 05, 2005 2:54 PM
Subject: Re: [info-performer] Light Point

> Myrium,
>
> For fog punch through, you need to use PFLPS_FOG_SCALE values that are
> between 0 and 1. If fog scale is set to value c, then
> this means that the point is fogged as if it is (c * distance) away from
> viewer. This means that smaller values give a clearer view
> of the light point.
>
> You should also make sure to set
>
> pfLPStateMode(lp, PFLPS_FOG_MODE, PFLPS_FOG_MODE_ON );
>
> or
>
> pfLPStateMode(lp, PFLPS_FOG_MODE, PFLPS_FOG_MODE_ALPHA );
>
> In the second case, there should be a per vertex PFGS_COLOR4 binding in
the
> geoset with each point having
> a unique color.
>
> I am not sure about the light point callback function. I Hope this helps,
>
> Salman.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Aug 05 2005 - 06:56:50 PDT