LumieraMeow / ogre-procedural

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

Tight angles with extruder #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using BezierPath in an extruder can produce visual bugs, especially when 
working with tight angles. A workaround should be found to make it look 
visually OK.

Original issue reported on code.google.com by michael.broutin@gmail.com on 4 Nov 2010 at 10:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Algorithm idea:
- First, find the bounding circle of the shape
- Determine the intersection line between the two planes (last path point and 
current point)
- Project q*circleCenter3 on this line
- If distance from this point to its projection is > enclosingCircleRadius, no 
action taken
- Otherwise, shift v0 by the amount needed

Original comment by michael.broutin@gmail.com on 17 Feb 2011 at 8:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Implementing the method described above gave weird results, because while 
translating shape, orientation was not updated.
Another approach to take:
- Let this function be a part of Path, so orientations are re-computed when 
extruding.
- Create a function in Shape/multiShape to find the smallest bounding circle.

Original comment by michael.broutin@gmail.com on 18 Apr 2011 at 8:47

GoogleCodeExporter commented 8 years ago
Didn't work either... disabled feature and postpone to 0.3...

Original comment by michael.broutin@gmail.com on 25 Apr 2011 at 8:14

GoogleCodeExporter commented 8 years ago

Original comment by michael.broutin@gmail.com on 17 Dec 2012 at 11:00