-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Feature] OpenUSD Meshes #971
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
base: main
Are you sure you want to change the base?
Conversation
Thank you very much! This is very helpful. Could you please add an example file in |
It would be nice to include the full asset and textures on Hugging Face asset repository. I will take care of it asap. |
metallic_texture = mu.create_texture(orm_image[:, :, 2], None, "linear") | ||
gs.logger.info(f"Get ORM texture: {orm_texture_path}") | ||
|
||
mesh_surface.update_texture( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to merge these 2 branches in one. Too many code duplications here. I mean, share init to None and mesh surface instantiation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can share init to None but sharing mesh_surface.update_texture
is not quite elegant
Must add a unit test, and eventually an example script, to make sure it keeps working (based on Hugging Face assets repo, there is an example already). |
I added the linked USD example files to Hugging Face genesis assets repository. Have a look to |
Add Support for Parsing Geometries from USD format.
This function supports reading geometries from the default prim of the USD stage.
Especially, for NVIDIA's : SimReady USD dataset
Examples
Chair
CornerRail
Fruit
References:
USD in Action
USD in Action Github