Buchanan, Stuart wrote:

Hi All,

I've been trying to change the panel on the civilian (non-u3a) C310 model.
However, I keep hitting a problem where the bulkhead behind the panel
(part of the .ac file) is being rendered on-top of the panel, even if the
panel is placed right up at the view-point. I think this is the reason why
the c310-dpm-3d aircraft doesn't seem to have any instrumentation.

Strangely, I can see the panel "through" the yoke and pedals of the model,
but I think that may be due to a texture problem.

Does anyone have a pointer as to what is going on? I was hoping to get a
decent 3-D panel for the 310, but this has me stumped.

If it is any help, the "bulkhead" seems to be part of the cabin object, so
I wonder if FG is rendering it last because part of it is closer to the
viewpoint ?

Regards,

-Stuart
I think you are talking about a 2.5D panel. You have a draw order problem between your transparent part, the non transparent ones and the panel. Usually planes using a 2.5D panel are using a texture with an alpha channel to fool ssg so that all the plane is drawn after the panel. Or check the c150 if you don't want to use an alpha channel. I used depth-test = true in the <panel> tag
and an animation to change the rendering order of the panel.

Harald.


_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to