are their only 2 options for smoothNormals? all hard or all soft if you set the -smoothNormals. but is there no in between? where you can set the normal angle like you can in maya? if I try to set the normal after the vrmesh is imported it seems to crash maya or the object doesnt render.
Announcement
Collapse
No announcement yet.
PLY converter Normals
Collapse
X
-
Originally posted by Metzger View PostI also want to add that by default the vrmesh is created with inverse normals and getting correct normals requires a mandatory flip normal flag.
Instead of flipping the normals, you may want to try the flipYZ or flipYPosZ flags.
Best regards,
VladoI only act like I know everything, Rogers.
Comment
-
Originally posted by vlado View PostYou may want to try the flipYZ or flipYPosZ flags.
Without any option, ply2vrmesh creates a vrmesh that is flipped (shapes are the same as original Realflow import, but position of vertice are flipped).
I tried flipYPosZ, it is not a recognized option (syntax error), I guess my version is too old (VRay for maya 1.5SP1 Nightly Build 14259, Windows 7 64 bit.)
Then I tried flipYZ. The vertice positions are flipped in another position (also wrong).
I found a workaround to make it work :
Do not use flipYZ option, import the vrmesh in maya, then apply this to the VRay mesh node :
RotateY = 90 ScaleX = -1
Is it fixed in VRay 2.0 ?
Thanks.Last edited by alainfx; 27-05-2011, 07:48 AM.
Comment
-
Originally posted by vlado View PostNope, as there is nothing to fix. However the -flipYZ and -flipYPosZ options work correctly.
Do you think it doesn't work for me because I use VRay for maya 1.5SP1 Nightly Build 14259 ?
Maybe the flipYPosZ option was added after that build ?
Comment
-
Originally posted by vlado View Postyou may want to try the flipYZ or flipYPosZ flags.
We now have 2.00.04 stable build 15820 (june 21th 2011), but it still doesn't work for us, the realflow object is not on the right position.
I tried all ply2vrmesh options (flipYZ, flipYPosZ, or no option).
It works all right with Realflow's standard Bin importer, please look at this comparison picture (it's a maya2011 screenshot) :
I can't attach the Realflow bin file (it says 1.3Mbyte is too big), I will send it to vraymaya (at) chaosgroup.com
It's Realflow 5, in case it's important.
All our artists use this setting inside Realflow : File-->Preferences-->Axis setup-->"ZXY (3dsmax, maya)"
This is in Maya2011 SP1, VRay for maya 2.00.04 stable build 15820 (june 21th 2011), Realflow 5, Windows 7 64 bit.
Cheers.
PS : here a very dirty workaround, to get the right position and orientation :
Do not use any flipYZ or flipYPosZ option, import the vrmesh in maya, then apply this to the VRay mesh node :
RotateY = 90 ScaleX = -1Last edited by alainfx; 29-06-2011, 02:19 AM.
Comment
Comment