Extremely quick question :)

Hi! :slight_smile:

Here goes :stuck_out_tongue: ;
โ€œIf I have a unit vector XYZ, is it possible that X+Y+Z > 1.0?โ€

Apparantly, most of my normals add up to a value larger than 1.0, even larger than 1.5 in some cases. Is this โ€˜normalโ€™? :wink:

Hello,

You can have a vector defined as (1, 1, 1) which is not unit length. Making it unit length gives (~0.57735,~0.57735,~0.57735) which IS unit length. You can see that even adding two components will exceed one.

Length of vector (x,y,z) = sqrt( xx + yy + z*z).
0.55735 * 0.55735 = ~0.3333, and 0.3333 + 0.3333 + 0.3333 = ~1.0 .

Hello! :slight_smile:

Thank you very much! :smiley:

It is normal then :wink: