Outerra forum

Anteworld - Outerra Game => Modding: Importer, Tools & Utilities => Topic started by: cshiel on March 04, 2014, 06:12:48 am

Title: How to correct orientation + scale after import?
Post by: cshiel on March 04, 2014, 06:12:48 am
I import a model but the scale and orientation is wrong, how do I change it in Outerra?
Title: Re: How to correct orientation + scale after import?
Post by: PytonPago on March 04, 2014, 06:25:03 am
I import a model but the scale and orientation is wrong, how do I change it in Outerra?

Y-axe is heading front and Z is heading up. You have to check the model, if its in these directions right-set. Also, if you work whyte Blender, the workspace-grid is consistent whyte 1 meter. (... but here is a way to scale it in importer too)
Title: Re: How to correct orientation + scale after import?
Post by: zzz on March 04, 2014, 06:59:03 am
You can (temporarily) change orientation using the I, J and K keys. Click the Help button on the Objects menu for details.

To permanantly change it you must change the mesh in an editor and then re-import the model. 3ds Max has arrows on all its viewports stating what direction the object is facing and allows you to set the units mof measurement.
Title: Re: How to correct orientation + scale after import?
Post by: cshiel on March 04, 2014, 07:17:59 am
Is there an example dae file to see how its setup properly?
Title: Re: How to correct orientation + scale after import?
Post by: M7 on March 04, 2014, 11:45:24 am
Which 3d program do you use?
Title: Re: How to correct orientation + scale after import?
Post by: PytonPago on March 04, 2014, 12:01:08 pm
Is there an example dae file to see how its setup properly?

M7 wanted some stuff from me a while ago ... you can check the files here (dont worry, my stuff is freeware you can play whyte it as much as you like - also outdated a bit already) - hope it helps in all things you seek.

https://docs.google.com/file/d/0B3ZscF0ox2AGT1c2dktwUUxDNlk/edit (https://docs.google.com/file/d/0B3ZscF0ox2AGT1c2dktwUUxDNlk/edit)
Title: Re: How to correct orientation + scale after import?
Post by: cshiel on March 04, 2014, 12:08:31 pm
I can import and all that but there's a load of (perhaps meaningless) errors/warnings.

I modify the scale in the DAE, but changing the up_axis to Z or X doesn't fix the orientation.

And so, as suggested I just change the orientation within Outerra instead. 
Title: Re: How to correct orientation + scale after import?
Post by: PytonPago on March 04, 2014, 01:16:07 pm
I can import and all that but there's a load of (perhaps meaningless) errors/warnings.
... just UVs in other location - dont have to mind that (you can add them to the .mtb file manually anyway).

I modify the scale in the DAE, but changing the up_axis to Z or X doesn't fix the orientation.

And so, as suggested I just change the orientation within Outerra instead.

... might be something going on whyte the main mesh pivot point not being right or exported to collada properly. You mind posting a snapshot from engine placement and the 3D software of the model you using ? (whyte the main mesh selected and coordinate axes visible - dont have to if its some secret doe or send it just in PM)