Hi!
How can I sync the 3 shortcut in maya with the opensubd level in octane?
Tks
opensubd level
Moderator: JimStar
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:
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.
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.melsetDisplaySmoothness
found in MayaXXXX/scripts/others/setDisplaySmoothness.melyou 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
- itsallgoode9
- Posts: 894
- Joined: Thu Apr 03, 2014 9:04 am
- Location: New York City
- Contact:
I agree that it would be great to have the option built into octane to have it respect the maya smoothing levels!
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

viewtopic.php?f=126&t=59009
Pascal ANDRE
- itsallgoode9
- Posts: 894
- Joined: Thu Apr 03, 2014 9:04 am
- Location: New York City
- Contact:
Awesome, thanks Calus!!!!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
Thank you so much again !!!
- blackshore
- Posts: 117
- Joined: Wed Jul 31, 2013 6:22 pm
Any updates on Crease?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.
- itsallgoode9
- Posts: 894
- Joined: Thu Apr 03, 2014 9:04 am
- Location: New York City
- Contact:
This is definitely how it should be implemented!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...