Autodesk / Autodesk/maya-usd

[MAYA-128010] Default subdivisionScheme CatClark not written to file

Open
#2,914 1 comment 0 reactions 0 assignees View on GitHub
import-export
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

### Discussed in https://github.com/Autodesk/maya-usd/discussions/2205

Originally posted by **yolov** March 21, 2022
Hi folks,

I decided to start a discussion to get a bit deeper into this before we (or someone) turns it into an issue.
When exporting from MayaUSD, the default subdivision scheme, which is Catmull-Clark is not written to the file at all. Only when the scheme is !default is it written to the file.
For example , the default doesn't leave anything in the file, while 'none' looks like this:
`uniform token subdivisionScheme = "none"`

![usd_subdscheme](https://user-images.githubusercontent.com/20951458/159301239-46ecaf79-42ac-4274-a10d-60fd73678a7f.png)

I guess it must be according to the standard, but this poses a few issues for us because it seems the rendering behavior is different between Maya and Houdini.
If I create a simple plane in Maya (just a plane, not subdivided, no nothing) - it will render as a plane.
If I export it to USD and bring it back in Maya - still renders as a plane.
If I bring it to Houdini with USD - it will render as a disc (because no token means cat-clark for Houdini as well).
And yes, there's the option in Houdini to manually override it to 'none', but I think it would be ideal to get the expected behavior with the least amount of clicks.

Alex

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked discussion #2205 and reproduce the MayaUSD export using the simple plane described in the issue. Inspect the resulting USD for subdivisionScheme and compare the Maya and Houdini render behavior; done means the default Catmull-Clark behavior is represented as intended without a manual Houdini override.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.