You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
USD doesn't like lowercase, and this caused an issue for awhile when I was trying to render with warp. For example, this modification to the sphere fails
if not instancer:
if colors is None:
instancer = UsdGeom.PointInstancer.Define(self.stage, instancer_path)
# Create a capsule instead of a sphere
instancer_capsule = UsdGeom.Capsule.Define(self.stage, instancer.GetPath().AppendChild("capsule"))
instancer_capsule.GetAxisAttr().Set(self.up_axis)
because GetAxisAttr() expects capital, but warp expects lowercase.
The text was updated successfully, but these errors were encountered:
I think it would be good to change:
warp/warp/render/render_usd.py
Line 75 in 1535cde
to
and use capitals here:
warp/warp/render/render_usd.py
Line 100 in 1535cde
USD doesn't like lowercase, and this caused an issue for awhile when I was trying to render with warp. For example, this modification to the sphere fails
because
GetAxisAttr()
expects capital, but warp expects lowercase.The text was updated successfully, but these errors were encountered: