re: [Flightgear-devel] Model allignment

2002-11-16 Thread David Megginson
Jim Wilson writes:

  Here's a patch to fix the offsets bug.  The problem was the
  transform was just getting added to a local instance rather than
  being returned by the function.

This is now in the CVS -- thanks.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

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



Re: [Flightgear-devel] Model allignment

2002-11-13 Thread Michael Selig
At 11/14/02, Jim Wilson wrote:

Anyone else noticing that the model alignment offsets aren't working?


If you are talking about the file that moves the model wrt the reference 
point in the mdl file, it does not work for me.  For example, the values 
in this file don't move the model.

~/fgfsbase/Aircraft/sopwithCamel/Models/uiuc/sopwithCamel/sopwithCamel-model.xml 

?xml version=1.0?
PropertyList
 pathcambelg.mdl/path
 offsets
  z-m2/z-m
  x-m-.6/x-m
  pitch-deg0/pitch-deg
 /offsets
/PropertyList

According to this doc:
http://www.flightgear.org/Docs/fgfs-model-howto.html
the xml tags should be like

  z-offset-m2/z-offset-m

But I recall vividly that z-m2/z-m did work at one point.  I also 
recall a lot of email gyrations on this particular tag (offset 
stuff).  Maybe the dust has settled, but I have not yet found the key.

Do other people use this anymore?  Can anyone shed light on this?  I could 
sure use it!  Several MSFS models do not put the model reference point at 
the cg, so those need offsets to proper display them in external view.

Regards,
Michael

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




**
 Prof. Michael S. Selig
 Dept. of Aero/Astro Engineering
 University of Illinois at Urbana-Champaign
 306 Talbot Laboratory
 104 South Wright Street
 Urbana, IL 61801-2935
 (217) 244-5757 (o), (509) 691-1373 (fax)
 mailto:m-selig;uiuc.edu
 http://www.uiuc.edu/ph/www/m-selig
 http://www.uiuc.edu/ph/www/m-selig/faq.html (FAQ)
**


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