POV-Ray : Newsgroups : povray.general : random placement of objects : Re: random placement of objects Server Time
4 Aug 2024 06:17:31 EDT (-0400)
  Re: random placement of objects  
From: Chris Amshey
Date: 9 Jul 2003 00:35:01
Message: <web.3f0b9a8e206e568c61b99e900@news.povray.org>
Chris Amshey wrote:

>      object { ArrayOfObjects[floor(10*rand(RObjects))] }
*cough* Of course, that object { } should include a translate to somewhere
resembling <Xcount, SomeHeight, Zcount> *cough* ...

(and of -course- I never make mistakes like that with real code and end up
staring at a convoluted mess wondering what went wrong... ;))


--Chris


Post a reply to this message

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