Greg Bollella

GregBollella

About Me

専門知識
Generalist
業界:
Design

Connect

LOCATION
Redwood City, United States

Houdini Engine

ADVANCED
Python
INTERMEDIATE
プロシージャルワークフロー  | キャラクタ & アニメーション  | 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 2024年11月8日18:07

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 2024年11月8日18:01

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 2024年11月8日17:49

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