[Soc-2017-dev] Weekly Report #04 - Normal Editing Tools

Rohan Rathi rohanrathi08 at gmail.com
Fri Jun 23 20:31:01 CEST 2017


What I did this week:

Did a lot of work this week. Completed the operator to point and align
normals by having clnors point to or align with mouse location. With this,
it finishes the first three parts of my proposal.

lnor spaces are now invalidated with transform ops as well, works the same
way as before ie invalidates all the spaces of the faces that share the
selected vertices.

There is also a checkbox to keep the pre-transform clnors of the mesh after
the transform has
completed. This was a suggestion in BA, specifically for negative scaling
and the mirror tool. Unfortunately hasn't fixed either as in negative
scaling the the lnors already stay the same, you have to invert them
instead and mirror tool has weird interaction with custom normals. I'll
address this by the end of next week I think.

Whenever the Loop Normal spaces are rebuilt, an auxiliary function is now
called which again invalidates and then rebuilds ALL the Loop Normal Spaces
of the mesh, so if any of the Loop Normal spaces change, this means that
the mesh editing function prior to this which was meant to invalidate lnor
spaces did not correctly mark all the lnor spaces as invalid.

Ability to edit individual clnors:
Select a vertex then face, then perform any standard edit op, only those
clnors will be edited which are common to the selected verts and faces. The
workflow may not be as fast as I had imagined, but it still is a better and
faster technique than all other methods I could think of.


What I plan on doing next week:
Wrote trivial code for merging normals, doesn't work. Atleast, now I know
what not to do with this operator. I reckon I may need more than just a
couple of days for this operator.
Split and Merge are complementary ops and they will take most of the week.

Links:
My proposal: https://wiki.blender.org/index.php/User:RohanRathi
/GSoC_2017/Proposal
Git branch: https://developer.blender.org/diffusion/B/browse/soc
-2017-normal-tools/
Blender Artists Thread: https://blenderartists.org/forum/showthread.php?
427746-GSoC-2017-Normal-Editing-Tools

Thank You,
Rohan Rathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2017-dev/attachments/20170624/fb0ac69c/attachment.htm 


More information about the Soc-2017-dev mailing list