Josh Babcock <[EMAIL PROTECTED]> said: > Well, I already changed the slop constatnt in my plib librarys to a much > smaller number, but for this application, I need something that will > work right with a clean flightgear install. > > Josh
We might be able to get something into the next release plib to allow setting the slop constant. Steve mentioned it a couple months back when the current setting in plib cvs was reduced to 1.0mm (it was 1.0cm!). It just needs to someone to write a function for it. Then we could add a property driven setting to simgear and end up with something that could work on a clean flightgear install. For Andy's patch to be added I think it will require some slight reorganization of the ac3d loader/optimizer code. Basically the optimization routines (including Andy's version) need to be exposed to an external API so that SimGear and other plib users can select which to use. Maybe the current AC3D loader wrapper that calls the current optimizer should be left alone. Note, I'm suggesting adding Andy's work to plib as an alternative optimizer function, not a replacement for the current code. It is possible that there are some apps out there that use a lowres sphere or some similar thing that would render poorly with Andy's optimizer. Simgear (and other apps) could have there own routine that calls plibs' raw AC3D loader and plibs' new optimizer (aka Andy's version) individually. That reminds me, another requirement for adding Andy's patch to plib would probably be a function to set the crease angle which is currently hardcoded. Or maybe it could be a parameter in the external interface for the optimizer? Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
