Esempio n. 1
0
 def _writeDefaultAssets(self, job):
     defaultscene = os.path.join(cr_utils.getAssetsPath(), 'default_scene.rib')
     job.copyAssetToDirectory(defaultscene)
     defaultcam = os.path.join(cr_utils.getAssetsPath(), 'default_camera.rib')
     job.copyAssetToDirectory(defaultcam)
     defaultlighting = os.path.join(cr_utils.getAssetsPath(), 'default_lighting.rib')
     job.copyAssetToDirectory(defaultlighting)
     defaultshader = os.path.join(cr_utils.getAssetsPath(), 'matte.sl')
     job.copyAssetToDirectory(defaultshader)
     ao = os.path.join(cr_utils.getAssetsPath(), 'occlusionlight.sl')
     job.copyAssetToDirectory(ao)
     colorbleeding = os.path.join(cr_utils.getAssetsPath(), 'colorbleedinglight.sl')
     job.copyAssetToDirectory(colorbleeding)
Esempio n. 2
0
 def _getDefaultMetaData(self):
     return os.path.join(cr_utils.getAssetsPath(), 'default.yml')