POV-Ray : Newsgroups : povray.advanced-users : Rotation Matrix around X or Y axis Actual vs. Theoretical : Re: Rotation Matrix around X or Y axis Actual vs. Theoretical Server Time
28 Jul 2024 18:22:19 EDT (-0400)
  Re: Rotation Matrix around X or Y axis Actual vs. Theoretical  
From: Warp
Date: 21 Sep 2004 06:54:12
Message: <41500854@news.povray.org>
amjad <amj### [at] okstateedu> wrote:
> > Thanks for the fast reply. When we have the camera at <0,0,-z> and we do a simple
rotation i.e. around X-axis, the si
> mple rotation matrix indicate that all x coordinate  will stay the same! But in
reality, a parallel street will converg
> e to a point far away, thus the x-coordinates are changing as well as the
y-coordinate.

  X-coordinates are not changing, Z-coordinates are, which causes some
points to end up closer to the camera and other points to be farther
from the camera than originally, thus causing perspective distortion.

  This is exactly what rotation does. If you want to do something else,
you should be more specific.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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