On Monday 03 July 2006 09:08, Melchior FRANZ wrote: > OK, but how should I go on with the broken F16 tape?! Mathias will probably > change that anyway, so is it worth spending time to fix it now? > > To make that clear: I very much agree with Mathias plans, at least so > far as I know them. Putting the HUD elements into the scenegraph is > certainly a good thing. But I don't know how HUD items shall be drawn > after that. Not directly with gl* drawing commands, but how else? By > moving textures around? This will never allow the flexibility that we > currently have. Or by just using line drawing wrappers that can easily > be switched from plib to osg or anything else, but basically do the > same that they did before? In the latter case fixing the tape would be > worthwhile, in the former not. I am not sure about that. That depends on what they really do. And I doubt that I will be really sure about that without a cleaned up codebase.
The velocity vector for example is something that can easily go directly into a leaf node that is just transformed by some properties that may not yet exist. Some text elements that can be reused for several things can be implemented with some leaf nodes. Some ladders can be implemented with a fixed part and a movable arrow part. A scenegraph can be looked at in an other way to factor out some commonly used elements. As a first step to factor out something I tend to clean up things. That is at least my way of doing this. Anyway, the more parts we can sensilbly factor out into small modular chunks, the fewer parts must be reimplemented when we put an other scenegraph below that code. Greetings Mathias -- Mathias Fröhlich, email: [EMAIL PROTECTED] Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel