Added names to UV and vertex color layers, and display them as a list.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 21 Dec 2006 13:47:27 +0000 (13:47 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 21 Dec 2006 13:47:27 +0000 (13:47 +0000)
commit47bc3d1208c48903f53728d17d3acbb1ccbd06cb
treeeca808294b88940590b8dc7e9693acc20ef2048f
parentedccdf934018264002c034906e8a287d12b7ead7
Added names to UV and vertex color layers, and display them as a list.

Added support for multiple UVs in the render engine. This also involved
changing the way faces are stored, to allow data to be added optionally
per 256 faces, same as the existing system for vertices.

A UV layer can be specified in the Map Input panel and the Geometry node
by name. Leaving this field blank will default to the active UV layer.

Also added sharing of face selection and hiding between UV layers, and at
the same time improved syncing with editmode selection and hiding.

Still to do:
- Multi UV support for fastshade.
- Multires and NMesh preservation of multiple UV sets.
39 files changed:
source/blender/blenkernel/BKE_customdata.h
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/node_shaders.c
source/blender/blenloader/intern/readfile.c
source/blender/include/BDR_editface.h
source/blender/makesdna/DNA_customdata_types.h
source/blender/makesdna/DNA_node_types.h
source/blender/makesdna/DNA_texture_types.h
source/blender/radiosity/intern/source/radrender.c
source/blender/render/extern/include/RE_shader_ext.h
source/blender/render/intern/include/render_types.h
source/blender/render/intern/include/renderdatabase.h
source/blender/render/intern/include/shading.h
source/blender/render/intern/include/texture.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/envmap.c
source/blender/render/intern/source/ray.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/renderdatabase.c
source/blender/render/intern/source/shadbuf.c
source/blender/render/intern/source/shadeinput.c
source/blender/render/intern/source/shadeoutput.c
source/blender/render/intern/source/texture.c
source/blender/render/intern/source/zbuf.c
source/blender/src/buttons_editing.c
source/blender/src/buttons_shading.c
source/blender/src/drawmesh.c
source/blender/src/drawnode.c
source/blender/src/drawobject.c
source/blender/src/editface.c
source/blender/src/editmesh.c
source/blender/src/imagepaint.c
source/blender/src/vpaint.c
source/blender/yafray/intern/export_File.cpp
source/blender/yafray/intern/export_Plugin.cpp
source/blender/yafray/intern/yafray_Render.cpp
source/blender/yafray/intern/yafray_Render.h