Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelingTools / ASE / Blender / ase-export-vmc / ASE251.py #1

Open
kordex opened this issue Nov 19, 2014 · 2 comments
Open

ModelingTools / ASE / Blender / ase-export-vmc / ASE251.py #1

kordex opened this issue Nov 19, 2014 · 2 comments

Comments

@kordex
Copy link

kordex commented Nov 19, 2014

Generates broken .ase files when multiple materials are in list. One needs to fix this by substituing '*NUMSUBMTLS 0 ' with closing '}'.

*MATERIAL_LIST {                    
    *MATERIAL_COUNT 1                    
    *MATERIAL 0 {                    
        *MATERIAL_NAME "Material.001"                       
        *MATERIAL_CLASS "Standard"                       
        *MATERIAL_AMBIENT  0.0000 0.0000 0.0000                       
        *MATERIAL_DIFFUSE  0.8000 0.8000 0.8000                       
        *MATERIAL_SPECULAR  1.0000 1.0000 1.0000                       
        *MATERIAL_SHINE  0.0978                       
        *MATERIAL_SHINESTRENGTH  0.5000                       
        *MATERIAL_TRANSPARENCY  0.0000                       
        *MATERIAL_WIRESIZE  1.0000                       
        *MATERIAL_SHADING Cooktorr                       
        *MATERIAL_XP_FALLOFF  0.0000                       
        *MATERIAL_SELFILLUM  0.0000                       
        *MATERIAL_FALLOFF In                       
        *MATERIAL_XP_TYPE Filter                       
        *MAP_DIFFUSE {                       
            *MAP_NAME "Texture.001"                       
            *MAP_CLASS "Bitmap"                       
            *MAP_SUBNO 1                       
            *MAP_AMOUNT  1.0000                       
            *BITMAP "//base/poyta"                    
            *MAP_TYPE Screen                       
            *UVW_U_OFFSET  0.0000                       
            *UVW_V_OFFSET  0.0000                       
            *UVW_U_TILING  1.0000                       
            *UVW_V_TILING  1.0000                       
            *UVW_ANGLE  0.0000                       
            *UVW_BLUR  1.0000                       
            *UVW_BLUR_OFFSET  0.0000                       
            *UVW_NOUSE_AMT  1.0000                       
            *UVW_NOISE_SIZE  1.0000                       
            *UVW_NOISE_LEVEL 1                       
            *UVW_NOISE_PHASE  0.0000                       
            *BITMAP_FILTER Pyramidal                       
        }                                              
        *NUMSUBMTLS 0                       
}

With:

*MATERIAL_LIST {                    
    *MATERIAL_COUNT 1                    
    *MATERIAL 0 {                    
        *MATERIAL_NAME "Material.001"                       
        *MATERIAL_CLASS "Standard"                       
        *MATERIAL_AMBIENT  0.0000 0.0000 0.0000                       
        *MATERIAL_DIFFUSE  0.8000 0.8000 0.8000                       
        *MATERIAL_SPECULAR  1.0000 1.0000 1.0000                       
        *MATERIAL_SHINE  0.0978                       
        *MATERIAL_SHINESTRENGTH  0.5000                       
        *MATERIAL_TRANSPARENCY  0.0000                       
        *MATERIAL_WIRESIZE  1.0000                       
        *MATERIAL_SHADING Phong                       
        *MATERIAL_XP_FALLOFF  0.0000                       
        *MATERIAL_SELFILLUM  0.0000                       
        *MATERIAL_FALLOFF In                       
        *MATERIAL_XP_TYPE Filter                       
        *MAP_DIFFUSE {                       
            *MAP_NAME "Texture.001"                       
            *MAP_CLASS "Bitmap"                       
            *MAP_SUBNO 1                       
            *MAP_AMOUNT  1.0000                       
            *BITMAP "//base/poyta"                      
            *MAP_TYPE Screen                       
            *UVW_U_OFFSET  0.0000                       
            *UVW_V_OFFSET  0.0000                       
            *UVW_U_TILING  1.0000                       
            *UVW_V_TILING  1.0000                       
            *UVW_ANGLE  0.0000                       
            *UVW_BLUR  1.0000                       
            *UVW_BLUR_OFFSET  0.0000                       
            *UVW_NOUSE_AMT  1.0000                       
            *UVW_NOISE_SIZE  1.0000                       
            *UVW_NOISE_LEVEL 1                       
            *UVW_NOISE_PHASE  0.0000                       
            *BITMAP_FILTER Pyramidal                       
        }                                              
    }                       
}
@DanielGibson
Copy link
Member

*MATERIAL_COUNT 1 doesn't sound like there are multiple materials in the list? (what list anyway?)

@DanielGibson
Copy link
Member

https://code.google.com/p/ase-export-vmc/issues/detail?id=7 I guess this is the same issue on the exporter project's bugtracker

kortemik pushed a commit that referenced this issue Dec 5, 2015
usage and better command-line help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants