Exemplo n.º 1
0
 def setInterface(self, yi):
     self.materialMap = {}
     self.materials   = set()
     self.yi = yi
     self.yi.loadPlugins(PLUGIN_PATH)
     self.yaf_object     = yafObject(self.yi, self.materialMap)
     self.yaf_lamp       = yafLight(self.yi)
     self.yaf_world      = yafWorld(self.yi)
     self.yaf_integrator = yafIntegrator(self.yi)
     self.yaf_general_aa = yafGeneralAA(self.yi)
     self.yaf_texture    = yafTexture(self.yi)
     self.yaf_material   = yafMaterial(self.yi, self.materialMap)
	def setInterface(self, yinterface):
		self.yi = yinterface
		self.yTexture = yafTexture(self.yi)
		self.yMaterial = yafMaterial(self.yi, self.materialMap)
		self.yLight = yafLight(self.yi)
		self.yObject = yafObject(self.yi, self.materialMap)
Exemplo n.º 3
0
 def setInterface(self, yinterface):
     self.yi = yinterface
     self.yTexture = yafTexture(self.yi)
     self.yMaterial = yafMaterial(self.yi, self.materialMap)
     self.yLight = yafLight(self.yi)
     self.yObject = yafObject(self.yi, self.materialMap)