POV-Ray : Newsgroups : povray.binaries.images : Dendrites (115k jpeg) Server Time
14 Nov 2024 22:22:56 EST (-0500)
  Dendrites (115k jpeg) (Message 1 to 10 of 10)  
From: Samuel Benge
Subject: Dendrites (115k jpeg)
Date: 22 Nov 2003 12:29:43
Message: <3FBF9C9A.1050802@hotmail.com>
Just three #while loops and two #if statements, plus a little 
pattern-based scaling.

Qs, Cs?

-- 
Samuel Benge

stb### [at] hotmailcom
See my website@: http://www.goldrush.com/~abenge/Top/index.html


Post a reply to this message


Attachments:
Download 'maze_cube.jpg' (116 KB)

Preview of image 'maze_cube.jpg'
maze_cube.jpg


 

From: Chris Johnson
Subject: Re: Dendrites (115k jpeg)
Date: 22 Nov 2003 14:57:07
Message: <3fbfbf93$1@news.povray.org>
That looks really nice - what's the algorithm for producing the dendrites?

-Chris


Post a reply to this message

From: Samuel Benge
Subject: A view from the inside (25k jpeg)
Date: 22 Nov 2003 16:58:02
Message: <3FBFDBCA.1030900@hotmail.com>
Chris Johnson wrote:

> That looks really nice 


Thanks Chris.

> what's the algorithm for producing the dendrites?

Here it is, minus the extraneous pattern-based scaling:

#declare thk=.5;

union{
 #local Z=-20;
 #while(Z<=20)
  #local Y=-11;
  #while(Y<=15)
   #local X=-20;
   #while(X<=20)
    #if(rand(R)>.33)     
     #if(rand(R)>.33)
      box{ <-1,-1,-1>, <-thk,1,-thk> translate<X,Y,Z> }
      #else
       box{ <-1,-1,-1>, <1,-thk,-thk> translate<X,Y,Z> }
     #end
     #else
      box{ <-1,-1,-1>, <-thk,-thk,1> translate<X,Y,Z> }
    #end
    #local X=X+2;
   #end
   #local Y=Y+2;
  #end
  #local Z=Z+2;
 #end
 //rotate y*(35+180)+x*180
 pigment{rgb 1}
}


-- 
Samuel Benge

stb### [at] hotmailcom
See my website@: http://www.goldrush.com/~abenge/Top/index.html


Post a reply to this message


Attachments:
Download 'maze_cube2.jpg' (26 KB)

Preview of image 'maze_cube2.jpg'
maze_cube2.jpg


 

From: Hugo Asm
Subject: Re: Dendrites (115k jpeg)
Date: 23 Nov 2003 12:18:43
Message: <3fc0ebf3@news.povray.org>
Very interesting light (one of my favourite topics) and the object is
original .. at least I have never seen it before!  The camera seems to be
orthographic, is that right? Very nice overall.

Regards,
Hugo


Post a reply to this message

From: Samuel Benge
Subject: Re: Dendrites (115k jpeg)
Date: 23 Nov 2003 12:25:16
Message: <3FC0ED69.7010602@hotmail.com>
The light in the first image is a combination area_light+sky_sphere 
using radiosity. The camera is using the fisheye projection with a 
fairly low angle (something like 15).

Hugo Asm wrote:

> Very interesting light (one of my favourite topics) and the object is
> original .. at least I have never seen it before!  The camera seems to be
> orthographic, is that right? Very nice overall.
> 
> Regards,
> Hugo
> 
> 
> 


-- 
Samuel Benge

stb### [at] hotmailcom
See my website@: http://www.goldrush.com/~abenge/Top/index.html


Post a reply to this message

From: FernandoD
Subject: Re: Dendrites (115k jpeg)
Date: 23 Nov 2003 17:35:01
Message: <web.3fc13547adc1e1c89c23c2010@news.povray.org>
Samuel Benge wrote:
>Just three #while loops and two #if statements, plus a little
>pattern-based scaling.
>
>Qs, Cs?
>
>--
>Samuel Benge
>
>stb### [at] hotmailcom
>See my website@: http://www.goldrush.com/~abenge/Top/index.html
>

Hi,

Great job! I'm interested in the part of the code for the floor. Could you
please post that part? I need a similar one for a picture I'm doing.

Thanks!


BR / Fernando


Post a reply to this message

From: nospam
Subject: Re: Dendrites (115k jpeg)
Date: 23 Nov 2003 19:34:13
Message: <3fc14738.11464395@localhost>
On Sat, 22 Nov 2003 09:27:54 -0800, Samuel Benge
<sbe### [at] hotmailcom> wrote:

>This is a multi-part message in MIME format.
>--------------010809070402070303000506
>Content-Type: text/plain; charset=UTF-8; format=flowed
>Content-Transfer-Encoding: 7bit
>
>Just three #while loops and two #if statements, plus a little 
>pattern-based scaling.
>
>Qs, Cs?
>
>-- 
>Samuel Benge
>


	Wow.  That is cool.  How did you do it?


Post a reply to this message

From: Samuel Benge
Subject: Re: Dendrites (115k jpeg)
Date: 23 Nov 2003 23:16:43
Message: <3FC18610.2080903@hotmail.com>
Hi Fernando. The floor was just slapped in there for effect. Here's the 
code:

plane{y,-10
  pigment{
   bumps
   scale 5
   poly_wave .3
  }
  normal{
   granite -.3
   scale 10
   poly_wave .5
   accuracy .001
  }
}

FernandoD wrote:

> 
> Hi,
> 
> Great job! I'm interested in the part of the code for the floor. Could you
> please post that part? I need a similar one for a picture I'm doing.
> 
> Thanks!
> 
> 
> BR / Fernando
> 
> 


-- 
Samuel Benge

stb### [at] hotmailcom
See my website@: http://www.goldrush.com/~abenge/Top/index.html


Post a reply to this message

From: Samuel Benge
Subject: Re: Dendrites (115k jpeg)
Date: 23 Nov 2003 23:20:25
Message: <3FC186EF.8010809@hotmail.com>
Hello Nospam. The code for the cube is in my reply to Chris Johnson 
about this same image. The title of the message is 'A view from the 
inside'. Perhaps I should make a habit of dropping the scene file into 
povray-binaries.scene-files?

nospam wrote:

> 
> 	Wow.  That is cool.  How did you do it?
> 



-- 
Samuel Benge

stb### [at] hotmailcom
See my website@: http://www.goldrush.com/~abenge/Top/index.html


Post a reply to this message

From: nospam
Subject: Re: Dendrites (115k jpeg)
Date: 25 Nov 2003 19:27:41
Message: <3fc2a4d2.31059219@localhost>
On Sun, 23 Nov 2003 20:19:59 -0800, Samuel Benge
<sbe### [at] hotmailcom> wrote:

>Hello Nospam. The code for the cube is in my reply to Chris Johnson 
>about this same image. The title of the message is 'A view from the 
>inside'. Perhaps I should make a habit of dropping the scene file into 
>povray-binaries.scene-files?
>


Cool!  Thanks.


Post a reply to this message

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