Ancestors

Toot

Written by Arseny Kapoulkine on 2024-12-29 at 21:26

@mbr In http://marc-b-reynolds.github.io/quaternions/2017/05/02/QuatQuantPart1.html, is the Cayley transform correct? The inverse seems to produce the conjugate quaternion; vec4(-s*v.xyz, 1.0 - s) seems to produce correct reconstruction.

=> More informations about this toot | More toots from zeux@mastodon.gamedev.place

Descendants

Written by Marc B. Reynolds on 2024-12-30 at 23:56

Yeah. Both the equation and the code for the inverse transform are wrong in that post. I should have written that line as:

vec4(s*v.xyz, s-1.0)

It is correct in the "toy" C code that is linked and used to produce the plots.

=> More informations about this toot | More toots from mbr@mastodon.gamedev.place

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113738223561121735
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
248.997044 milliseconds
Gemini-to-HTML Time
0.78058 milliseconds

This content has been proxied by September (ba2dc).