Curtis L. Olson wrote:
Matevz Jekovec writes:
  
Has anyone already tried to make the inside canopy reflections in the 
cockpit? I had in mind an effect similar to Falcon 4 - an image with a 
reserved colour or an alpha channel for transperency as a texture for 
the glass, when looking from inside. This should also include proper 
light effects at night etc.

A nice screenshot can be seen here:
http://www.f4community.com/images/images/screen/ea66c37e88384cad160ef79d39a62205.jpg
    

Something like that could be be done as part of the 3d model with a
bit of effort.  If you wanted to reflection to be "live" and reflect
the changing state of the 3d cockpit objects (instruments, control
stick, etc.) then that would probably take some more "doing". :-)
  
Well, I haven't looked to cockpit xml structure and code yet, but I think for 2d cockpit, there shouldn't be much of the trouble: most of the buttons which reflect to canopy are on the edge of the cockpit panel, so what you should do is to make a bitmap large enough to contain the glass part of the canopy in it as well (change the colour when button lights). But for the 3d cockpit it's the whole other story. Is there a way to add another light to the cockpit when a button is pressed (that way, the inner cockpit will be iluminated in the button colour). But for the glass, I really don't know how to add a reflection (switching the whole canopy texture is too big).


- Matevz
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to