Greg Bollella

GregBollella

About Me

EXPERTISE
Generalist
INDUSTRY
Design

Connect

LOCATION
Redwood City, United States

Houdini Skills

ADVANCED
Python
INTERMEDIATE
Procedural Modeling  | Character Rigging  | VEX
BEGINNER
Environments  | Animation  | Hair & Fur  | Cloth  | Solaris

Availability

I am available for Contract Work

Recent Forum Posts

Accumulating a Value in a ForEach Loop Nov. 8, 2024, 6:07 p.m.

toadstorm
Just use the Chain SOP and provide a straight line as the curve input, it'll handle it for you.

Wow! The Chain SOP is amazing !

Greg

Accumulating a Value in a ForEach Loop Nov. 8, 2024, 6:01 p.m.

toadstorm
I don't think you'll likely see a huge computational difference but you could totally benchmark it if you want. A Transform in SOPs context is multiplying every point by the matrix you define in that interface anyways... I wouldn't expect adding a fixed value to P every frame to change that too much.

If you're trying to do this in the most straightforward way possible, I wouldn't even bother with a For/Each loop. Just use the Chain SOP and provide a straight line as the curve input, it'll handle it for you. Just figured this example with VEX and loops would be a good way to show you how Houdini thinks and better answer your original question.

Ah, good point about the Transform SOP moving every point anyway.

Thanks, I will give the Chain SOP a look!

Greg

Accumulating a Value in a ForEach Loop Nov. 8, 2024, 5:49 p.m.

GOgraphR
Hi !

I think the "match size" node could be usefull here...


Thanks. Seems like an elegant solution! I'll try to get it to work with an arbitrary number of input geos.

Greg