Acosta, Mark W (acostmw++at++texaco.com)
Wed, 27 Jan 1999 13:23:30 -0600
Mark Acosta
Texaco
-----Original Message-----
From: yair++at++polygon.engr.sgi.com [SMTP:yair++at++polygon.engr.sgi.com]
Sent: Tuesday, January 26, 1999 7:16 PM
To: acostmw++at++exchange.texaco.com)
Cc: info-performer++at++polygon.engr.sgi.com
Subject: Re: Performer 2.2.3 on textures
Hi Mark !
> I'm also having problems with 2.2.3. I have a geoset with a list
of fluxed
> points (PFGS_POINTS) that won't render at all with 2.2.3. It fails
on Onyx2,
> Octane, and O2 systems in both n32 and 64 bit mode. Works fine
with previous
> versions of Performer.
You hit on a bug with point primitives. This bug has nothing to do
with the
Flux-ing of GeoSet attributes. Following is the complete bug
description and
a work-around:
This bug exists in 2.2.3 and has already been fixed in 2.2.4.
Conditions for the bug:
1. A pfGeoSet with primitive type PFGS_POINTS.
2. No attribute PFSTATE_LPOINTSTATE (light-point state) on the
attached
GeoState.
Bug behavior:
On non-O2 machines, the points will not show up.
On O2, the program will crash.
The Work-around:
1. Create an empty light-point state:
pfLPointState *lps = new pfLPointState;
2. Attach it to your pfGeoState (that you use on the POINT
pfGeoSet):
geoState->setAttr (PFSTATE_LPOINTSTATE, lps);
I modified your sample program to include this workaround and it now
runs well on O2 and other machines (Program follows)
-yair
This archive was generated by hypermail 2.0b2 on Wed Jan 27 1999 - 11:25:09 PST