[Bf-python] verts color assign (maybe feature request)

Manuel Bastioni manuelbastioni at tin.it
Tue Jan 18 23:47:17 CET 2005


Hi!
We are working on a sub surface scattering script.
It's usable: 15000 verts computed in about 10-12 seconds!

http://www.dedalo-3d.com/index.php?filename=SXCOL/makehuman/articles/subsurface_scattering_in_python.html

It work with verts colors.
So the user must press the "make vertcol" button by hand
before use the script.

While this work fine for static images, it's a problem for animation.

We have trying this to automate the vcol assignement from lamp:

object = Object.GetSelected()
mesh = object[0].getData()
mesh.hasVertexColours(1)

but it don't work.

Any ideas?

Ciao,

            Manuel




More information about the Bf-python mailing list