[Bf-committers] Patch: baking to vertex colours

Daniel Salazar - 3Developer.com zanqdo at gmail.com
Thu Oct 27 13:37:30 CEST 2011

cool. if we only had ptex!

Daniel Salazar

On Wed, Oct 26, 2011 at 5:04 PM, Alex Fraser <adfries at vpac.org> wrote:
> Hi all,
> I have submitted a patch that allows render baking directly to vertex colours. The advantage of this is that it doesn't require a UV map, but the quality of the bake will depend on the resolution of the mesh.
>    http://projects.blender.org/tracker/?func=detail&atid=127&aid=29035&group_id=9
>    http://www.pasteall.org/pic/19692
> It currently works well for all bake modes except full render, shadow and AO. Full render and shadow have the occasional black vertex, and AO has its values shifted randomly. Increasing the number of samples for AO fixes it, so I guess it's just unstable noise. Baking from selected to active works too.
> Baking a modified mesh (e.g. subdivision surface) does not work; it will segfault due to the different number of vertices. Maybe the bake should just skip objects that use such modifiers?
> Ton, you might be interested in the patch because it adds a new field 'origindex' to VlakTableNode, as suggested by Brecht. This maps from VlakRen back to the face in the source mesh. It is only populated when doing a vertex colour bake.
> Any feedback on this patch would be welcome.
> Cheers,
> Alex
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list