POV-Ray : Newsgroups : povray.binaries.scene-files : Greeble City Server Time
23 Nov 2024 16:41:17 EST (-0500)
  Greeble City (Message 1 to 2 of 2)  
From: Tek
Subject: Greeble City
Date: 4 Aug 2009 17:12:36
Message: <4a78a444@news.povray.org>
Source for the image in p.b.i

The settings for that image are:


#include "greebles.inc"

#declare rs=seed(17);
#declare greebleResX = 200;
#declare greebleResY = 200;
#declare greebleSize = 10;#declare numGreebles = 10000;
#declare f_greebleHeight = function(u,v,h) { 
.5*pow(h,8)*max(0,1-sqrt(u*u+v*v)) }

greebles( array[4]{<-1,0,1>,<1,0,1>,<1,0,-1>,<-1,0,-1>} )


-- 
Tek
http://evilsuperbrain.com


Post a reply to this message


Attachments:
Download 'greebles.inc.txt' (6 KB)

From: Jim Holsenback
Subject: Re: Greeble City
Date: 11 Aug 2009 13:02:00
Message: <4a81a408@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote in message 
news:4a78a444@news.povray.org...
> Source for the image in p.b.i
>
> The settings for that image are:
>
>
> #include "greebles.inc"
>
> #declare rs=seed(17);
> #declare greebleResX = 200;
> #declare greebleResY = 200;
> #declare greebleSize = 10;#declare numGreebles = 10000;
> #declare f_greebleHeight = function(u,v,h) { 
> .5*pow(h,8)*max(0,1-sqrt(u*u+v*v)) }
>
> greebles( array[4]{<-1,0,1>,<1,0,1>,<1,0,-1>,<-1,0,-1>} )

this suited for a distant cityscape in a scene I've been working on for a 
while. It's an evening scene so the buildings are dark-ish and I adapted the 
Starfield texture (from distributed includes) to make the buildings appear 
to have some lights on .... Nice job with the macro Tek ... ten minutes or 
so and I was cooking with gas!!!

Jim


Post a reply to this message

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