• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

gMax fail.

Messages
829
Country
unitedstates
We all know that gMax is a very powerful application just like 3D studio. However, there is one thing that has driven everyone in the FS community to nightmares. Mirroring complex animations why? Well because of what Discreet intentionally did with gMax to get you to buy 3D studio.

Today at Kutstown University, I had the opportunity to sit down and mess around with their 3ds max 2012, I modeled a complex animation of parts and then used the mirror tool to mirror the other half, I then exported the mess as an .X file and after some browsing I quickly found an application to convert the .X file to something MakeMDL could understand well, the result was an object that had correct animations on boths sides and to m surprise, the object was not INSIDE OUT!! Like it happens with gmax...so I thought for a while...

Wow, did discreet intentinoally cause the mirror tool to do this? The mirror tool is a very powerful feature, after all, we all model half of an object and then mirror it but Discreet I believe, wanted to be evil...and I can sort of back this up.

If you mirror an object with the mirror tool, the object is mirrored along with its pivot. However, in FS this results in the object being insde out, not good. Your other option is to use the mirror modifier but see, this is were Discreet really get sneaky with us developers, they made it so that the mirror modifier only mirrors your object but doesn't mirror your objects pivot!!!!!!

In 3ds max 2012, the mirror modifier mirrors the pivot along with the object, it works exactly like the mirror tool.

MaxSCript coders could have fixed this issue by writing a script that functions like the mirror tool but no one to date has done any of this.

So no matter which way you try to mirror your animations, Discreet made sure that every attempt you made at doing it, fails. Don't forget about the random crashing. also a crash that always occurs when you try to rename a material, etc...gmax is all rigged up to blow up in your face and Discreet made it this way in hopes that you would buy their $$$$ application but it seems their marketing exploit failed and gmax wasn't very successfull ... it was CUT OFF real fast.
 
Several years ago I came up with a simple and effective way to handle the mirroring of animated objects in GMax. Have you tried this at all?

Mirroring Parts in Max/GMax Perfectly!

It's available also in PDF format here: http://www.aerodynamika.com/gallery/Mirroring_in_Max.pdf

BTW, with the "Mirror Tool" (Icon), the end result isn't actually inside out, it's because the normals have been exported with a negative vector summation. If you check the normals in GMax, they are facing the correct direction, but when exported the exporter sums them to be -1 instead of +1. That's why simply flipping the normals won't work, as they will still have summed vectors of -1. For that reason, I suspect that the real problem lies in the poorly coded export module that ACES provided, rather that any inherent defect in GMax itself.
 
Last edited:
There are an endless number of quirky things about Gmax. Over the years many have been figured out and workarounds found. Bill's method of mirroring works fine. Overall I am pretty happy to have something for free that let's me do this stuff, as there is no way I can justify spending a lot of money on 3dsMax. :)
 
yes n4gix I have that, I this was just some speculation I came up with. =P Your technique works but not always, perhaps not for objects who local pivot has been adjust one all 3 axis. I'm working on a little MaxScript for some experiments.
 
Last edited:
I do know the pivot issue you speak of. If you succeed in your script it will be very helpful!
 
...I modeled a complex animation of parts and then used the mirror tool to mirror the other half, I then exported the mess as an .X file and after some browsing I quickly found an application to convert the .X file to something MakeMDL could understand...

Forgive me for doubting, but this doesn't quite sound like a typical Max to .MDL export. Are you sure the .X file export + application you used is exactly equivalent to the ACES export module (although you'd need the P3D module with Max 2012)?

The main reason for gmax failing as a product imo was the price of Gmax Dev, which was used to build the developers' gamepacks for Gmax supplied with FS8, 9, X, CFS3 etc. That made 3ds Max look cheap.

BTW, there is a script which will mirror animations in 3ds Max 9. It's from Milviz and is unsupported, use at your own risk etc, but some devs have already reported good results. If this is needed in Max 9, I don't think your points about Gmax are completely valid.

Milviz mirror tool
 
Last edited:
Man, it would be nice if the exporter for Max 2012 is real and goes into FS without issues.


I hear one is out for PrePar3D.
 
Wouldnt it be cool if when we purchased Max 2012, that it came with all the exports we needed for FS9 and FSX. Automatically does all that we needed.....


oh to dream....
 
Oh Im making lots of progress with this, I'm working on a maxscript that takes the transformation matrix of a mirrored object and assigns it to one that is not mirror, so far, I've got it to work...this is the run down.

1. I mirrored my entire gear system to other side.
2. I chose a part in my NOT MIRRORED left gear and cloned it and ran my script which does the following...

* assigns the transformation matrix of the mirrored object to the part which, causes the cloned copy to be in the precise same location as that of the mirrored copy, the advantage is that it carries along the animation and uses the pivot from the mirrored part which is what WE want for the animation to work properly. The test was successful, I couldn't believe it after so many hours of fooling around.

Now I'm working on an interface for the script.

My goal with this...

1. take any objects you have selected and mirror them along the X axis opposite other location.
2. using a list run through each object creating a clone copy and assign the transformation matrix of its opposite part.

This could take a while to complete and implement, I've gotten this far I'm not going to stop now, this could revolutionize the way people mirror their objects!

I have stopped working on the DC8 currently and have just been fooling around with this and great progress has been made...for now, i'm working on a simple script which basically takes a single part that does the work for you.

I'll have pics later on, havin fun with this!
 
Last edited:
n4gix is right, I just ran an export and my cloned copy which had the transformation matrix from the mirrored part applied to it, ended up being turned inside out as well ... so it is the object normals which are at fault.

I applied a Normal modifier and flipped the normals and turned to editable poly, the part appeared correct in FS but looks inverted in gmax, lol ... this fails either way you go +p because when you do it this way, the original part ignores material settings, like specular and gloss, etc.

So I have two things to figure in MaxScript ... since the object can be easily cloned and mirroed with the mirror modifier, all that remains is the pivot to be left changed, so since the mirrored part has the correct pivot for animation, why not copy the transformation for the pivot ONLY to the cloned part, not going to do this now, as I have to head to work, later guys.
 
Last edited:
Well I'm off to work, in case any one wants to try out the maxscript code

Code:
$object_a.transform=$object_b.transform

Where "object_a" is the destination of the new transform matrix or the object to be moved and object_b the source transform matrix to use to move object_a to the same exact location and orientation.

Just 1 line of code, lol.

When I get back, i'll figure out how to move just the pivot but I think the results will be the same, it can't hurt to try tho.
 
Back
Top