Jose Garcia

bhb

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Divide>Bricker .. switch if ODDS/PAIRS 2023年1月17日5:05

yEAH! Thats was the code.
Thanks!

Divide>Bricker .. switch if ODDS/PAIRS 2023年1月16日6:22

Ok. Thanks.
Thats one part of the problem.
But I need the use of SWITCHER between odds and pairs.
... Or use VEX > Wrangle(primitives) to switch pair/odds from input.

Years ago I saw that code, now I lost it.

In documentation there is only a mention to ot in Arrays
int odd = nums; // { 1, 3, 5 }

Divide>Bricker .. switch if ODDS/PAIRS 2023年1月10日11:06

Hello guys,

need help with a conditional inside switch node.

I have a wall , sometimes with odd number of prims (3,5,7..) and other times pairs numbers (2,4,6..).

Depending that number the switcher must select the correct one (0 or 1).

I need the wall divisions to be CENTERED in the wall. With de RESAMPLE node it seems imposible.

¿¿What is the correct code to apply??
should something like this:
if(nprims('../reverse5')==0, 0, 1)

Thanks in advance.