POV-Ray : Newsgroups : moray.win : Local coordinates? : Re: Local coordinates? Server Time
3 Jul 2024 02:03:33 EDT (-0400)
  Re: Local coordinates?  
From: Lutz Kretzschmar
Date: 22 Feb 2002 12:32:16
Message: <fnvc7uom3c40j3mjsamno5bhsu837ps2ek@4ax.com>
Hi Timothy R. Cook, you recently wrote in moray.win:

> CSG Iris01 works the way I want.
This is a classic case where you should use reference objects. 

Remove Iris02 and Iris03. Select Iris01 and click the Freeze button.
Click it again (it's now called Modify). Uncheck the Y-axis rotation
and set the limits -65 and -31.5.  This limits the rotation of this
object to the Y-axis in that range, which results in the opening and
closing movement for that one blade.

Now press Ctrl-D to duplicate the Iris. Check the 'Create References'
checkbox and the 'Attach to Same Parent' checkbox. Make 11 copies (for
a total of 12 blades).

Successively select the new reference objects and set their X-rotation
to multiples of 30.

Now to open the iris, simply select Iris01 and rotate it about Y. The
other 11 will follow that movement (that's the nice thing about
reference objects) and the whole thing will open and close.....

Let me know if you have any more questions.....

- 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.