[Bf-python] Texture API- first "sketch"
Kent Mein
mein at cs.umn.edu
Wed Nov 12 16:19:26 CET 2003
> As well as creating this new module, I plan on adding the following
> functions to Material.Material:
>
> getTextures()- returns the 8 texture channels as an 8-tuple with None
> for empty channels and Texture objects in the rest
>
> setTexture(num,tex)- set channel _num_ to texture _tex_
>
> clearTexture(num)- remove a texture from channel _num_
It would be really nice if it used a list instead of a fixed 8.
I'm sure in the future we will be expanding it so a material can have
more channels. Maybe not right away but since were working on this stuff now
it might be nice to make it expandable.
Just an idea.
Kent
--
mein at cs.umn.edu
http://www.cs.umn.edu/~mein
More information about the Bf-python
mailing list