MPxSubsceneOverride and GL (Hydra) #2176
Replies: 2 comments 3 replies
-
@williamkrick, would you happen to know where @ChokmahBinah can take a look into resolving this issue on the MtoH side? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @ChokmahBinah, the GL(Hydra) viewport only draws shape types which are supported by the mtoh plugin (see MayaToHydra.md for currently supported shape types). I'm not sure how exactly you are drawing the custom locators in Maya, but those nodes would have to be supported by mtoh for them to draw in the GL(Hydra) viewport. Right now the mtoh plugin and the GL(Hydra) viewport which depends on mtoh are considered experimental by the MayaUSD team. We are not actively adding features to mtoh at this time. You should be able to add support for the necessary nodes yourself. As a starting point the code to adapt a Maya mesh into something Hydra understands is in meshAdapter.cpp. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have created a custom node node using MPxSubsceneOverride() implementation.
It works really well using Viewport 2.0, but nothing appears when using GL(Hydra).
Is there a way to make this kind of custom locators display using GL (Hydra) ?
I don't know how to do for now.
Using Viewport 2.0 :
Using HD (Hydra) :
Thanks in advance for your help :)
Beta Was this translation helpful? Give feedback.
All reactions