[Bf-committers] Angle Calculation Code
Austin Benesh
bfdeveloper at gmail.com
Mon Mar 7 19:13:12 CET 2005
It's too bad that's not possible. That would be a good help. Oh well,
I have better things to do...
--Austin
On Mon, 7 Mar 2005 15:28:08 +0100, Ton Roosendaal <ton at blender.org> wrote:
> Hi,
>
> That cannot be done simply, because Blender Mesh allows any level of
> connectivity between edges. Constructing lists of
> edges-connected-to-edges will be time consuming, especially for use in
> redrawing code.
>
> Using a face isn't too bad, also because you know all angles make up to
> 360 degrees, so you can calculate the missing one easily. :)
>
> -Ton-
>
> On 7 Mar, 2005, at 5:43, Austin Benesh wrote:
>
> > After taking some time to look through the code that calculates the
> > angles between edges, I found that it works per face rather than per
> > individual edge. This is fine, except for the fact that it excludes
> > any other angles (not all objects have 3 or 4 edges) including
> > comparing between 2 faces. I found this particularly annoying when I
> > was trying to calculate the angles of a gem I designed with Blender.
> > You can compare edges 1 & 2, or 2 & 3, or 3 & 4, or 4 & 1, but not 2 &
> > 4 or 1 & 3 (diagram below). I think that this section should be
> > recoded to work more independently from the faces and focus on edges,
> > seeing as how you're most likely comparing angles that are not part of
> > a single face. Any ideas on this?
> >
> >
> >
> > <image.tiff>
> >
> > -- Austin
> >
> >
> > <image002.jpg>_______________________________________________
> > Bf-committers mailing list
> > Bf-committers at projects.blender.org
> > http://projects.blender.org/mailman/listinfo/bf-committers
> >
> ------------------------------------------------------------------------
> --
> Ton Roosendaal Blender Foundation ton at blender.org
> http://www.blender.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list