Updating output file structure for USD frames

This commit is contained in:
Abhishek Joshi
2023-10-19 12:24:57 -05:00
parent b785642b3f
commit 49e8cd0fd3
3 changed files with 20 additions and 14 deletions
+5 -2
View File
@@ -348,6 +348,11 @@ class USDLight(object):
self.translate_op = self.xform.AddTranslateOp()
self.translate_op.Set(pos)
if pos == (0, 0, 0):
self.prim.GetIntensityAttr().Set(0);
else:
self.prim.GetIntensityAttr().Set(50000);
# TODO attributes:
# - direction
# - intensity
@@ -355,8 +360,6 @@ class USDLight(object):
# - radius
# - specular
self.prim.GetIntensityAttr().Set(15000);
class USDCamera(object):
"""
Class for created cameras