Re: Bug with .star format on Octane?

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++sgi.com)
Fri, 11 Dec 1998 01:48:09 -0800


Simon

I haven't checked what perfly does with lightpoints by default but this
could be related to the relnote'd comment:

o pguide/libpf/C/lpstate: The lpstate.c example for
            demonstrating pfLPointStates uses sophisticated
            texturing capabilities that may not yet work on the
            IMPACT, Extreme, or Indy graphics platforms.

Try that sample and see if it looks like a similar effect, if so try
uncommenting #define USE_TEXTURE_MAPPING_FOR_DIRECTIONALITY ( it's
commented out by default )

If you look at the comments in the code, that #define controls the
mechanism used to attenuate the light points, in summary ( from the code
) the choices are:

#define USE_TEXTURE_MAPPING_FOR_DIRECTIONALITY
#ifdef USE_TEXTURE_MAPPING_FOR_DIRECTIONALITY
    /*
     * Use texture mapping for directionality. CPU computes size
     * and range and fog attenuation
    */
...
#else
    /*
     * Use texture mapping for range and fog attenuation. CPU
     * computes size and directionality.
    */

If that works OK then in perfly I think you might need to add your own
pfLPState to have the same settings.

Cheers
Rob

Simon Mills wrote:
>
> Hi Performers,
>
> I have a problem with "stars" on the Octane, they are showing through
> all my other geometry and seem not to be Z-buffered. Also some seem to
> be black rather than white. I'm using the standard
> /usr/share/Performer/data/3010.star geometry file which is loaded with
> the .star file loader. This in turn creates the stars as pfLightPoints.
> This only happens on Octane, not Onyx etc. Is this a bug? Any idea how
> to fix this (I tried the patches below to no effect)?
>
> I'm using Performer 2.2.2 (2.2 + patch 3229), patches 2843 (Impact
> graphics fix), IRIX 6.4.
>
> Thanks for and help, Simon
> ________________________________________________________________________
>
> Simon C. Mills
> Modelling & Simulation Section (TOS-EMM) Tel: +31 (0)71 565 3725
> European Space Agency (ESA/ESTEC) Fax: +31 (0)71 565 5419
> Postbus 299, 2200AG Noordwijk e-mail: simon++at++wgs.estec.esa.nl
> The Netherlands http://www.estec.esa.nl/wmwww/EMM
> ________________________________________________________________________
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
________________________________________________________________
Rob Jenkins	Silicon Graphics 	mailto:robj++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Dec 11 1998 - 02:03:07 PST

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