From: Myriam Lajon (myriam.lajon++at++oktal.fr)
Date: 08/04/2005 02:40:38
I use Performer 3.2 on windows 2000/XP.
I want that my application has the same behavior that Perfly when rendering
light point with fog. My light point is defined in a flt file.
In Perfly application, lights points appears as if they were closer than
they really are, but in my application they disappear with the fog, when I
decrease the far fog distance.
If I modify the value of the function
pfLPStateVal((pfLPointState*)point, PFLPS_FOG_SCALE, 0.25f);
with pfLPStateVal((pfLPointState*)point, PFLPS_FOG_SCALE, 100.0f);
My light point disappear earlier.
The lpoint process callback is not called :
- I Set the callback routines for the pfChannel
pfChanTravFunc(channel PFTRAV_LPOINT, pointFunc);
- My callback is
void pointFunc(pfChannel *chan, void *data)
{
pfLPoint();
}
I think I miss a connection or I my rendering is not in the right order...
thanks for help,
M.L
This archive was generated by hypermail 2b29 : Thu Aug 04 2005 - 02:37:12 PDT