POV-Ray : Newsgroups : moray.win : Tranformations Server Time
29 Jul 2024 18:27:47 EDT (-0400)
  Tranformations (Message 1 to 3 of 3)  
From: Trystin
Subject: Tranformations
Date: 16 Jun 1998 13:23:55
Message: <6m632s$dij$2@oz.aussie.org>
Hello :-)
When you use object translations/scaling in Moray, is there anyway to
predict/know what/where the transformed object will be i.e. if I scale a
unit origin sphere by <1,.5,1> will the sphere *lose* its top or bottom
half? I would really appreciate it is someone could email me the answer-
it'd save me a lot of messy translations like <-1.234590, 3.8909,2344.67>
and make my source code a lot easier to twiddle with.


Post a reply to this message

From: Johannes Hubert
Subject: Re: Tranformations
Date: 16 Jun 1998 15:03:37
Message: <6m6fg7$ei5$1@oz.aussie.org>
Trystin wrote in message <6m632s$dij$2@oz.aussie.org>...
>Hello :-)
>When you use object translations/scaling in Moray, is there anyway to
>predict/know what/where the transformed object will be i.e. if I scale a
>unit origin sphere by <1,.5,1> will the sphere *lose* its top or bottom
>half?

Loose something?
It won't loose anything. It'll still be a sphere, only kind of flat (so not
a sphere actually but some oval type 3D object, eeeh, a "pill"? ;-)

If you have an unscaled and untranslated sphere in Moray, it will fit into
the box between <-1,-1,-1> and <1,1,1>
So scaling it to <1, 0.5, 1> will instead fit it into the box <-1,-0.5,-1>
and <1, 0.5,1>.

Johannes.


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Tranformations
Date: 17 Jun 1998 03:51:26
Message: <35877541.1592860@194.174.214.10>
Hi Trystin, you recently wrote in moray.win:

> it'd save me a lot of messy translations like <-1.234590, 3.8909,2344.67>
> and make my source code a lot easier to twiddle with.
HJohannes already answered your question, I just want to add that you
might want to Enable Snap (right-click in a View). That way you don't
have 'messy' translations.

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


Post a reply to this message

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