protean

protean

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Ambient Occlusion node deprecated, no alternative ? 2026年4月29日9:55

Tomek P
Nicolas Heluani
You can get better AO results from the copernicus bake geometry textures.
Correct me, if I'm wrong, but it requires correct uv coordinates and non-overlapping uv's. Imagine having a huge building. Baking maps might be too expensive, just to have some dust around windows. Other example, you can emit light from ground, when it gets hit by a ball. Baking a sequence of textures and re-baking when animation changes might be a waste of time for such a simple task.
So I'm with racoonart on this - AO node is very usefull. But it should be implemented correctly (with inverted normals, no-self occlusion and self-only ). Mtlxambientocclusion is/was quite limited.

Procedural shading has taken a big hit over the years or rather, the accessibility to it has been taken away but one could probably do something with a renderer's API.

How to set collection:membershipExpression 2025年1月21日6:56

I'm not sure this is possible as I've tried the same thing.

Theoretically I believe this should work

https://openusd.org/dev/user_guides/collections_and_patterns.html#configuring-pattern-based-collections [openusd.org]

collectionPrim = stage.DefinePrim("/CollectionPrim")
myCollection = Usd.CollectionAPI.Apply(collectionPrim, "myCollection")
myCollection.CreateExpansionRuleAttr(Usd.Tokens.expandPrims)
pathExp = Sdf.PathExpression("/World/Light*{hasAPI:LightAPI}")
expressionAttr = myCollection.CreateMembershipExpressionAttr(pathExp)

But the Sdf object doesn't have CreateExpansionRuleAttr() or PathExpression(). It might be a usd version thing but that's as far I got for now

Save Viewport Overrides (scene graph tree) 2025年1月10日9:34

Hi, I'd like to export the Solaris scene graph viewport overrides outwith the current session.

I naively thought something basic such as this would work as I can return the current overrides list and clear them as described here https://www.sidefx.com/forum/topic/86934/?page=1#post-375436 [www.sidefx.com]

s = hou.node('/stage')
db = s.dataBlock('MyOvers.overrides'))
s.setDataBlock('MyNewOvers', db, None)

This is in 19.5 and I notice there might be different using usd layers https://www.sidefx.com/docs/houdini/hom/hou/LopNetwork.html#viewportOverrides [www.sidefx.com]

n = hou.node('/stage')
with n.viewportOverrides(hou.node('/stage/cube1')) as oo:
    oo.layer().Export('test.usda')

I may be missing a vital bit of info but I don't get any result with is either and I noted there is an explanation in the doc that
This layer does not include opinions set using built in Houdini panels.

Is there any other way to save the Scene Graph panel overrides?