Re: No Lights in Statistics ( ? pfBug )

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 11/14/2001 19:01:50


It looks like you have found a bug. Looking at the code, there will be one
extra pfLight for each pfLightSource, so the stats are wrong. The code is
a little funny, in that the light will have a different GL_LIGHT id each
frame, but it's still just one light.

-- Marcin

On Wed, 14 Nov 2001, Devrim Erdem wrote:

> Hi,
>
> I noticed that when a pfLightSource ( in projtex mode ) is added to my
> scene, the number of light reported in the stats increase to 17 ( 9
> infinite and 0 local ) from 2. I find this suprising since PF_MAX_LIGHTS
> is 8.
>
> My application has two channels and 2 lights sources along with the
> pfLightSource which is in projtex mode. I made sure that I am not adding
> the lightsource in the several times and the scenegraph contains only
> one pfLightSource ( in projtex mode ) and 2 normal lights.
>
> Could you please shed some light (not too much) on the problem ?
>
> Thanks.
>
> Devrim.
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/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 2b29 : Wed Nov 14 2001 - 19:01:56 PST

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