[Bf-codereview] modeler normals don't match render normals (issue4280049)

Morten Mikkelsen mikkelsen7 at gmail.com
Tue Mar 15 15:28:54 CET 2011


So you'd be happy with it the way it is if I took out the mem-clear and the
normalization
thus getting rid of the ability to iterate over the vertices?



On Tue, Mar 15, 2011 at 7:22 AM, <brechtvanlommel at gmail.com> wrote:

> On 2011/03/15 14:10:45, mikkelsen7 wrote:
>
>> We can change anything we want in there. Angle weighed, not angle
>>
> weighted,
>
>> check for degenerate prims, whatever. Anything we might ever want to
>>
> add or
>
>> remove
>> from the method is now confined to one place which is a huge plus.
>>
>
> Well, I don't think we should account for everything you might possibly
> want to do, but it's not even clear what you might need this abstraction
> for in the future. All these examples you give can be done inside a
> function like accumulate_vertex_normals.
>
> These iterators are hard to follow & debug, I much prefer readable
> slightly duplicated code over this.
>
>
> http://codereview.appspot.com/4280049/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-codereview/attachments/20110315/1fdbc8ac/attachment.htm 


More information about the Bf-codereview mailing list