POV-Ray : Newsgroups : povray.general : matrix (components as functions of the coordinates) : Re: matrix (components as functions of the coordinates) Server Time
4 Aug 2024 08:22:25 EDT (-0400)
  Re: matrix (components as functions of the coordinates)  
From: Warp
Date: 13 Jun 2003 04:58:25
Message: <3ee99231@news.povray.org>
Edwin Miller <edw### [at] webde> wrote:
> But nevertheless it would be a great feature (in my opinion)
> if POVRAY could do something like skaling an object as a function
> of the coordinates ;-)

  It certainly would be nice, but it's not possible because it's not
an affine transformation (even though it might look like it was).
  Affine transformations are all those transformation which keep a
straight line straight after the transformation. If the line would be
bent after the transformation, that's just not possible. (And here I'm
talking naturally about the ray we are tracing.)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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