POV-Ray : Newsgroups : povray.newusers : Calculate the camera position automatic Server Time
31 Jul 2024 00:24:22 EDT (-0400)
  Calculate the camera position automatic (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Phil Cook
Subject: Re: Calculate the camera position automatic
Date: 10 Sep 2003 11:37:01
Message: <oprvaizraueybzwd@news.povray.org>
On Wed, 10 Sep 2003 15:46:49 +0100, Tom Melly <tom### [at] tomandlucouk> wrote:

> "Phil Cook" <phi### [at] deckingdealscouk> wrote in message
> news:opru931zpaeybzwd@news.povray.org...
>>
>> Well looks like I can answer my own question, after a bit of
>> experimentation I think the following explains the scaling situation,
>
> <snip>
>
>> which makes sense just multiple the vectors by the scale, it's a shame 
>> that
>> the help file uses a 0 sphere as it's example, as this won't show any
>> translation (0*any number =0).
>>
>> This is probably well known and understood by POV-Ray writers more
>> competent than myself, but it confused the heck out of me at first.
>>
>
> I think everyone runs into this one at some moment - it's very tied in to 
> the
> (wrong) assumption that every pov-primitive has a defined center (which 
> could
> therefore stay in one place even when the object is scaled).
>
> Without a defined center, how could any object stay in one place when you
> changed its size?
>
> The bottom line is that it's a good idea to locate a known point of your 
> object
> at <0,0,0> prior to scaling.
>
> Extending this to all the transforms, except in special cases*, I tend to 
> follow
> what I call the 'open the door' rule - grasp the handle (scale), turn 
> (rotate),
> open (translate).
>
> * for example, for the markers on a clock-face, I would tend to translate 
> first,
> then rotate.
>
>
>

It's just a shame that it's not mentioned in the help file under scale, as 
I said thinking about it it makes sense, as a beginner though it came as a 
surprise.

Yeah, I've had fun with translate, rotate and rotate, translate when 
creating an octagonal pool, but at least I was warned with rotate (though I 
do still forget at times)

--
Phil

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


Post a reply to this message

From: Tom Melly
Subject: Re: Calculate the camera position automatic
Date: 10 Sep 2003 11:47:02
Message: <3f5f4776@news.povray.org>
"Phil Cook" <phi### [at] deckingdealscouk> wrote in message
news:oprvaizraueybzwd@news.povray.org...

> It's just a shame that it's not mentioned in the help file under scale, as

strangely (AFAIK and IMHO) it doesn't even have an entry in the VFAQ...


Post a reply to this message

From:
Subject: Re: Calculate the camera position automatic
Date: 10 Sep 2003 19:26:41
Message: <3f5fb331$1@news.povray.org>
Hi Tom!

> 'open the door' rule - (...)
> open (translate).

You open doors by translation? I thought only Arnold Schwarzenegger can
do this, all other people I've seen use *rotation* around the hinge.

   Sputnik


Post a reply to this message

From: Phil Cook
Subject: Re: Calculate the camera position automatic
Date: 11 Sep 2003 06:33:03
Message: <oprvbzk7hieybzwd@news.povray.org>

<fr### [at] computermuseumfh-kielde> wrote:

> Hi Tom!
>
>> 'open the door' rule - (...)
>> open (translate).
>
> You open doors by translation? I thought only Arnold Schwarzenegger can
> do this, all other people I've seen use *rotation* around the hinge.
>
> Sputnik
>
>
>
LOL "You were only supposed to blow the bloody doors off!" Oh wait what if 
it was a sliding panel door or one of those concertina(sp?) types.

Hmmm concertina, that would be an interesting project to animate :)

--
Phil

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


Post a reply to this message

From: Tom Melly
Subject: Re: Calculate the camera position automatic
Date: 11 Sep 2003 08:33:49
Message: <3f606bad@news.povray.org>

news:3f5fb331$1@news.povray.org...
>
> You open doors by translation? I thought only Arnold Schwarzenegger can
> do this, all other people I've seen use *rotation* around the hinge.
>

Hardy-har-har ;)

Actually, my door is infinately wide, so translation works fine....


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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