POV-Ray : Newsgroups : moray.win : multiple object duplication factoring question : Re: multiple object duplication factoring question Server Time
26 Jun 2024 05:13:14 EDT (-0400)
  Re: multiple object duplication factoring question  
From: mcavoys
Date: 12 Jul 2003 19:22:58
Message: <3f109830.3878757@news.povray.org>
On Sat, 12 Jul 2003 17:42:49 -0500, "Steve Shelby" <ssh### [at] rexnetnet> wrote:

>Hi,
>I've been working on something that requires making multiple duplication of
>an object (about 300 duplicates), but requires something that Moray's
>duplication dialogue box does not seem to be up to. Each duplicate needs to
>be 0.04 units larger than the preceding one, and translated along x in
>proportion to its increase in size. This works out to
>translation=scale*0.0096154*duplicate's serial number (1st duplicate is #1,
>2nd is #2, etc.)
>For example, duplicate #1 is scale 1.04*0.0096154*1=trans .01, dup. #2 is
>scale 1.08*0.0096154*2=trans 0.0207692, dup. #3 is scale
>1.12*0.0096154*3=trans 0.0323076, and so on.
>Is there an easy way to do this in Moray or Povray without having to hand
>calculate all 300 duplicates?
>Thank you,
>Steve Shelby
>
Well for the first part try Scaling - Offset 0.04 This gives what you want I
think.
As for the translation I'm not too sure, try moving the original object away
from the origin and Translate - Factor.

BTW I would usually try small numbers of copies and largish displacements to
start with


Regards
        Stephen


Post a reply to this message

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