Yes ... but reading wings_material.erl
I don't feel like I have any brain-storm yet. When you open the material editor after the fact ... you can see a bitmap attached to "diffuse" channel. But ... I can't see any API call to make it happen.
I dump the materials after mapping a cube by unwrapping (charts)
I don't feel like I have any brain-storm yet. When you open the material editor after the fact ... you can see a bitmap attached to "diffuse" channel. But ... I can't see any API call to make it happen.
I dump the materials after mapping a cube by unwrapping (charts)
Code:
1> {2,
{default,[{maps,[]},
{opengl,[{ambient,{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{diffuse,{0.7898538076923077,0.8133333333333334,
0.6940444444444445,1.0}},
{emission,{0.0,0.0,0.0,1.0}},
{shininess,0.0},
{specular,{0.0,0.0,0.0,1.0}},
{vertex_colors,set}]}],
{'Cube1_auv',[{maps,[{diffuse,0}]},
{opengl,[{ambient,{1.0,1.0,1.0,1.0}},
{diffuse,{1.0,1.0,1.0,1.0}},
{emission,{0.0,0.0,0.0,0.0}},
{shininess,1.0},
{specular,{1.0,1.0,1.0,1.0}},
{vertex_colors,ignore}]}],
nil,nil},
nil}}
1>