Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAYA-121277 Create usdGeomNode to extract usd geometry on compute #2173

Merged
merged 6 commits into from
Mar 16, 2022

Conversation

simonblaisautodesk
Copy link
Collaborator

This is part from a long term goal to simplify the maya mesh file by embedding 'usd' or other format directly in the scene.
The performance angle is to be able to load on demand the geometry, so if the node is not visible it would not even load the file immediately. When this work we could have low res and high res version in the same Maya file without paying memory and load time cost for the high res, as long as the user work with the low res. But this pull request here simply add the possibility to prototype things further in maya.

@simonblaisautodesk simonblaisautodesk changed the title T blais/maya 121277/investigate creating usd mesh node MAYA-121277 Create usdGeomNode to extract usd geometry on compute Mar 9, 2022
MayaUsd::ImportData readData;
readData.setFilename(fileName);

if (!rootPrim.empty()) {
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could mention that if unset the default is "/". Or maybe add this detail to the class comment in the header.

Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except minor things.

pierrebai-adsk
pierrebai-adsk previously approved these changes Mar 10, 2022
@simonblaisautodesk simonblaisautodesk added ready-for-merge Development process is finished, PR is ready for merge and removed ready-for-merge Development process is finished, PR is ready for merge labels Mar 14, 2022
@simonblaisautodesk simonblaisautodesk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 15, 2022
ppt-adsk
ppt-adsk previously approved these changes Mar 15, 2022
@ppt-adsk ppt-adsk removed the ready-for-merge Development process is finished, PR is ready for merge label Mar 15, 2022
@simonblaisautodesk simonblaisautodesk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 16, 2022
@ppt-adsk ppt-adsk added core Related to core library import-export Related to Import and/or Export and removed ready-for-merge Development process is finished, PR is ready for merge labels Mar 16, 2022
@ppt-adsk ppt-adsk merged commit 96d3593 into dev Mar 16, 2022
@ppt-adsk ppt-adsk deleted the t_blais/MAYA-121277/investigate-creating-usd-mesh-node branch March 16, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to core library import-export Related to Import and/or Export
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants