POV-Ray : Newsgroups : povray.binaries.images : Block coded in PovRay Server Time
2 Aug 2024 06:15:21 EDT (-0400)
  Block coded in PovRay (Message 21 to 23 of 23)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Nicolas Alvarez
Subject: Re: Block coded in PovRay
Date: 7 Feb 2008 17:48:57
Message: <47ab8ad9$1@news.povray.org>
Dre escribió:
> Hi, can I ask where the variable R comes from in the code above?
> 

R is a random seed.

#declare R=seed(12345);

Replace 12345 with anything else to make the random numbers different.


Post a reply to this message

From: Dre
Subject: Re: Block coded in PovRay
Date: 7 Feb 2008 18:13:14
Message: <47ab908a@news.povray.org>
"Nicolas Alvarez" <nic### [at] gmailisthebestcom> wrote in message 
news:47ab8ad9$1@news.povray.org...

>> Hi, can I ask where the variable R comes from in the code above?
>>
>
> R is a random seed.
>
> #declare R=seed(12345);
>
> Replace 12345 with anything else to make the random numbers different.

Excellent!  Thanks for the tip!

Cheers Dre


Post a reply to this message

From: Thomas de Groot
Subject: Re: Block coded in PovRay
Date: 9 Feb 2008 05:39:40
Message: <47ad82ec$1@news.povray.org>
"Dre" <aus### [at] hotmailcom> schreef in bericht 
news:47ab86f2@news.povray.org...
>
> Hi, can I ask where the variable R comes from in the code above?
>
> Thanks!
>
> Cheers Dre
Sorry for not answering in time. I have been away. But Nicolas answered it 
already.

Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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