carl drifter

carldrifter

About Me

Expertise
Freelancer
Location
China
Website

Connect

Recent Forum Posts

How to use the second input of subdivide/tridivide/divide sop? July 7, 2018, 3:25 a.m.

Hi all,

I check the help file and try to figure outh the function of second input of subdivide sop, tridivide sop and divide sop.
It says that the second input for a subudivide sop is for creaseweight ovrride, and for tridivide is for the length control and for divide sop is for rest position for a convex function. But I didn't figure out how to use them?
Can anyone give me a demo file?


Best wishes

What's the different between vector 4 and quaternion July 1, 2018, 7:49 a.m.

Olaf Finkbeiner
P{x,y,z,w},RGBA,@orient @rot etc. are all “vector 4” meaning they are made up of 4 floats (nothing more)

and: @orient is also a quaternion (and a vector 4)
see https://en.wikipedia.org/wiki/Quaternion [en.wikipedia.org]

The cool thing about a quaternion is that it needs only a vector 4 to define a orientation in 3d space.

Compare a quaternion to a rotation matrix and as far as i understand that would need a 4x4 matrix so 16 float values…(not 100% sure here)


Thanks very much, Olaf. If I undstand correctly,vector4 is a basic type but quaternion is a special type of vector4.Therefore,I can define vector 4 with any 4 floats as I want but not all vector4 type can be quaternion. Quaternion are related to transform and rotation~

What's the different between vector 4 and quaternion June 30, 2018, 10:32 p.m.

Hi all,
I have been confused for awhile between vector 4 and quaternion.

The folowing attribute: P{x,y,z,w},RGBA,@orient @rot etc. are they vector 4 or quaternion,what's the differences?
For vex, the sign for vector4 or quaternion are the same? like p@orinet?
when we use chp()function for vector4 or quaternion?


Best