POV-Ray : Newsgroups : povray.binaries.images : Problems with rotation... : Re: Problems with rotation... Server Time
19 Aug 2024 04:27:58 EDT (-0400)
  Re: Problems with rotation...  
From: Chris Huff
Date: 12 Jan 2001 17:13:59
Message: <chrishuff-A4311F.17154012012001@news.povray.org>
In article <3A5EE735.FD1A75E4@t-online.de>, Weinzierl Stefan 
<Ste### [at] t-onlinede> wrote:

> The problem is for a game I need a rolling ball, so I made the matrix in
> the first picture with the code below. As you can see in the blue
> rectangles this runs good, when I rotate only one axis. But when both
> axis must be rotated I don't get the result what I wan't. The second
> picture show's how the green marked rectangle should look like. Or in an
> other question how could I rotate both axis in the same time?

You may find the AxisRotate() macro helpful: 
http://enphilistor.users4.50megs.com/macs.htm

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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