POV-Ray : Newsgroups : povray.binaries.images : city extended Server Time
19 Nov 2024 02:23:21 EST (-0500)
  city extended (Message 1 to 10 of 10)  
From: Tek
Subject: city extended
Date: 21 Feb 2004 16:36:15
Message: <4037cf4f@news.povray.org>
Well I couldn't resist extending the source code for my city picture to inclue
all the things I wanted to put in but couldn't fit into 256 bytes of code. So
here's the not-very-short-code version.

Compared to the short one, I've increased the isosurface accuracy, added some
birds in the distance, and put a windows texture on which allows different
window styles on different buildings. And those small changes have more than
doubled the amount of code!

Hope you like it!
-- 
Tek
www.evilsuperbrain.com


Post a reply to this message


Attachments:
Download 'city extended.jpg' (156 KB)

Preview of image 'city extended.jpg'
city extended.jpg


 

From: Lutz-Peter Hooge
Subject: Re: city extended
Date: 21 Feb 2004 17:19:34
Message: <4037d976$1@news.povray.org>
Tek <tek### [at] evilsuperbraincom> wrote:

> window styles on different buildings. And those small changes have more than
> doubled the amount of code!

Only 512+epsilon bytes for this scene is still impressive, IMHO...

Lutz-Peter


Post a reply to this message

From: GreyBeard
Subject: Re: city extended
Date: 21 Feb 2004 20:17:21
Message: <40380321$1@news.povray.org>
Most impressive!

Greybeard

"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:4037cf4f@news.povray.org...
> Well I couldn't resist extending the source code for my city picture to
inclue
> all the things I wanted to put in but couldn't fit into 256 bytes of code.
So
> here's the not-very-short-code version.
>
> Compared to the short one, I've increased the isosurface accuracy, added
some
> birds in the distance, and put a windows texture on which allows different
> window styles on different buildings. And those small changes have more
than
> doubled the amount of code!
>
> Hope you like it!
> --
> Tek
> www.evilsuperbrain.com
>
>
>


Post a reply to this message

From: Dan P
Subject: Re: city extended
Date: 22 Feb 2004 09:56:24
Message: <4038c318$1@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:4037cf4f@news.povray.org...
> Well I couldn't resist extending the source code for my city picture to
inclue
> all the things I wanted to put in but couldn't fit into 256 bytes of code.
So
> here's the not-very-short-code version.
>
> Compared to the short one, I've increased the isosurface accuracy, added
some
> birds in the distance, and put a windows texture on which allows different
> window styles on different buildings. And those small changes have more
than
> doubled the amount of code!
>
> Hope you like it!

Wow!


Post a reply to this message

From: nospam
Subject: Re: city extended
Date: 23 Feb 2004 17:16:34
Message: <403a6c63.7594064@localhost>
On ,  wrote:

>
>[Saved as file: C:\Program Files\Agent\city extended.jpg]

woa.  cool.


Post a reply to this message

From: Christopher James Huff
Subject: Re: city extended
Date: 23 Feb 2004 21:45:04
Message: <cjameshuff-CEDF5E.21454823022004@news.povray.org>
In article <4037cf4f@news.povray.org>, "Tek" <tek### [at] evilsuperbraincom> 
wrote:

> Compared to the short one, I've increased the isosurface accuracy, added some
> birds in the distance, and put a windows texture on which allows different
> window styles on different buildings. And those small changes have more than
> doubled the amount of code!

Neat. But...it looks more familiar, so you can see the flaws (or at 
least differences from any city on Earth) more easily. The first one 
just looked alien or super-futuristic...familiar enough to be recognized 
as a city, but so different that any flaws weren't perceived as 
such...at least by me. This...well, the roofs look funny. It looks much 
like a present-day city, but there should be objects on the roofs, 
raised portions near the edges, varying textures...it didn't look odd 
for the first one, but it looks odd here.

Still...very, very impressive effect, especially given the tiny amount 
of code used. Nice sky...I like the birds, too.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

From: Tek
Subject: Re: city extended
Date: 24 Feb 2004 00:57:38
Message: <403ae7d2$1@news.povray.org>
> Neat. But...it looks more familiar, so you can see the flaws (or at
> least differences from any city on Earth) more easily.

Yeah, that's my thoughts too. The other one was really impressive because it was
256 bytes, but this version is much less so because it should now be compared to
any other povray city image (I can think of at least 2 good ones by Gilles!) and
it really doesn't compare well.

> Still...very, very impressive effect, especially given the tiny amount
> of code used. Nice sky...I like the birds, too.

