Texture/Mask/Displacement Painting HDA, WIP
61903 205 11- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
Image Not Found
So my approach before was creating intersecting circles and then calculating the intersections, it works but was way too slow for my liking. My new approach is to create non intersecting circles and in either a solver or a for loop, gradually increase their size, checking per point if the closest other point is part of the same primitive or not. If it is, keep increasing the size, if it isn't, average the positions. That's it in a nut shell. . I've been working on and off on this for a couple of months but then I found this approach. Quite elegant, simple and fast. It takes 4-5 sec for 9000 scales on a fairly old cpu so.
Edited by Wout Tengrootenhuysen - Feb. 21, 2021 16:07:18
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
1) Move points outward along the vector : circleMiddle to Point
2) add uv's, I'll havee to look into it a bit more
3) Working on that, it's crystalizing, I think I have a good approach almost..
4) What kind of parameters ?
Right now I'm thinking, create Hero scales, the ones you wanna place by hand, control their size, shape etc. Then run the solver on them and fill in the gaps, hero scales don't move or grow, but are affected when other scales come near. Something like that.
2) add uv's, I'll havee to look into it a bit more
3) Working on that, it's crystalizing, I think I have a good approach almost..
4) What kind of parameters ?
Right now I'm thinking, create Hero scales, the ones you wanna place by hand, control their size, shape etc. Then run the solver on them and fill in the gaps, hero scales don't move or grow, but are affected when other scales come near. Something like that.
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Wout Tengrootenhuysen
- Member
- 139 posts
- Joined: Aug. 2015
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
- Bennell
- Member
- 75 posts
- Joined: Dec. 2017
- Offline
-
- Quick Links