allan_james wrote:@stoneage
One thing that I really want to know is how you to a good UV maping for your texture if you can give us an example like the one _Mo_ gave which by the way is yoursI will be very happy
Thanks in advanced
Traceback (most recent call last):
File "/home/organic/blender/build/bin/2.65/scripts/addons/yafaray/ui/properties_yaf_texture.py", line 80, in draw
row.template_list(idblock, "texture_slots", idblock, "active_texture_index", rows=2)
TypeError: UILayout.template_list(): error with argument 1, "listtype_name" - Function.listtype_name expected a string type, not Material
Traceback (most recent call last):
File "/home/organic/blender/build/bin/2.65/scripts/addons/yafaray/ui/properties_yaf_material.py", line 64, in draw
row.template_list(ob, "material_slots", ob, "active_material_index", rows=2)
TypeError: UILayout.template_list(): error with argument 1, "listtype_name" - Function.listtype_name expected a string type, not Object
povmaniac wrote:I'll try to do something about it ..
povmaniac wrote:But .. You could use the version 2.65a Official Release?
povmaniac wrote:'template_list' has change in the last commits.
Before in properties_yaf_material.py, line 64:
row.template_list(ob, "material_slots", ob, "active_material_index", rows=2)
Now:
row.template_list("MATERIAL_UL_matslots", "", ob, "material_slots", ob, "active_material_index", rows=2)
Same change in properties_yaf_texture.py, line 80:
row.template_list("TEXTURE_UL_texslots", "", idblock, "texture_slots", idblock, "active_texture_index", rows=2)
Traceback (most recent call last):
File "/home/organic/blender/build/bin/2.65/scripts/addons/yafaray/io/yaf_export.py", line 319, in update
self.exportScene()
File "/home/organic/blender/build/bin/2.65/scripts/addons/yafaray/io/yaf_export.py", line 69, in exportScene
self.exportTexture(obj)
File "/home/organic/blender/build/bin/2.65/scripts/addons/yafaray/io/yaf_export.py", line 98, in exportTexture
self.yaf_texture.writeTexture(self.scene, tex.texture)
File "/home/organic/blender/build/bin/2.65/scripts/addons/yafaray/io/yaf_texture.py", line 314, in writeTexture
yi.paramsSetBool("use_alpha", tex.use_alpha)
AttributeError: 'ImageTexture' object has no attribute 'use_alpha'
ok, will do.Samo wrote:can you work with Blender official release please? thanks
povmaniac wrote:Ok..
'template_list' has change in the last commits.
Before in properties_yaf_material.py, line 64:
row.template_list(ob, "material_slots", ob, "active_material_index", rows=2)
Now:
row.template_list("MATERIAL_UL_matslots", "", ob, "material_slots", ob, "active_material_index", rows=2)
Same change in properties_yaf_texture.py, line 80:
row.template_list("TEXTURE_UL_texslots", "", idblock, "texture_slots", idblock, "active_texture_index", rows=2)
Warning!! This change is only for Blender versions belong 2.65.3!!
Make this changes, the exporter work fine.. atm!!
Greetings..
"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men."
INFO: Exporter: Creating Texture: 'Texture' type IMAGE: .../textures/Ciemny dab.jpg
INFO: Interface: Deleting scene...
INFO: Interface: Deleting environment...
INFO: Interface: Done.
AttributeError: 'ImageTexture' object has no attribute 'use_alpha'
location: <unknown location>:-1
location: <unknown location>:-1
Traceback (most recent call last):
File ".../blender26X_svn/2.65/scripts/addons/yafaray/io/yaf_export.py", line 319, in update
self.exportScene()
File ".../blender26X_svn/2.65/scripts/addons/yafaray/io/yaf_export.py", line 69, in exportScene
self.exportTexture(obj)
File ".../blender26X_svn/2.65/scripts/addons/yafaray/io/yaf_export.py", line 98, in exportTexture
self.yaf_texture.writeTexture(self.scene, tex.texture)
File ".../blender26X_svn/2.65/scripts/addons/yafaray/io/yaf_texture.py", line 314, in writeTexture
yi.paramsSetBool("use_alpha", tex.use_alpha)
AttributeError: 'ImageTexture' object has no attribute 'use_alpha'
location: <unknown location>:-1
location: <unknown location>:-1
ERROR: Environment: Specify a Camera!!
INFO: Interface: Cleaning environment...
INFO: Interface: Deleteing scene...
INFO: Interface: Clearing film and parameter maps scene...
"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men."
Return to Materials and Texturing
Users browsing this forum: No registered users and 2 guests