Le lundi 09 mai 2005 Ã 14:25 +0200, Sam Heyman a Ãcrit :
> Yes, that is what I tried: importing the wrl file. But in vain. The
> file version is VRML V2.0 utf8 and is not recognised by AC3D.
> 
> So one of the guys in the team has created a new model from scratch,
> using 3dstudio and we now have 2 versions:
> - high quality model (~ 5000 polygons) saved as .3ds
> - low quality model (~  640 polygons) also saved as .3ds
> 
> I have imported both into AC3D and saved them as .ac (I think
> flightgear prefers that format) and it works!!!
> HOWEVER.... I am now faced with a new problem....
> 
> --> How do you center the model on the flight dynamics coordinates?
> The model is offset by quite a bit and I have tried editing the xml
> file but with no success:
> 
> <offsets>
>   <heading-offset-deg>180</heading-offset-deg>
>   <x-offset-m>+30</x-offset-m>
>   <y-offset-m>+0</y-offset-m>
>   <z-offset-m>+1.5</z-offset-m>
>  </offsets>
> 
> Does this script go in the aircraft-set.xml or the model.xml file?
> Thanks for your help!
> 
> 
Because you are using ac3d, you could make your model in order to be in
good place.

Just you have to keep in mind that the model must be in AC3D (because of
coordinate x,y,z difference):

view FRONT view xy  -->  model side view
view SIDE  view zy  -->  model front view
view PLAN view  xz  -->  model plan  view


In order to get this, you must use the following:

select All 
on the left tool box ROTATE after choosing the AXIS and DEGREE

You could use if necessary the SCALE fonction.

You place the model with the nose on the right side of the axis, which
will become positive values for FG, and JSBsim. (don't forget that
JSBsim gives values in inches)

In AC3D you can read the size in metrics values.

After you can adjust in model.xml file 


-- 
Gerard


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

Reply via email to