Page 1 of 1

[plugin 3.1.9] Displacement - Loop/Catmull-Clark not working

Posted: Sun Mar 29, 2015 2:15 pm
by T0M0
Could someone confirm that displacement type Loop/Catmull-Clark isn't working in MayaPlugin 3.1.9 ?

What is interesting, same object (simple cube) is working with Studio, but following error shows up in console when I launch render from Maya.

[Flat type is working as it should.]

[Extension SubdivisionModifier] Modifying mesh..
ERROR: - [Extension SubdivisionModifier] An edge connecting two vertices was specified more than once. It's likely that an incident face was flipped
ERROR: - [Extension SubdivisionModifier] This object cannot be subdivided.



tested with Windows 7 x64 SP1, Maya 2015 SP5, Maxwell Render 3.1.1.0 + MPlugin 3.1.9

Re: [plugin 3.1.9] Displacement - Loop/Catmull-Clark not wor

Posted: Tue Mar 31, 2015 6:48 pm
by T0M0
Test object download : DOWNLOAD 73.3kB

checker map download: DOWNLOAD 19.9kB

material displacement settings:
Type: pretessellated
Subdivision: 5
Subdivison Method: Catmull/Loop
Offset: 0,5
Smoothing: on
UV Interpolation: Edges and Corners
Height: 5 cm

Image

Re: [plugin 3.1.9] Displacement - Loop/Catmull-Clark not wor

Posted: Thu Apr 02, 2015 2:26 pm
by Mihnea Balta
The difference between Maya and Studio is that when you import the obj into Studio, it gets triangulated. The Maya plug-in exports quads when the object contains them, so the geometry which is subdivided is not the same in the two cases.

It looks like the engine has a bug in the subdivision code when quads are present. I've forwarded the problem to the engine guys.

Re: [plugin 3.1.9] Displacement - Loop/Catmull-Clark not wor

Posted: Thu Apr 02, 2015 2:50 pm
by T0M0
Thanks for info Mihnea. Yes, if I triangulate test object in Maya, then it works.

Also, if mesh with quads is exported from Maya as .mxs then import it in Studio, it won't be automatically triangulated and same error will appear.

Re: [plugin 3.1.9] Displacement - Loop/Catmull-Clark not wor

Posted: Mon Mar 21, 2016 8:04 pm
by sschoellhammer
Hello,

I have the same problem in 3.2.7, I need to manually triangulate my model to get it to work.

I'm a bit confused because I always thought catmull clark is working on quads only .. strange.