POV-Ray : Newsgroups : povray.animations : A book with pages turning -- how to translate + scale a whole page made of 8 patches? : Re: A book with pages turning -- how to translate + scale a whole page made of 8 patches? Server Time
28 Jul 2024 18:11:52 EDT (-0400)
  Re: A book with pages turning -- how to translate + scale a whole page made of 8 patches?  
From: forkazoo
Date: 1 Mar 1999 23:13:42
Message: <36db6576.0@news.povray.org>
Eric Andersen wrote in message <36DB280A.A1BAE3E6@frontiernet.net>...
>forkazoo:
>
>You could do something like this:
<code>
>
>will that do it?
>you might need to declare the scale multiplication and translate
>addition before you scale and translate the object.  Be sure to scale
>first, then translate, or else you'll get wacky results.  This brings up
>another point:you must define the patches in reference to the origin.
>When you translate the patches and then scale them down, they are pulled
>toward the origin.  When you rotate an object, you rotate it about the
>origin.  Therefore, you should usually define the object centered on the
>origin, then scale it, then rotate it, then translate it.  (You can
>interchange the order of scale and rotate as long as you are not doing
>uneven scaling)
>
>hope this helps.
>
>-Eric
>
>forkazoo wrote:
>>
<my message>

Thank you so much!  I have got a single page pretty well figured out.  Now,
I am working on the vrotate to rotate the points in the page.  next, I will
try assembling my 100 some page book.  It will eventually be an interesting
animation!

again, thanks!


Post a reply to this message

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