forked from bartvdbraak/blender
somehow pasted some text by mistake that raised an error.
This commit is contained in:
parent
2a9fab55ba
commit
604defd8f2
@ -171,11 +171,7 @@ def copy_images(dest_dir):
|
||||
# Get MTex images
|
||||
if matname != None:
|
||||
mat= Material.Get(matname)
|
||||
for mtex in mat.getTex* The ambient and emit data we can retrieve from Blender are single values, that this script copies to an RGB triplet, giving shades of gray. A config option can be set to export RGB mirror color as either or both.
|
||||
* In AC3D 4 "compatibility mode":
|
||||
** Shininess of materials is taken from the shader specularity value in Blender, mapped from [0.0, 2.0] to [0, 128].
|
||||
** Crease angle is exported, but in Blender it is limited to [1, 80], since there are other more powerful ways to control surface smoothing. In AC3D 4.0 crease's range is [0.0, 180.0].
|
||||
* Blender groups are not supported yet.tures():
|
||||
for mtex in mat.getTextures():
|
||||
if mtex and mtex.tex.type == Blender.Texture.Types.IMAGE:
|
||||
try:
|
||||
uniqueImages[mtex.tex.image.name] = None
|
||||
|
Loading…
Reference in New Issue
Block a user