[info-performer] Re: Re: Headlight Issues

New Message Reply Date view Thread view Subject view Author view

From: btang (t_bbing++at++sina.com)
Date: 06/12/2002 07:23:14


Hi,

        Thanks for Steven's helpful replies.

        I aslo found that there are some bugs with the flight loader in perfomer 2.5: the lightsource I created in MutiGen couldn't be loaded in. I could make my headlight work in a silly way by creating two database, one for daytime and the other for night. But there is a problem that the lamps out of the frustum look faint. If the headlight only affect portions of the scene(the rails, the walls...), it would be great!

        Best Regards!
        
         btang.

         

>Hi,
>
> Our worst problems with the headlights happened in tunnels!
>
> We found that there are some bugs with the flight loader in Performer
>2.5 that caused rendering state issues. By moving the tunnel to be
>the very first object in the group "color" bugs can be eliminated in
>some cases. It all depends on the geoset draw order.
>
> So, our workaround was to have two versions of each tunnel.
>One with the headlight on and one with the headlight off. I would
>put them under a pfSwitch and choose the representation based on
>the time of day (and if the headlights were on or off).
>
> Be careful with vertex shading, it causes projected texture (headlights)
>not to work very well at all.
>
> We also found that headlights worked best when the underlying polygons
>were white and all color came from the texture (not the material).
>
> HTH,
>
>--- btang <t_bbing++at++sina.com> wrote:
>> Hi,
>>
>> I encounter the similar problem When designing my subway simulator. In a
>> tunnel scene there are the lamps on the wall. The headlight would affect the
>> lamps and sometimes makes them dark. So I don't want the headlight affect the
>> lamps. But I have trouble setting the it. Could you give me some suggestions?
>> And is there any other way to solve this problem?
>>               
>> btang
>>               
>> t_bbing++at++sina.com
>>                   2002-06-07
>>
>
>
>=====
>--
>Steven Fuhrman
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com

= = = = = = = = = = = = = = = = = = = =

               
                                 
              btang


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 12 2002 - 07:26:46 PDT

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