POV-Ray : Newsgroups : povray.binaries.images : Rotation matrices : Re: Rotation matrices Server Time
9 May 2021 06:22:54 EDT (-0400)
  Re: Rotation matrices  
From: Bald Eagle
Date: 6 Apr 2021 17:20:00
Message: <web.606cd03d565eea121f9dae3025979125@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> I usually like to use trig functions in degrees rather than radians-- just
> easier to visualize for me. "math.inc" has some simple little 'converter'
> functions, sind() and cosd()

I was playing around with some things the other day, writing my function
document,  and noticed that we don't need "math.inc" anymore - at least not in
3.8.   :)

> But for your matrix illustrations, I don't know if they should be used (since I
> don't know enough about matrix math).

I just put sin and cos because everyone everywhere knows what that is and I
would hope that most people would assume that it's implied that there's a
degrees - to - radians conversion...   But "matrix math" is no different than
"spreadsheet math" or pencil and paper math or chalkboard math....   it's just a
way of laying things out so that the values in the places are operated on by the
appropriate values in the places of other matrices.  Or that the formulas for
things like determinants are using the right values.   No magic.

It's just an organizational thing to make the notation compact.

Just think about it as: array {Vec.x, Vec.y, Vec.z} and then make a 2D array
with 2 or 3 more vectors....


Post a reply to this message

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