Hi. I need to fix point positions procedurally like in this image:
http://i.imgur.com/BJGvReX.png [i.imgur.com]
Any ideas?
Fix points positions like in example
2489 3 1- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- Anonymous
- Member
- 678 posts
- Joined: 7月 2005
- Offline
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
Thanx But look at this: http://forums.odforce.net/topic/22941-fix-points-positions-like-in-example/ [forums.odforce.net]
One moment is that source polygons may be not so flat as in example.
And transitions of points need to be smooth between first and last points. At center V-sections (vertical edges) must be more flat than at start or end…
I think I found solution. Something like:
1. Give dot product from point to vertical neighbour and dot product from point to next point
2. Fit result value from start and end points dots, using point ration on full points path
3. Move point to next point with fited value
Need some tests. Still want to see any solutions
One moment is that source polygons may be not so flat as in example.
And transitions of points need to be smooth between first and last points. At center V-sections (vertical edges) must be more flat than at start or end…
I think I found solution. Something like:
1. Give dot product from point to vertical neighbour and dot product from point to next point
2. Fit result value from start and end points dots, using point ration on full points path
3. Move point to next point with fited value
Need some tests. Still want to see any solutions
Edited by - 2015年6月5日 06:17:00
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
-
- Quick Links