Re: Problem with light points

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Wed, 28 May 1997 10:28:07 -0700


On May 23, 11:13am, Steve Elkins wrote:
> I'm in the process of porting our Performer 1.2 based simulation to
> Performer 2.1. I had no problems with the display of light points using
> Performer 1.2 but with Performer 2.1 the light points don't show up.

Starting with Performer 2.0, the OpenFlight loader uses pfLPointState's. The
visual effects may well be different for directional lightpoints.

To change the lpstate values you'll have to traverse the scene graph, looking
for geostates with lpstates ... or fetch the loader's palette and traverse its
geostate table (render map).

> Any ideas as to why I can't see the light points?

I suggest turning off the loader mode PFFLT_LPSTATE_TEX since the lpstate
texture modes have always been troublesome.

Also, with antialiasing enabled, the point size is always smaller, perhaps too
much so. The lpstates created by the old loader assign default values (see the
man page).

> Any clues to the system locking up?

Nope. You probably need some iR patches to fix that.

Regards.

--
+ Marcus Barnes, Technical Staff        mailto:marcus++at++multigen.com +
+ Multigen Inc.                         http://www.multigen.com    +
+ 550 S. Winchester Blvd.               phoneto:1-408-556-2654     +
+ Suite 500 San Jose CA 95128           faxto:1-408-261-4102       +
=======================================================================
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:55:19 PDT

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