MASH symmetry normals

133 views
Skip to first unread message

joiec...@gmail.com

unread,
Oct 16, 2020, 7:36:28 PM10/16/20
to maya_he3d
Hi there,
Another MASH question. I saw someone asked it at Autodesk forums but never got answer. I'll try the same here knowing Ian may see it.
I'm doing a roof with MASH and have to symmetrize it.
The only way to get a true mirror of one side of the roof is checking the "allow negative scale" attribute. So the roof is correct.
But if I export that roof to OBJ or another polygon format, the mirrored roof has its normals reversed, obvious.
Is there any way to get it with correct normals?
Thanks in advance.

bobrobertuma

unread,
Oct 17, 2020, 10:15:30 AM10/17/20
to maya...@googlegroups.com

Make Mash an instance, not a repro mesh.  Bake Mash Network to Object (Turn on Bake to Shape Instances) to preserve instances.  May have to do a Manual Mirror with a poly reverse normal node on the mirrored half.  Don’t have Maya in front of me but the bake to mesh is under MASH Utilities at bottom somewhere.  Or are you asking something different?  I think you can use a break out node as well to get MASH Trans Rot Scale info and pipe into a “tile” on the roof, which is same method kinda in reverse.

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maya_he3d/eb6d0310-c8bc-4205-b8dd-81e3a0b1e036n%40googlegroups.com.

bobrobertuma

unread,
Oct 17, 2020, 10:33:18 AM10/17/20
to maya...@googlegroups.com

Also, another idea is to use two shapes that are mirrors of each other but both with frozen transforms and use two mash networks for each half of roof, using either of the shapes.   I’m not sure what happens if you mirror a Mash network it’s self but probably will still have flipped normal on .fbx/obj export.

 

From: maya...@googlegroups.com [mailto:maya...@googlegroups.com] On Behalf Of joiec...@gmail.com
Sent: Friday, October 16, 2020 5:36 PM
To: maya_he3d <maya...@googlegroups.com>
Subject: [maya_he3d] MASH symmetry normals

 

Hi there,

--

bobrobertuma

unread,
Oct 17, 2020, 10:37:21 AM10/17/20
to maya...@googlegroups.com

On last post for got to explain last step:  Last idea was to use 2 mash networks or Geo.  If Roof is a simple Hip type roof, you could rotate about your up axis 180 ° one half of roof instead of using symmetry.

 

From: maya...@googlegroups.com [mailto:maya...@googlegroups.com] On Behalf Of joiec...@gmail.com
Sent: Friday, October 16, 2020 5:36 PM
To: maya_he3d <maya...@googlegroups.com>
Subject: [maya_he3d] MASH symmetry normals

 

Hi there,

--

bobrobertuma

unread,
Oct 17, 2020, 10:49:38 AM10/17/20
to maya...@googlegroups.com

Sorry folks for all the spam.   Attached is a non-symmetry solution.  Export this after converting to Mesh and normal should be fine.  Just added a Mash Replicator to stack with a rotate about Y axis 180 °.  .ma in 2020.2 attached.

 

Hope this helps.

 

From: maya...@googlegroups.com [mailto:maya...@googlegroups.com] On Behalf Of joiec...@gmail.com
Sent: Friday, October 16, 2020 5:36 PM
To: maya_he3d <maya...@googlegroups.com>
Subject: [maya_he3d] MASH symmetry normals

 

Hi there,

--

image003.png
Mash_Roof_Mirror_noSym.ma

desig...@gmail.com

unread,
Oct 17, 2020, 4:01:08 PM10/17/20
to maya...@googlegroups.com
Yeah, that she's like a logical solution, though it's probably unlikely that his roof is that simple. Dunno.

R

joie

unread,
Oct 17, 2020, 5:24:30 PM10/17/20
to maya...@googlegroups.com
That solution is better because the good thing about this roof is that the building is from Roman period, so it is indeed quite simple.
The other solution is not an option for me since I want to keep everything procedural and bake it is not best for that.
I should add that the normals issue is just when exporting the scene. I was afraid of rendering artifacts caused by that, but in my tests I can't find any. So I'll stick to symmetry way for now.
I hoped Ian would step into the conversation and explain if this is a bug or is intended behaviour.

You received this message because you are subscribed to a topic in the Google Groups "maya_he3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maya_he3d/sCMOuOk1Pts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maya_he3d+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maya_he3d/CAMf%3DXG94n7wCyN-Bh-pUH7uVobJovu8uPkoyY3mRpozS-B7JTA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages