[Bf-python] Texture module

Gilbert, Joseph jgilbert at tigr.org
Tue Nov 11 21:05:17 CET 2003


My personal preference is for have all the #defines from the .c file defined
as constants in the python texture module.  The difference is:
myTex.setMode('wood')
or
myTex.setMode(WOOD)

I personally like the latter and the BGL(& lattice) module is built like
this at least (I haven't looked at the others). However, it doesn't always
seem to be the case... 
You just have to write the beginning of the script:


More information about the Bf-python mailing list