struggle with Point deform

   6400   8   0
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
Starting shape is a Circle.
I'd like to deform it using a cage like you would do in Photoshop.

This is done in Photoshop:



When I try to use the point deform node in Hou, the result looks bad


Problems:
1) the deformed shape is not smooth
2) not all 4 sides of the cage touch the deformed ellipse
3) the deformed shape doesn't seem to lay on the plane of the cage
4) the deformed shape trespasses the cage

Any help is super welcome!
Thanks

Attached you'll find the .hip file if you want to have a look.

Attachments:
Q_fail_point_deform.hiplc (110.8 KB)

User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hi
The bound node makes a box actually so that will confuse the hell out of the point deformer. Ive set up a grid instead that gets the bounds from the circle. As for the deformation you might be better off with higher radius on the deformer and no resampling. But i cant seem to get the circle to stay inside the cage so i switched to the lattice deformer instead. Not perfect but at least its inside

-b

Attachment Not Found
Edited by bonsak - May 22, 2018 15:31:10

Attachments:
Q_fail_point_deform-2.hiplc (113.8 KB)

http://www.racecar.no [www.racecar.no]
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Here is another variant using xyz_dist and attribute interpolate. This might be closer to what you are looking form

-b
Attachment Not Found

Attachments:
Q_fail_point_deform-3.hiplc (117.9 KB)

http://www.racecar.no [www.racecar.no]
User Avatar
Member
2129 posts
Joined: Sept. 2015
Offline
Is there a reason you want to deform the circle ‘like in photoshop’ ?

Why not just use a single transform node to elongate and rotate the circle?
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
thank you a lot Bonsak!
the xyz_dist variant looks perfect!

cheers
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
BabaJ
Is there a reason you want to deform the circle ‘like in photoshop’ ?

Why not just use a single transform node to elongate and rotate the circle?


hey BabaJ, the circle is just a placeholder for the example.
I need to conform some curves/patterns to different polys with different shapes.

cheers
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
Hey Bonsak, I've encountered a weird case using your setup and I don't quite understand the reason…

Left image is the original shape with its cage.
Right image is the interpolated result. The triangle is being deformed while the shape of the cage itself has not even changed.



I might have broken your setup at some point without noticing?
Edited by Andr1 - May 23, 2018 09:12:07

Attachments:
Q_pointDef_newCase.hiplc (136.3 KB)

User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
My bad. The uv was wrong. Set it to Othographic and Z axis. And on the Interpolate node replace the P with an asterix *. No idea how that got in there

-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
118 posts
Joined: Feb. 2016
Offline
Yes!
  • Quick Links