-
Notifications
You must be signed in to change notification settings - Fork 207
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
TensorToMesh: Node to convert a position and vertexIds tensors into a mesh. #6224
base: 1.5_maintenance
Are you sure you want to change the base?
TensorToMesh: Node to convert a position and vertexIds tensors into a mesh. #6224
Conversation
b7a00b5
to
6767964
Compare
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.
Nice one, thanks Lucien! I've made a few comments inline but it's all pretty minor.
One thing I'm wondering is if different mesh-generating models in the wild all use this same format for defining the mesh data, or if there is lots of variation as there is for image data? Does this node just handle data from one specific model, or does it stand a good chance of being general purpose?
Cheers...
John
Gaffer.Metadata.registerNode( | ||
|
||
GafferML.TensorToMesh, |
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.
We need documentation for this node and the plugs - the lack is causing a test failure at present.
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.
addressed here 9550acb
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.
Thanks for the plug docs - we just need a description for the node itself now.
Honestly, I don't know...SMPL is the only mesh generation model I've been experimenting with and the one we plan to use soon at IE. To avoid any bad surprise I added extra validation of the input tensors but the node might need some change in the future depending on further experiment with other models. That being said, I'd like to think that it's a fairly reasonable assumption to make that a mesh should be a collection of 3d point coordinates and a list of vertexIds. Do you have any suggestion to make this more generic or should we wait until we use different ML model generating or processing mesh to make adjustment? After all I think GafferML is still in "experimental" so that's the time we can gather knowledge and break stuff... |
I've not tried this one yet but I was going to give this one a go eventually with GafferML - it might add some more insight to what kind of data it outputs: |
I don't have any alternative ideas, and in the absence of other use cases I think this is fine - I was just wondering if you might know about other potential representations. I did take a brief look at TRELLIS and found some evidence that it's using the same layout.
I think I do have a mild personal preference for the updated names, but will leave the choice to you. Could you address the documentation for the node itself and squash everything down ready for merging please? |
406a2be
to
1794a3a
Compare
Checklist