Yasin Hasanian
YasinH
About Me
専門知識
CG Supervisor
業界:
Film/TV
Houdini Engine
Availability
Not Specified
My Gallery
Recent Forum Posts
Husk - what does exr metadata renderMemory, renderTime... 2022年12月28日14:41
Bumping this thread...
How to query USD prim World Bounding Box 2022年12月7日19:55
A very simple question which seems to be tricky to figure out! All geom prims have a World Bounding Box shown in Solaris Scene Graph Details. How does one access that via Python and Vex?! I've tried the following, but I get inconsistent results that are not the same as what's shown in Scene Graph Details!
from pxr import Usd, UsdGeom
node = hou.pwd()
stage = node.editableStage()
prim = stage.GetPrimAtPath('/scene/geo/cube')
bbox_cache = UsdGeom.BBoxCache(0, ['default'])
bbox = bbox_cache.ComputeWorldBound(prim).box
print bbox
Remove primitives by attribute via VEX 2021年8月18日17:52
I have an alembic named
light_geo
that has path
attribute in it which are the geos it contains. I'd like to use specific geos(path) from this as a mesh light which would get plugged into "Geometry Object" parameter on the light. However, this parameter reads the whole object (e.g. ../light_geo
). Is there any way to exclude parts of it in the same parameter via an expression? I can of course use a blast node and remove path primitives but I'd rather do it all in the Geometry Object parameter.