[Bf-committers] rendering mesh vertex color alpha component

Alexander Ewering blender at instinctive.de
Tue Mar 7 13:49:18 CET 2006


On Mon, 6 Mar 2006, Tell-you-later wrote:

> Hi All,
>  I'm adopting Blender as my 3D tool/renderer for
> scientific visualization, where mesh vertices quite
> often colormap with alpha information, yet I'm
> learning that such rendering isn't possible.  To be
> complete, I already posted this question in
>
>     Blender.org Forum Index  -> Rendering
>
> about having semi-transparent vertices render when
> belonging to a mesh with material mode VCol_Paint.
>
> I know everyone's busy, so is there anything I can do
> to help in this regard?  Thanks!
> Remik

Well, vertices already store RGB information, I'm sure it wouldn't be hard
to add an alpha component. Maybe you can take a look at the code yourself -
though from what I remember, the vertex color code is a bit messy and
tightly connected to the texture face code.

Mesh->MCol (IIRC) stores the vertex colors...

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list