copy onto and scale relative to poly size
3067 2 0- pingo
- Member
- 30 posts
- Joined: March 2006
- Offline
- gekkonier
- Member
- 10 posts
- Joined: Dec. 2010
- Offline
Hi, thats an interesting riddle, and I would like to know too how this could be achieved. Also I'm a big time noob here.
I managed to get geo copied onto primitives but not the points with your method so that the copied meshes change the direction. They orient, but not that much. Don't know how you can tell them to do better
About the size I have no idea, sorry. Maybe with a copy stamp method, but so far, I'm at learning…
Here is what I got so far:
https://dl.dropboxusercontent.com/u/9962499/houdiniforum/houses_on_polies.hipnc [dl.dropboxusercontent.com]
I managed to get geo copied onto primitives but not the points with your method so that the copied meshes change the direction. They orient, but not that much. Don't know how you can tell them to do better
About the size I have no idea, sorry. Maybe with a copy stamp method, but so far, I'm at learning…
Here is what I got so far:
https://dl.dropboxusercontent.com/u/9962499/houdiniforum/houses_on_polies.hipnc [dl.dropboxusercontent.com]
- Enivob
- Member
- 2625 posts
- Joined: June 2008
- Offline
What about something like this. First I split the grid into two grids so we clearly have two different grid areas. Then merge them together. Add a Measure SOP which adds an area attribute to the primitives. After that we need to promote(convert) the area attribute from the primitive column into the points column so the CopySOP can reference it. The help card tells us Copy can only reference point based attributes. Activate stamping and create a variable called myArea that references the $AREA attribute. After that you revisit the Transform node for the source geometry and scale the geometry using a stamp function referencing the variable we just created.
Now the houses in the larger grid area are taller than the houses in the smaller grid area.
Now the houses in the larger grid area are taller than the houses in the smaller grid area.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
-
- Quick Links