Hey, guys! i'm trying to use some geometry as a mask for blending things, but it seems i cant do it the way it used to be in mantra. see the screenshot
how can i access USD geometry from the shader?
rafal
Karma is a Hydra delegate, so it can access only the data that Hydra provides to it. And I don't think Hydra provides access to the whole scene graph. So, Karma may not be able to access that data.
rafal
Some workaround ideas:
- use geometry primvars to access geometry in a shader at render-time
- write out the data disk as Houdini geometry file, which then you can use in the Import Point VOP
rafaldoesn't have to be the whole scene graph, but would there be a way to access at least what's actually passed? cameras, lights, geo that's passed through (this relates to rfe#100498)
Karma is a Hydra delegate, so it can access only the data that Hydra provides to it. And I don't think Hydra provides access to the whole scene graph. So, Karma may not be able to access that data.
tamterafaldoesn't have to be the whole scene graph, but would there be a way to access at least what's actually passed? cameras, lights, geo that's passed through (this relates to rfe#100498)
Karma is a Hydra delegate, so it can access only the data that Hydra provides to it. And I don't think Hydra provides access to the whole scene graph. So, Karma may not be able to access that data.
I was so happy when Mantra was able to finally reference geo using op: syntax just to be taken away by Solaris, while the expectations were quite opposite (to be able to access much more than just geo)
going back to referencing files directly is another unnecessary layer of complexity, given that asset paths may need a resolver to be correcct so hacking that in the shader feels like a workaround
guilhermecasagrandiyes, I think it was added around H16
I´ve never used the "op" sintax because the geometryt was never included in the ifd. Did they change the behavior at some point?
jparker
Being able to access the renderable USD scene graph would be a great Karma feature. It would be a competitive advantage from my POV. My guess is that it's probably hard to implement efficiently...