Board index FlightGear Development Aircraft

Blender ac3d export axis confusion  Topic is solved

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Blender ac3d export axis confusion  

Postby rebootl » Wed Jun 12, 2019 9:55 pm

Hello

Sorry if this has been asked before but I couldn't find anything.

I'm very very confused by the axis conversion provided by the export plugin "Majic79 addon" (http://wiki.flightgear.org/Blender_AC3D_import_and_export#Majic79_addon)

And I have a very simple question. :D When I simply orient my model in blender to the FG CSYS. What do I have to select in the export options to get the export "right" for FlightGear?

Which would be -X axis along the plane and Z up as defined by: http://wiki.flightgear.org/Howto:3D_Aircraft_Models

Using the logical settings for the plugin Forward -X and Up Z doesn't result in the right orientation. I went so far as to comment this freaking matrix out in the python code and got it right at some point... but this can't be it.

This _has_ to be documented somewhere and I will put it in the wiki as soon as someone tells me the settings :cry:

Sorry for the rant, and thanks in advance.

Edit: Okay, I think i figured it out by trying/luck. It seems that Forward -Z and Y Up does the trick for a model oriented in the FG CSYS.
rebootl
 
Posts: 111
Joined: Tue May 03, 2011 3:55 pm
Location: Switzerland
OS: Arch Linux

Re: Blender ac3d export axis confusion

Postby WoodSTokk » Thu Jun 13, 2019 12:12 am

If i'm looking from top view, the aircraft point to left.
So in my case:
Back/Tail = +X
Front = -X
Right = +Y
Left = -Y
Top = +Z
Bottom = -Z

At exporting there are the settings:
Forward: -Z Forward
Up: Y Up

I have never changed this settings, so i think that default settings.
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: Blender ac3d export axis confusion

Postby Necolatis » Thu Jun 13, 2019 12:33 am

Yes, the default settings will make the axises similar to FG.
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2233
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

Re: Blender ac3d export axis confusion

Postby rebootl » Fri Jun 14, 2019 4:26 pm

Aah, yeah. That explains why it worked the first time. :D
Then i must have changed the settings for some reason...

I think i'm still gonna add a note to the wiki.
Thx <3
rebootl
 
Posts: 111
Joined: Tue May 03, 2011 3:55 pm
Location: Switzerland
OS: Arch Linux


Return to Aircraft

Who is online

Users browsing this forum: No registered users and 18 guests