Hi, for code examples check soc-2011-onion-uv-tools. A good place to start is blender/source/blender/editors/uvedit.
It has all functions related to uv editing. uv_draw.c is for drawing the user interface (along with blender/source/blender/editors/space_image files), uvedit_ops.c is general uv operations and uvedit_unwrap_ops.c is unwrapping operations. There are the uvedit_parameterizer files which contain a half edge algorithm used for unwrapping (check http://wiki.blender.org/index.php/Dev:Source/Textures/UV/Unwrapping for more information). Also, check what has already been implemented in onion so you don't do it twice :) http://wiki.blender.org/index.php/User:Psy-Fi#GSOC_2011_-_Onion_branch. For any questions feel free to email me or contact me in irc (nick: Psy-Fi), though I expect the following week I won't be much inside due to reading for my exam period and lots of relocations. _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
