opensubd level

Forums: opensubd level
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

opensubd level

Postby Tharso » Thu Jan 19, 2017 10:09 pm

Tharso Thu Jan 19, 2017 10:09 pm
Hi!

How can I sync the 3 shortcut in maya with the opensubd level in octane?

Tks
User avatar
Tharso
Licensed Customer
Licensed Customer
 
Posts: 281
Joined: Mon Apr 05, 2010 3:11 pm
Location: Brasil

Re: opensubd level

Postby calus » Wed Jan 25, 2017 6:37 am

calus Wed Jan 25, 2017 6:37 am
Several ways to do this:

1/ For a non-synchronized process, use just a script to batch update octane openSubdiv attributes based on Smooth preview levels when you need that.

2/ One way is to add for each mesh an expression which links maya smooth preview shape attributes to the Octane opensusubdiv level attribute.
If you only want this on a subset of objects this is probably the best method.
But if needed on all mesh in the scene, each time you create a new object you still need to add an expression manually or by script, or can be done automatically in a script job.

3/ Or you can Hack two mel procedures:
changeSmoothingLevelPoly found in MayaXXXX/scripts/others/changeSmoothingLevel.mel
setDisplaySmoothness found in MayaXXXX/scripts/others/setDisplaySmoothness.mel
you can modify both scripts to update octane openSubdiv at the same time as SmoothPreview, and put this modified scripts for example in user/Maya/20XX/Script/
Take care this might slow down the interactive switching of smoothPreview level.

4/ The best would be to have an option for the the plugin in render settings "use Maya Smooth Preview levels for Octane Opensubdiv" and then the OpenSubdiv levels would be set only at render time...


Also keep in mind that Maya Subdiv Crease is still not supported by the plugin anyway...
but smoothing and Maya Crease are supported by Standalone if geometry is exported as Maya Builtin Alembic Cache.
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: opensubd level

Postby itsallgoode9 » Wed Jan 25, 2017 1:02 pm

itsallgoode9 Wed Jan 25, 2017 1:02 pm
I agree that it would be great to have the option built into octane to have it respect the maya smoothing levels!
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
itsallgoode9
Licensed Customer
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Re: opensubd level

Postby calus » Wed Jan 25, 2017 1:20 pm

calus Wed Jan 25, 2017 1:20 pm
In the meantime here is the script using the method 2 to sync Maya Smooth Mesh Preview and Octane Subdiv. :)
viewtopic.php?f=126&t=59009
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: opensubd level

Postby itsallgoode9 » Wed Jan 25, 2017 1:49 pm

itsallgoode9 Wed Jan 25, 2017 1:49 pm
calus wrote:In the meantime here is the script using the method 2 to sync Maya Smooth Mesh Preview and Octane Subdiv. :)
viewtopic.php?f=126&t=59009


Awesome, thanks Calus!!!!
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
itsallgoode9
Licensed Customer
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Re: opensubd level

Postby Tharso » Tue Jan 31, 2017 11:37 pm

Tharso Tue Jan 31, 2017 11:37 pm
Thank you so much again !!!
User avatar
Tharso
Licensed Customer
Licensed Customer
 
Posts: 281
Joined: Mon Apr 05, 2010 3:11 pm
Location: Brasil

Re: opensubd level

Postby blackshore » Sat Nov 10, 2018 7:00 pm

blackshore Sat Nov 10, 2018 7:00 pm
calus wrote:Also keep in mind that Maya Subdiv Crease is still not supported by the plugin anyway...
but smoothing and Maya Crease are supported by Standalone if geometry is exported as Maya Builtin Alembic Cache.


Any updates on Crease?
User avatar
blackshore
Licensed Customer
Licensed Customer
 
Posts: 117
Joined: Wed Jul 31, 2013 6:22 pm

Re: opensubd level

Postby itsallgoode9 » Sun Nov 11, 2018 7:54 pm

itsallgoode9 Sun Nov 11, 2018 7:54 pm
calus wrote:Several ways to do this:

4/ The best would be to have an option for the the plugin in render settings "use Maya Smooth Preview levels for Octane Opensubdiv" and then the OpenSubdiv levels would be set only at render time...



This is definitely how it should be implemented!
Intel i7-3930K, 64gb RAM, Asus X79 Deluxe mobo, 2x EVGA 780 6gb (for rendering), 1x PNY quaddro k4000 (for display)
Windows 8.1 x64, Maya 2014, Octane Render v2
itsallgoode9
Licensed Customer
Licensed Customer
 
Posts: 885
Joined: Thu Apr 03, 2014 9:04 am
Location: New York City

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 4 guests

Fri Mar 29, 2024 7:31 am [ UTC ]