flightgear-users  

[Flightgear-users] Re: Modeling question - cockpit lighting

Melchior FRANZ
Tue, 20 Dec 2005 00:39:09 -0800

* Melchior FRANZ -- Tuesday 20 December 2005 09:13:
> * Josh Babcock -- Tuesday 20 December 2005 02:44:
> > Also, does anyone have any sort of tool that would dump the structure of
> > a branch of the scenegraph?
> 
> I have:   _branch->print()

I should add that this takes three optional args. Verbose example:

  _branch->print(stderr, "\t", 4);

4 is very verbose (each vertex, uv coord, etc. is output). Default
is 3. You just need to find a place to put this. You could write
_branch->getParent(0)->print() in one of the animations. Or in the
aircraft model loader. 

m.

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