POV-Ray : Newsgroups : povray.general : Basic usage instructions for Matrix Calc : Re: Basic usage instructions for Matrix Calc Server Time
9 Aug 2024 03:25:39 EDT (-0400)
  Re: Basic usage instructions for Matrix Calc  
From: David Fontaine
Date: 20 Aug 2000 20:01:41
Message: <39A06F46.DC401383@faricy.net>
Warp wrote:

>   Just one question:
>   What's the difference between making a series of rotations, scales and
> translates in your program or in povray?

Shearing is the best use of matrices I think. To do it with normal tranforms
takes some trig. But it also writes more compact code if for some reason you
want something like
object { ... translate ... scale ... rotate ... translate ... }
(maybe you want to an object to be scaled and rotated about a point other than
the origin and then move it into place...)
Of course, version 1.0 was next to useless without the paste-to-POV ability. :-/

And yes, I have used shearing on several occasions.

>   Well, parsing a matrix may take a couple of milliseconds less than parsing
> 10 transformations, but does that matter?

No.

>   Note: I'm not saying that your program is not good. It sounds like fun.

Hmm, my main purpose in writing it was to familiarize myself with VB...

--
David Fontaine   <dav### [at] faricynet>   ICQ 55354965
Please visit my website:  http://davidf.faricy.net/


Post a reply to this message

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