14.07.2015 Views

Spherical Skinning with Dual-Quaternions and QTangent - Crytek

Spherical Skinning with Dual-Quaternions and QTangent - Crytek

Spherical Skinning with Dual-Quaternions and QTangent - Crytek

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Quaternion CompressionWe can compress a Quaternion down to three elements bymaking sure one of the them is greater than or equal to zeroif (q.w < 0)q = -qWe can then rebuild the missing element <strong>with</strong>q.w = sqrt(1 – dot(q.xyz , q.xyz))

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!