[Bf-python] povanim

jms jmsoler at free.fr
Sat Jul 5 21:09:23 CEST 2003


jms wrote:

> Willian Padovani Germano wrote:
>
> > jms,
> >
> > You reported this at the Python forum:
> >
> > > In edit button window.
> > > TextFace and VertCol can be used together
> > > if the mesh is "vertex painted" after it was
> > > "faceseleted"
> >
> > > But button VertCol remains on Make and
> > > no signal is given to the python.
> >
> > > VertCol alone works correctely.
> >
> > I made tests and both textures (uv images and procedural) and vertex
> > colors seem to work fine, I could use a script to copy the mesh and both
> > the original and its copy rendered nicely.
> >
> > What you say is right, the TexFace and VertCol buttons in Edit Buttons
> > win seem to be mutually exclusive.
> >
>
> Povanim needs a signal to export Vertex Color  and it seems that it is not
> emited when the button VertCol is not set on...
>

If a mesh has vertex colours AND uvcoords then the functions hasVertexcolours()
and hasFaceUV() return : 0 and 1,  but povanim is waiting for 1 and 1.

A curious detail : when you push the VertCol button, the button Double Sided is unset.

With regards.
jms





More information about the Bf-python mailing list