Updating output file structure for USD frames
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user