Sunday, 19 September 2010

blender 2.54 Mesh Tools 2D Boolean on Edges (part 2)

this i think represents the most complicated case over which the code should eventually be able to iterate.

it should manipulate the given geometry into this:

3 comments:

  1. working on it today :) learnt some new stuff too :)

    ReplyDelete
  2. Well
    First you will need the camera coordinates.

    Then Iterate each edge creating the planes equation between 3 points (camera location, and the 2 vertex in the edge)

    Then iterate again and look for all the edges that intersects that plane. Those intersections will tell you where to add points into the edge on the first iteration.

    This way you can also cut the edges if they cross each other.

    ReplyDelete