Re: Brake light in performer?

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++bvr.co.il)
Sun, 11 Feb 1996 16:27:26 +0000


> We are implementing a driving simulator using
> Performer 1.2 and a RE. We would like to create
> a switchable brake light and have noticed the
> traffic lights in the town.flt file. The basic
> paradigm is that you are following a car, the
> car's brake lights come on, you hit your brake
> pedal. We want to able to control the on/off
> timing of the lights through software. What
> would be the best way to accomplish this?

You can put the small plastic thing which is the light under a pfSwitch. It
will have two nodes - one of them has a non-emmitive material, and the other
has an emmitive material. Then you use pfSwitchVal() to switch between the two.
If you want to create some light effect on the surfaces around the brake light
- you can turn a local light source on, when the brake is on. This local light
source is located in the position of the brake light.

Ran

-- 
 __                                  | Ran Yakir
 /_)  _  __   \  / _   / o __        | Graphics App. Chief Engineer
/ )_ (_(_) )   \/ (_(_/<_(_)(        | BVR Technologies Ltd.
              _/                     |   
-------------------------------------+--------------------------------
Phone :                              | E-mail : rany++at++bvr.co.il
  Work : 972-3-5715671               |
  Res. : 972-9-989974                |
Fax    : 972-3-5715668               |

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:52:23 PDT

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