POV-Ray : Newsgroups : povray.newusers : Randomiser : Randomiser Server Time
5 Sep 2024 18:21:33 EDT (-0400)
  Randomiser  
From: Peter Cracknell
Date: 13 Feb 2000 16:14:21
Message: <38a71ead@news.povray.org>
Sorry if this sounds really stupid but I've looked around and got really
stuck.  I was learning how to create macros and the sort and wanted to make
a variable, within a loop (ie x translation) be a random number, within
other languages it would be say xpoint = rand(10) and you'd get a number
between 0 and 10.  According to the help file though I need a seed, which I
think I understand, but if used and placed within a loop makes all the
xpoints be of the same random number how can these be taken differently?  If
I make no sense at all I can post the file with the prob, thanks

P3TE

--
pc### [at] WYSIWYGlineonenet
remember dont use WYSISYG!

www.p3te.co.uk


Post a reply to this message

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