POV-Ray : Newsgroups : moray.win : multiple object duplication factoring question : multiple object duplication factoring question Server Time
26 Jun 2024 05:22:47 EDT (-0400)
  multiple object duplication factoring question  
From: Steve Shelby
Date: 12 Jul 2003 18:42:52
Message: <3f108eec@news.povray.org>
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


Post a reply to this message

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