View Orientation Quaternion along curve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create variables | |
vector tangentv = v@tangentv; | |
vector tangentu = v@tangentu; | |
tangentv = cross(tangentu, @N); | |
float seed = ch('seed') + @primseed; | |
@up = tangentu; |
View Pscale along curve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//define scales | |
float seed = ch('seed') + @primseed; | |
@Rand_Pscale = fit01(rand(i@ptnum+seed+225), -ch('Rand_Scale'), ch('Rand_Scale')) * chramp("Ramp_Scale", @curveu); | |
@Uniform_Pscale = chf('Scale') * chramp('Ramp_Scale', @curveu); | |
//apply pscale |
View group end point
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`npoints(0)-1` |
View MinPos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@P = minpos (1, @P); |
View Attribute Driven Blendshape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v@P=lerp(v@P, point(1,'P',@ptnum), f@mask*ch('blend')); |
View Pscale on Mesh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//define scales | |
float seed = ch('seed') + @primseed; | |
@Rand_Pscale = fit01(rand(i@ptnum+seed+225), -ch('Rand_Scale'), ch('Rand_Scale')); | |
@Uniform_Pscale = chf('Scale'); | |
//apply pscale |
View pushalongvector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v@P += chf('scale') * v@N; |
View get attribute from second input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Cd = v@opinput1_Cd; |
View pointveltovolume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int pt = nearpoint(1,@P); | |
v@vel = point(1,'v',pt); |
View Hscript Details import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
detail(0,"rotx",1) |
OlderNewer