Re: [Flightgear-devel] Panel Lighting for 3d instruments.

2004-12-30 Thread Erik Hofman
Dave Martin wrote:
As the title says; is there any hope for this.
I'm working on some fairly detailed instruments which could work nicely with 
the light-aircraft in FG but I was wondering if there is any means for a 
'nice' switchable illumination of the faces.

Can the emmissive properties of a texture be changed 'on the fly'?
Has anyone got any thoughts on how this can be done as things stand - rather 
than just setting the textures to default to high emmissive values (which 
precludes 'dark panel' with an electrical failure.
It is possible to change the transparency on the fly, so I bet it would 
be possible (after some code changes) to change the emmissive color also.

Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Panel Lighting for 3d instruments.

2004-12-30 Thread Dave Martin
On Thursday 30 Dec 2004 10:34, Erik Hofman wrote:
 Dave Martin wrote:
  As the title says; is there any hope for this.
 
  I'm working on some fairly detailed instruments which could work nicely
  with the light-aircraft in FG but I was wondering if there is any means
  for a 'nice' switchable illumination of the faces.
 
  Can the emmissive properties of a texture be changed 'on the fly'?
 
  Has anyone got any thoughts on how this can be done as things stand -
  rather than just setting the textures to default to high emmissive values
  (which precludes 'dark panel' with an electrical failure.

 It is possible to change the transparency on the fly, so I bet it would
 be possible (after some code changes) to change the emmissive color also.

 Erik

That would be a brilliant solution because then you could just add some 
emmisive white and red and 'bingo' you've switched the panel lights on :-)

The other ways I've looked at are using extra polys + textures to switch 
between emmissive levels but the polycounts get nightmareish (My instruments 
are already quite poly heavy but they do look nice ;) )

(says prayers for an understanding developer ;-) )

Dave Martin

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Panel Lighting for 3d instruments.

2004-12-30 Thread Curtis L. Olson
Jim Wilson wrote:
One question for others:  do we have a property path for light switches (or
other types of switches)?  If not, maybe this is a good time to establish a 
convention.
 

The default C172 electrical system is pretty extensive and has all these 
sorts of switches layed out.  You just need to connect a panel click (or 
real hardware) and it should all work.  We even have the circuit 
breakers modeled properly for the C172.  There are some limitations to 
the electrical system in terms of modeling current draw (which is 
fixable), but it's quite flexible for laying out a variety of power 
sources, buses, switches, circuit breakers, etc.  You can layout an 
electrical system so all the right bits go dark when a particular switch 
is flipped, or circuit breaker trips.

Regards,
Curt.
--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d