[BUG][MAYA 2019] Strange NURBS Viewport Rendering

[BUG][MAYA 2019] Strange NURBS Viewport Rendering

dchavez10
Explorer Explorer
1,681 Views
4 Replies
Message 1 of 5

[BUG][MAYA 2019] Strange NURBS Viewport Rendering

dchavez10
Explorer
Explorer

Product: Maya 2019 [Student Version]

OS: Windows 10 Home, Version 1803, Build 17134.648

Hardware: Intel(R) Core(TM) i7-7820HK CPU @ 2.90GHz, 32 GB RAM, Geforce GTX 1080 Driver Version 419.35, 1920 x 1080 120hz

Opening any .ma/.mb from the desktop containing NURBS objects and then selecting those objects once opened causes them to render abnormally in the viewport. A temporary workaround that I discovered in order to see them correctly is to first start up Maya 2019 and then open the scene through file > open scene or file > import. Any idea why this happens? Any permanent fixes? I've tried all sorts of things like changing the evaluation mode, viewport rendering engine, deleting user prefs, disabling cpu and ram overclocking, etc. but so far I haven't found a permanent solution. Btw, I have Maya 2018 installed as well and the NURBS objects display correctly when opening the scene files from the desktop in this version.

 

Maya 2019:

Capture.PNG

0 Likes
1,682 Views
4 Replies
Replies (4)
Message 2 of 5

sean.heasley
Alumni
Alumni

Hi @dchavez10 

 

So this only happens when you double click the scene file from the Desktop as opposed to using File->Open after Maya has launched?

 

Generally its not recommend to open/import files that way as it can lead to issues. Even when importing a model I've had times where if you drag drop it into the scene it imports incorrectly but if you do File->Import it then works normally.

 

That said, I'm going to look into this more and pass it along to development to see if they can confirm it is indeed an issue that needs to be fixed.

 

 

0 Likes
Message 3 of 5

dchavez10
Explorer
Explorer

Yes, that's correct. It only seems to render incorrectly in the viewport once opened from the desktop and then selecting the NURBS objects. I also just tried drag n' dropping the scene file into the viewport and it seems to work fine that way. Also, if I understand you correctly, file > import would be the best way to open files?

 

Thanks for passing the info on and I hope to hear more about it soon.

0 Likes
Message 4 of 5

sean.heasley
Alumni
Alumni

Hi @dchavez10 

 

If you're opening scene files the best way is to do File->Open but you can also do File->Import.

 

Personally I use File->Open for scene files and File->Import for FBX or OBJ files.

 

 

0 Likes
Message 5 of 5

Pablodeleo
Participant
Participant

This happens in the calculation time in the viewport when initialising the Maya. I continue to see the problem in the Maya 2023.

Here I drop 2 temporal solutions and you need to do it every you use the scene because Maya doesn't allow me to modify the viewport functions to create a permanent fix. Refresh the smoothness of curves and Nurbs:

You can use it:

import maya.cmds as cmds
cmds.displaySmoothness(divisionsU=0, divisionsV=0, pointsWire=4,pointsShaded=1 ,polygonObject=1)
cmds.displaySmoothness(divisionsU=3, divisionsV=3, pointsWire=16,pointsShaded=4 ,polygonObject=3)
cmds.displaySmoothness(divisionsU=0, divisionsV=0, pointsWire=4,pointsShaded=1 ,polygonObject=1)

or this:

import maya.cmds as cmds
allObjects = cmds.ls(l=True)
for obj in allObjects:
    if cmds.nodeType(obj) == 'nurbsSurface':
        print (obj)
        cmds.setAttr(obj + ".curvePrecision", 4)
        cmds.setAttr(obj + ".curvePrecisionShaded", 4)
        cmds.setAttr(obj + ".explicitTessellationAttributes",0 )
        cmds.setAttr(obj + ".simplifyMode", 0)

 

0 Likes