Jump to content

3dsmax export of mirrored objects fails


taiotoshi
 Share

Recommended Posts

Hi,

 

when I try to export an object, that was cloned from another object with the max 'mirror tool',

the cloned object is not exported correctly.

 

It seems that max is flipping the axis in the objects TM which will cause strange effects during export.

 

I attach a simple max scene with a box (left) and a cloned box (right) (using the mirror command).

 

As you can see the rendering is ok, but the babylon export fails.

 

What can i do to resolve this issue?

 

 

Regards 

 

Andre

 

mirror_error.zip

post-15943-0-46918400-1440761156.png

post-15943-0-04572500-1440761168_thumb.p

Link to comment
Share on other sites

  • 2 weeks later...

Hello, you should bake and ResetXForm on the mirrored object

Hello, thanks for your reply.

 

Unfortunately we are forced to export the scenes as they are (without modifying them by hand).

Some of them are quite big...

 

 

The IGameExporter from the 3DSMaxSdk / samples is able to handle the mirrored objects, at least in 3DSMAX coordinate system.

I know that we have D3D on babylon export, but all objects export fine, even the rotated ones. (Export Quaternions == true).

Only the mirrored are not correct.

Any hints on how i must 'transform' vertices / positions to make things look the same way as in max / renderings?

Link to comment
Share on other sites

  • 1 month later...

Ok, i will give it a try, if you will guide me a little bit.

 

So i have to :

 

1) rotate all points around x axis math.Pi

2) invert the order of all faces

 

What about the texture maps?

 

If you would like to assist me with some code fragments, this would be very nice, because I am relatively new to this kind of stuff...

Link to comment
Share on other sites

  • 6 months later...

Has anyone found a solution to this? I am having the same problem exporting cars from 3ds max where one door is often a mirror of the other and due to the curved nature and detailing I can not simply clone and rotate the other door which would need to be inverted.

Link to comment
Share on other sites

  • 7 months later...

Hi there @Deltakosh,

Having the same issue with mirrored objects in the scene from 3DSMax. Tried to invert `scalingDeterminant` to no avail. Any other suggestions?

I am going to try to follow your instructions above for manually rotating and inverting the order of the faces.

Thanks

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...