Thank you, I'm very pleased with them :)
BTW, the birds are actually little flying curly brackets: }}}

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

From: Christopher James Huff
Subject: Re: city extended
Date: 24 Feb 2004 08:17:26
Message: <cjameshuff-1B6BC2.08181224022004@news.povray.org>
In article <403ae7d2$1@news.povray.org>, "Tek" <tek### [at] evilsuperbraincom> 
wrote:

> > Neat. But...it looks more familiar, so you can see the flaws (or at
> > least differences from any city on Earth) more easily.
> 
> Yeah, that's my thoughts too. The other one was really impressive 
> because it was 256 bytes, but this version is much less so because it 
> should now be compared to any other povray city image (I can think of 
> at least 2 good ones by Gilles!) and it really doesn't compare well.

BTW, you can make it shorter by using pattern functions instead, 
eliminating the need for the .x's:
#macro C()function{pattern{crackle#end#local A=C()solid}}#local
B=C()}}isosurface{function{max(2+y*9-A(x*9,0,z*9)*4,.2-B(x*9,0
,z*9))/99}finish{reflection{0,1}}}fog{rgb 1+y/5+z/3distance.7
fog_type 2fog_alt.1}sky_sphere{pigment{agate}}sphere{9*(.6-y),5}

It also renders faster...


> > Still...very, very impressive effect, especially given the tiny amount
> > of code used. Nice sky...I like the birds, too.
> 
> Thank you, I'm very pleased with them :)
> BTW, the birds are actually little flying curly brackets: }}}

Nice...I think I saw curly bracket used as birds somewhere else, though 
they were large and close up so you could see what they were.

Oh, I came up with a way to get sloped roofs on the 
buildings...basically, make a pigment function with a solid crackle 
pigment_map of multiple random gradients. Scale the crackle pattern 
really big along the y axis so it's essentially 2D and won't interfere 
with the sides of your buildings, and just add the result to your 
isosurface function. Still working on getting it completely right...

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

From: Dan P
Subject: Re: city extended
Date: 24 Feb 2004 10:11:19
Message: <403b6997$1@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:403ae7d2$1@news.povray.org...
<snip />

> Thank you, I'm very pleased with them :)
> BTW, the birds are actually little flying curly brackets: }}}

This is, like, the most clever thing I think I've ever read :-)


Post a reply to this message

From: Tek
Subject: Re: city extended
Date: 24 Feb 2004 23:42:43
Message: <403c27c3$1@news.povray.org>
Woah cool, I didn't know that! Thanks! :)

-- 
Tek
www.evilsuperbrain.com

"Christopher James Huff" <cja### [at] earthlinknet> wrote in message
news:cjameshuff-1B6BC2.08181224022004@news.povray.org...
> In article <403ae7d2$1@news.povray.org>, "Tek" <tek### [at] evilsuperbraincom>
> wrote:
>
> > > Neat. But...it looks more familiar, so you can see the flaws (or at
> > > least differences from any city on Earth) more easily.
> >
> > Yeah, that's my thoughts too. The other one was really impressive
> > because it was 256 bytes, but this version is much less so because it
> > should now be compared to any other povray city image (I can think of
> > at least 2 good ones by Gilles!) and it really doesn't compare well.
>
> BTW, you can make it shorter by using pattern functions instead,
> eliminating the need for the .x's:
> #macro C()function{pattern{crackle#end#local A=C()solid}}#local
> B=C()}}isosurface{function{max(2+y*9-A(x*9,0,z*9)*4,.2-B(x*9,0
> ,z*9))/99}finish{reflection{0,1}}}fog{rgb 1+y/5+z/3distance.7
> fog_type 2fog_alt.1}sky_sphere{pigment{agate}}sphere{9*(.6-y),5}
>
> It also renders faster...
>
>
> > > Still...very, very impressive effect, especially given the tiny amount
> > > of code used. Nice sky...I like the birds, too.
> >
> > Thank you, I'm very pleased with them :)
> > BTW, the birds are actually little flying curly brackets: }}}
>
> Nice...I think I saw curly bracket used as birds somewhere else, though
> they were large and close up so you could see what they were.
>
> Oh, I came up with a way to get sloped roofs on the
> buildings...basically, make a pigment function with a solid crackle
> pigment_map of multiple random gradients. Scale the crackle pattern
> really big along the y axis so it's essentially 2D and won't interfere
> with the sides of your buildings, and just add the result to your
> isosurface function. Still working on getting it completely right...
>
> -- 
> Christopher James Huff <cja### [at] earthlinknet>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: <chr### [at] tagpovrayorg>
> http://tag.povray.org/


Post a reply to this message

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