POV-Ray : Newsgroups : moray.win : rotation Server Time
29 Jul 2024 16:20:55 EDT (-0400)
  rotation (Message 1 to 5 of 5)  
From: Roland Vansteenkiste
Subject: rotation
Date: 6 Sep 1998 02:52:17
Message: <35f221ac.2750852@news.povray.org>
Transformations in Moray always happens in the same order , scale ,
rotate, translate. Is there a way to change this order?


Post a reply to this message

From: Johannes Hubert
Subject: Re: rotation
Date: 6 Sep 1998 06:08:27
Message: <35f2510b.0@news.povray.org>
Roland Vansteenkiste wrote in message <35f221ac.2750852@news.povray.org>...
>Transformations in Moray always happens in the same order , scale ,
>rotate, translate. Is there a way to change this order?

>

No.
And if you think about it, it is the logical way too... :-)
Even the POV-Ray docs say somewhere, that this is the way one should create
his objects.

Johannes.


Post a reply to this message

From: Roland Vansteenkiste
Subject: Re: rotation
Date: 7 Sep 1998 01:37:31
Message: <35f361c9.1793659@news.povray.org>
On Sun, 6 Sep 1998 11:14:17 +0200, "Johannes Hubert"
<jhu### [at] algonetse> wrote:

>Roland Vansteenkiste wrote in message <35f221ac.2750852@news.povray.org>...
>>Transformations in Moray always happens in the same order , scale ,
>>rotate, translate. Is there a way to change this order?
>
>>
>
>No.
>And if you think about it, it is the logical way too... :-)
>Even the POV-Ray docs say somewhere, that this is the way one should create
>his objects.

In most cases it is . But suppose you want to ceate a simple roof with
tree  angles  of  60 degrees. The easiest way is to create a box
centered at the world origin rotate is 45 degrees , scale it properly
in the X direction and then translate it to its final location. In
Povray its easy but in Moray it seems impossible. Pitty


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: rotation
Date: 7 Sep 1998 03:28:56
Message: <35f374df.2294078@194.174.214.10>
Hi Roland,

here you are! Please, when you send email, make sure the Reply-To
header is setup correctly. 

> In most cases it is . But suppose you want to ceate a simple roof with
> tree  angles  of  60 degrees. The easiest way is to create a box
> centered at the world origin rotate is 45 degrees , scale it properly
> in the X direction and then translate it to its final location. In
> Povray its easy but in Moray it seems impossible. Pitty
You can do this by placing the cube in a CSG, rotating the cube 45
degrees and scaling the CSG. 

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Nathan Kopp
Subject: Re: rotation
Date: 8 Sep 1998 13:27:18
Message: <35F55A06.3BF0E186@ltu.edu>
Roland Vansteenkiste wrote:
> 
> In most cases it is . But suppose you want to ceate a simple roof with
> tree  angles  of  60 degrees. The easiest way is to create a box
> centered at the world origin rotate is 45 degrees , scale it properly
> in the X direction and then translate it to its final location. In
> Povray its easy but in Moray it seems impossible. Pitty

Actually, it's not really impossible (but it is more work).  What you need
to do is create the box, rotate it 45 degrees, then add it to a CSG union
object.  Then scale and translate the union.  Granted, POV will complain
and say that you should have more than one object in a union, but this
will work.

-Nathan Kopp


Post a reply to this message

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