Tomas Slancik

tamte

About Me

業界:
Advertising / Motion Graphics

Connect

LOCATION
New York, United States
ウェブサイト

Houdini Engine

Availability

I am currently employed at Method Studios

Recent Forum Posts

Workflow concerning cameras from Maya to Solaris 2025年1月23日19:46

Jaeger
However I believe there is maybe smarter methods. What can we do so we don't lose any data from Maya ?
Export as USD

bezier curve and water. 2025年1月23日1:02

carlitos1723
hello I have the impression that in houdini 20.5 I don't have the kelvin Wakes Deformer Houdini option
You need to install Sidefx Labs from the Launcher or SideFX Labs shelf

Question about Normal 2025年1月21日22:57

many VEX functions are overloaded, like rand() for example can return single float random number, vector2, vector etc..
Houdini can a lot of times infer this return type from the assignment and if not it will complain

in your case @N is one of the standard attributes and Houdini knows it's a vector even if you don;t specify it as v@N
and because @N is a vector, then Houdini will by default also use vector signature of rand() function in this line
@N *= rand(@ptnum);

meaning that each component of @N will be multiplied by a potentially different random number hence changing the normal's direction
on axis aligned grid it seemingly works since x and z components are 0 regardless

so to get what you want you can do this:
@N *= float(rand(@ptnum));
or maybe cleaner this:
float scale = rand(@ptnum);
@N *= scale;