x


OpenFlight Import

What is the best way to import OpenFlight models and terrain?
I do not want to export from Creator or Terra Vista to OBJ format because of its limitations.

more ▼

asked Jan 14 '10 at 10:40 AM

efge gravatar image

efge
5.1k 5 14 38

(comments are locked)
10|3000 characters needed characters left

4 answers: sort voted first

There is a solution:

The Collada export from Creator is available since version 4.0(?):
It converts all XRefs and transforms the geometry from world (Z-up) to screen coordinates (Y-up).

Since Unity does not support the SGI texture file format (.rgb, .rgba, .int, .inta) you have to convert your textures before the eport to a supported format (e.g. TIFF) and replace them in the texture palette.

Material generation does not work for the Collada files exported by Creator because of an old file format (COLLADA Schema 11/2005).


Workflow details:

Presagis Creator:

  • combine geometry with the same texture into one object (or more depending on size, rendering issues ...)
  • rename these objects
  • convert all textures to a supported format
  • use the same texture palette in all XRefs
  • reread all XRefs
  • export as Collada Document

Unity:

  • Import Settings: Materials Generation - OFF
  • Create new materials by hand for each texture
  • apply materials by hand or use Mass Set Materials

The Z-up to Y-up conversation results in a rotation of 270 around the x-Axis.

more ▼

answered Dec 21 '10 at 12:36 PM

efge gravatar image

efge
5.1k 5 14 38

(comments are locked)
10|3000 characters needed characters left

The OpenFlight format specs are publicly available, so you could write a parser in Unity that converts OpenFlight files to Unity models and terrains. Doing so will be highly non-trivial, however.

more ▼

answered Jan 15 '10 at 11:11 AM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

Peanuts :-)
So my toolchain will be: OpenFlight -> OBJ -> Cheetah3D (reassigning materials + transformations) -> Unity

Jan 15 '10 at 09:02 PM efge

If OpenFlight exports correctly to OBJ you don't need Cheetah at all.

Feb 26 '10 at 03:16 PM Motionreactor
(comments are locked)
10|3000 characters needed characters left

The Collada export from Creator is probably the best option if you have a copy of Creator. If not you could always try Okino's PolyTrans with the DCC pack. It will allow you to import from most 3D file formats and export to just about any other. It will also convert animations and most 2D texture formats as well. It is a windows only product but for most things it will work with parallels or fusion windows emulators if you are on a mac.

more ▼

answered Jul 02 '12 at 10:46 PM

Triangleman gravatar image

Triangleman
1

(comments are locked)
10|3000 characters needed characters left

unity supports many formats and you should export your model to one of those formats. FBX, OBJ, collada .dae and ... see the import section of manual

more ▼

answered Jan 14 '10 at 11:34 AM

Ashkan_gc gravatar image

Ashkan_gc
9.1k 33 56 117

Thank you for the quick answer. The question was intended to get information about how to prepare/export the OpenFlight data before entering Unity.
Wondering if any user has experiences with the same task.

Jan 14 '10 at 02:20 PM efge

I'm not familiar with OpenFlight, but if you do check out that link, and look at some of the other packages, it may give you an idea of what will or won't work. For instance - for Maya, Unity reads its Bone-based animations, but not blend-shapes.

May 21 '10 at 08:05 PM Cyclops
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1478
x973
x574

asked: Jan 14 '10 at 10:40 AM

Seen: 2757 times

Last Updated: Jul 02 '12 at 10:46 PM