Here's the simple/basic code to get the usd path. This is in a Python SOP inside a SOP Modify node. This is after a Material Library and Assign Material.
node = hou.pwd()
geo = node.geometry()
prims = geo.prims()
for primN in prims:
val = primN.attribValue('usdmaterialpath')
print( 'val', val )
Found 7 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » usdmaterialpath within SOP Modify
- wayward
- 8 posts
- Offline
Houdini Indie and Apprentice » usdmaterialpath within SOP Modify
- wayward
- 8 posts
- Offline
Within a SOP_Modify I'm using a python node to access the usdmaterialpath attribute of imported geo. This gives me the material path as a lop/usd path (/materials/materialName).
I would like to access that material (within this SOP_Modify) to query a few parameters of that material.
How do I resolve that path to that node within a SOP_Modify? How do I access that LOP material node's attributes via python within a SOP_Modify?
Thanks for any help.
I would like to access that material (within this SOP_Modify) to query a few parameters of that material.
How do I resolve that path to that node within a SOP_Modify? How do I access that LOP material node's attributes via python within a SOP_Modify?
Thanks for any help.
Solaris and Karma » skip rendered frames?
- wayward
- 8 posts
- Offline
I would also really like a 'Skip Rendered Frames' option added to husk. Simple idea but very useful.
Pete
Pete
Solaris and Karma » Houdini/Solaris lights color cycling
- wayward
- 8 posts
- Offline
Another excellent approach. Thanks j00ey!
For any of these methods would I need to export a usd frame range sequence to get the animated values or are the expressions preserved in the usd file?
I'm going to test it both ways but I thought I'd ask to help confirm results.
Pete
For any of these methods would I need to export a usd frame range sequence to get the animated values or are the expressions preserved in the usd file?
I'm going to test it both ways but I thought I'd ask to help confirm results.
Pete
Solaris and Karma » Houdini/Solaris lights color cycling
- wayward
- 8 posts
- Offline
Solaris and Karma » Houdini/Solaris lights color cycling
- wayward
- 8 posts
- Offline
This might be a very basic question - but I'm stuck.
In Solaris I have set up lights. I want to cycle the light colors over time.
Is there a way to set up a ramp/cycle for the Color on the Base Properties tab that will affect lights?
I see Light Filters on the Base Properties tab. That seems to work to tint lights for Karma. But it doesn't affect the lights for Redshift.
What's the best way to animate the light color that will work with Karma/Redshift/etc?
Anyone know of a tutorial or documentation to explain how to do this?
Thanks!
Pete
In Solaris I have set up lights. I want to cycle the light colors over time.
Is there a way to set up a ramp/cycle for the Color on the Base Properties tab that will affect lights?
I see Light Filters on the Base Properties tab. That seems to work to tint lights for Karma. But it doesn't affect the lights for Redshift.
What's the best way to animate the light color that will work with Karma/Redshift/etc?
Anyone know of a tutorial or documentation to explain how to do this?
Thanks!
Pete
Houdini Indie and Apprentice » Karma licence changes
- wayward
- 8 posts
- Offline
I'm having the same problem. Seems to be related to USD activities (though my testing is still early).
I understand that it's a bug but are there conditions that flipping from an Indie Edition to a Non-Commercial Edition would happen normally?
I understand that it's a bug but are there conditions that flipping from an Indie Edition to a Non-Commercial Edition would happen normally?
Edited by wayward - Dec. 2, 2019 07:02:32
-
- Quick Links