Hey guys,
I am trying to resample my primitives (hairgen) with the resample node.
I was wondering if there is a way to give a maximum and minimum cv count without croping my curve and still having a “regular” cv distribution along the curve.
I basically have some very short primitives and I still need them to have 4 cvs minimum, and I want my longest one to have maximum 8. But as soon as I am trying all the parameters I do have the short one with only 2 cvs, the long one which are croped, the long one which are absolutely not regular (keeping the last vertex) etc…
So if you have the solution that would be amazing.
Thanks!
Resample fur
2431 5 1- jordans
- Member
- 7 posts
- Joined: Jan. 2019
- Offline
- pelos
- Member
- 621 posts
- Joined: Aug. 2008
- Offline
- jordans
- Member
- 7 posts
- Joined: Jan. 2019
- Offline
- Midasssilver
- Member
- 310 posts
- Joined: July 2012
- Offline
- tamte
- Member
- 8839 posts
- Joined: July 2007
- Offline
jordansI guess this is an overstatement from the frustration
very very very basic thing that all the other software can do
Houdini tends to lack very very very specific and constraining tools as there can be literally millions of specific tool expectations
so it rather provides you with flexibility to build tools that suits your needs and then you can wrap that into a node for later use
just use Primitive Wrangle:
int min_segs = 4; int max_segs = 8; float min_length = .1; float max_length = 1; float length = primintrinsic(0, "measuredperimeter", @primnum); i@num_segments = rint(fit(length, min_length, max_length, min_segs, max_segs));
you can tweak the code to do the logic you expect
you can bundle those 2 together into an asset, promote the min/max values as sliders and you have your very very very basic tool
Edited by tamte - Feb. 27, 2019 14:50:35
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jordans
- Member
- 7 posts
- Joined: Jan. 2019
- Offline
Yep some frustration seeing that you can do crazy complex stuff with Houdini in 2 nodes, and some basic stuff needs to be hand coded or need 25 nodes.
That being said, it doesn't mean that Houdini is bad or whatever. I just think they should somehow remember that 3D artists are sometimes more artists than technicians, and cannot code their own node.
I am doing grooming since a while and I can definitely see that the tools hasn't been coded for “artists” but for technicians.
I would love SideFx to think about it, and leave more artistic freedom to people who don't know vex.
Anyway thanks for your code, going to test it!
Really appreciate it.
That being said, it doesn't mean that Houdini is bad or whatever. I just think they should somehow remember that 3D artists are sometimes more artists than technicians, and cannot code their own node.
I am doing grooming since a while and I can definitely see that the tools hasn't been coded for “artists” but for technicians.
I would love SideFx to think about it, and leave more artistic freedom to people who don't know vex.
Anyway thanks for your code, going to test it!
Really appreciate it.
-
- Quick Links