POV-Ray : Newsgroups : povray.off-topic : Flipping a quaternion : Re: Flipping a quaternion Server Time
5 Sep 2024 09:21:50 EDT (-0400)
  Re: Flipping a quaternion  
From: c
Date: 19 Aug 2009 11:50:54
Message: <4a8c1f5e@news.povray.org>
scott wrote:
>> Both of these seem to work but I can't find how to flip a quaternion.
> 
> A rotation quaternion is defined as (w,x,y,z) where xyz is the axis to 
> rotate around and w is related to the rotation angle.  Would simply 
> swapping the y and z elements around do what you want?
> 
> 

Now I've resorted to leaving the coordinates the same and just flipping 
the camera around instead,
and I've got everything working like that, but now I'm having problems 
flipping a matrix.
So for now I'm just going to leave it like it is and maybe come back to 
that later.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.