Hi
I'm trying to copy stamp geometry onto the center of the primitives and fit that stamped geometry to the scale of primitive it's stamped onto.
So getting the cntr of the prim isn't a problem, but my issue is getting the stamped geo to fit the size of the primitive.
If it was a 2d grid this would be simpler, but I have to apply it to a 3d model.
My original thought was to flatten out the geometry, run a For Each on the primitives to get the X and Y scale of every primitive, then transform the geometry back to it's original state. However I'm not having to much success with this one.
Any Ideas?
Fitting copied geo to primitive size?
4064 9 1- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
Seem to be having trouble attaching a pic.
heres's a dropbox upload of it:
https://www.dropbox.com/s/xvi393f3yiyznrp/stamp_q.jpg?dl=0 [dropbox.com]
heres's a dropbox upload of it:
https://www.dropbox.com/s/xvi393f3yiyznrp/stamp_q.jpg?dl=0 [dropbox.com]
Edited by JasonSlab - March 31, 2017 11:36:09
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
After playing around with this some more, its become trickier than I first imagined.
The problem is that polygons are often skewed/sheared which means I cant simply copy stamp the shapes.I need to somehow deform or rebuild each shape to fit each polygon.. Not sure if this is even possible…
Maybe a totally different approach is needed. Is there a way to tile geometry over a surface based off UVs?
J
The problem is that polygons are often skewed/sheared which means I cant simply copy stamp the shapes.I need to somehow deform or rebuild each shape to fit each polygon.. Not sure if this is even possible…
Maybe a totally different approach is needed. Is there a way to tile geometry over a surface based off UVs?
J
Edited by JasonSlab - April 2, 2017 05:57:48
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
- mestela
- Member
- 1737 posts
- Joined: May 2006
- Offline
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
mestela'0
Or Japanese if that's easier.
http://qiita.com/yone80@github/items/e373c104520c38bd9610 [qiita.com]
O haha thanks, so much easier to understand
- pezetko
- Member
- 387 posts
- Joined: Nov. 2008
- Offline
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
- JasonSlab
- Member
- 1533 posts
- Joined: March 2020
- Offline
Hey all
I managed to hack together a file from the Russian video, it's not complete, but I built the part I needed, which seems to be working like a treat! I had a dig around in the Japanese version to, but found the Russian tut to be a bit more straightforward!
I've attached a hip with the basic setup, which also includes Pezetko's idea.
edit: Again I can't seem to attach files to the forum, so here's a dropbox link:
https://www.dropbox.com/s/trkfgck7m04uk35/fittoPrim_rnd_v01.hip?dl=0 [dropbox.com]
Thanks for the help.
Jason
I managed to hack together a file from the Russian video, it's not complete, but I built the part I needed, which seems to be working like a treat! I had a dig around in the Japanese version to, but found the Russian tut to be a bit more straightforward!
I've attached a hip with the basic setup, which also includes Pezetko's idea.
edit: Again I can't seem to attach files to the forum, so here's a dropbox link:
https://www.dropbox.com/s/trkfgck7m04uk35/fittoPrim_rnd_v01.hip?dl=0 [dropbox.com]
Thanks for the help.
Jason
Edited by JasonSlab - April 3, 2017 09:38:28
-
- Quick Links