POV-Ray : Newsgroups : povray.newusers : random elements in blob object Server Time
5 Sep 2024 08:21:05 EDT (-0400)
  random elements in blob object (Message 21 to 24 of 24)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Zeger Knaepen
Subject: Re: random elements in blob object
Date: 6 Feb 2002 17:07:21
Message: <3c61a919$1@news.povray.org>
> Dit lyk vir my daar is heelwat meer Nederlanders hier as wat ek gedink het. Ek
> vermoed hier is dalk ook 'n paar Vlaams sprekendes? Verskoon my spelling - ek
is
> Afrikaans.
Flemish is almost the same as Dutch, that's why most people refer to both
languages as Dutch. I don't really agree with this.  In my opinion, Dutch
resembles Flemish not much more than it resembles Afrikaans. (please, don't
start a discussion about it, I'm tired of those discussions...)

nog ne goeiendag!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: ingo
Subject: Re: random elements in blob object
Date: 7 Feb 2002 06:13:12
Message: <Xns91AE7C973691seed7@povray.org>
in news:3c619c12@news.povray.org Warp wrote:

> I have
> the strong feeling that seed() takes just the integer part of the
> parameter. 

I'll change that in the docs (12)

Ingo


Post a reply to this message

From: Tom Melly
Subject: Re: random elements in blob object
Date: 7 Feb 2002 08:36:05
Message: <3c6282c5$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3c619d02@news.povray.org...
>
>   I rest my case.
>

Ah! Is this intended?

My impression was wrongly formed by placing several randomly generated objects
next to each other. The different viewpoints was just enough to convince me that
there were minor differences.

Still, the original point remains, R2 = seed(rand(R1)) is still a waste of time.


Post a reply to this message

From: Warp
Subject: Re: random elements in blob object
Date: 7 Feb 2002 12:17:46
Message: <3c62b6b9@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
: Ah! Is this intended?

  I would guess that the random number generator algorithm used in povray
uses just integers.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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