Jump to content

Per quad prim copy w. lattice deform setup


Recommended Posts

So I had this idea for a very simplified setup for this kinda thing (link) but I ran into an issue very similar to what we solved for the "perfect tetrahedral tessellation".

The idea is to create a per primitive "box" and then (in a foreach) copy and reshape the object box to each primitive box, then use the new point positions to shift the copy object into place with a lattice. I tried to use the extract transform setup we used in the tetrahedron reshaping setup, but no luck. My brow is just to low to solve this it seems. ;)

And yeah, it's kinda tricky to explain, hehe, but if you're wondering what the h*ll I'm drivelling on about, here's the setup.

per.prim.lattice.v1.hiplc

 

Link to comment
Share on other sites

LOL, yes, but you forego the whole point of doing this without being extremely clever with VEX. So even if you just posted one of the cooler setups I've seen in VEX, kinda solving the end goal of the setup, it doesn't answer the question. ;)

That being said, with this setup you basically did a knit setup with 1/25 the amount of nodes compared to the one that was posted here a couple of weeks ago. :D

per.prim.copy.petz.hiplc

Edited by Farmfield
Link to comment
Share on other sites

Oh yes, now we are talking. Though you still some VEX cleverness I need to dig into, you do a lot of stuff here in line with my original idea. This both answers the question as well as shows off some great workflows I know I'll have use for. An example being the wrangle SOP creating a point in the middle of a primitive (which I knew) also adding the normal from that prim (something I tried to solve in VEX for quite a while before giving up, creating my 6 node setup to do just that, hehe :blink:).

So yeah, great work and much appreciated, Petz.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...