POV-Ray : Newsgroups : povray.newusers : seed : Re: seed Server Time
5 Sep 2024 18:21:52 EDT (-0400)
  Re: seed  
From: Ken
Date: 23 Feb 2000 17:57:31
Message: <38B46581.3005AAEB@pacbell.net>
kobus wrote:
> 
> Hello there,
> 
> I have a question about random and seed. First one have to declare seed(A).
> Will random then return a value between A and A+1? If that is the case I
> understood the manual correctly.
> 
> thanks, kobus

Rand will always return a value from 0 to 1. The seed number will determine
where between 0 and 1 the value starts.

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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