pfLPointState -- again.

New Message Reply Date view Thread view Subject view Author view

markc++at++io.com
Tue, 26 May 1998 15:48:17 -0500 (CDT)


Hello,

  I am still working out exactly what is going on with my light points, I
am still having troubles adjusting the PFLPS_INTENSITY of just one set of
lights. Every runway has its lights in a geoset, with its own geostate,
and lpstate. When I adjust the intensity of one, the others also are
modified. This what I can say for certain is as follows:

  1.) In the loader, I printf the addresses of the geoset,geostate, and
lpointstate. After attaching the geoset and geostate to the geode, I get
the addresses back from the geode, with pfGetGSet, pfGetGSetGState, and
pfGetGStateAttr(gs,PFSTATE_ENLIGHTPOINTSTATE). They match the locals,
and are unique to each runway.

  2.) Back in the APP I use pfdStoreFile, and write a ".out" ascii
version of my scene, the geoset and geostate addresses match my printf's
from the loader. But the lpointstates do not! The ascii dump shows, that
the first lpstate is set correctly, but all geostates after this show the
lpointstate address as that of the first one created, not inherited.

  Is there some state optimization causing this ? Really irritating,
maybe its time for a problem report... sigh...

thanks

markc++at++io.com
markc++at++wesson.com

=======================================================================
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:57:26 PDT

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