POV-Ray : Newsgroups : povray.binaries.images : Up for the challenge? Server Time
16 Nov 2024 18:22:56 EST (-0500)
  Up for the challenge? (Message 1 to 9 of 9)  
From: JS
Subject: Up for the challenge?
Date: 30 Jan 2007 18:30:00
Message: <web.45bfd47a1cbcebfa795981cc0@news.povray.org>
I'm so glad you liked my pic that I've uploaded another one and now present
you all with a challenge. The goal of these pics is to use as MANY objects
in a scene as possible with as FEW lines of code and with ONLY basic
objects (i.e. not using an external program to model objects).

If anyone is up to the challenge, I'd be interested in seeing the results
with information such as how long they took to render.

Thank you.

James S.


Post a reply to this message


Attachments:
Download 'sky_balls.jpg' (201 KB)

Preview of image 'sky_balls.jpg'
sky_balls.jpg


 

From: Ben Chambers
Subject: Re: Up for the challenge?
Date: 31 Jan 2007 02:28:29
Message: <45c0451d@news.povray.org>
JS wrote:
> I'm so glad you liked my pic that I've uploaded another one and now present
> you all with a challenge. The goal of these pics is to use as MANY objects
> in a scene as possible with as FEW lines of code and with ONLY basic
> objects (i.e. not using an external program to model objects).
> 
> If anyone is up to the challenge, I'd be interested in seeing the results
> with information such as how long they took to render.
> 
> Thank you.
> 
> James S.
> 
> 
> ------------------------------------------------------------------------
> 

I'm up for it :)

Here's my pic, only about a thousand torii.  The objects took less than 
15 lines of code, and the texture took about 25 :)

...Chambers

Oh, and it took the 3.7 Beta 19 3M 3S on my Athlon XP 1700+.


Post a reply to this message


Attachments:
Download 'torii.png' (535 KB)

Preview of image 'torii.png'
torii.png


 

From: quickfur
Subject: Re: Up for the challenge?
Date: 2 Feb 2007 01:00:01
Message: <web.45c2d02a9125cd5bdd5364bf0@news.povray.org>
"JS" <bos### [at] yahoocouk> wrote:
> I'm so glad you liked my pic that I've uploaded another one and now present
> you all with a challenge. The goal of these pics is to use as MANY objects
> in a scene as possible with as FEW lines of code and with ONLY basic
> objects (i.e. not using an external program to model objects).
>
> If anyone is up to the challenge, I'd be interested in seeing the results
> with information such as how long they took to render.
[...]

I'm pretty sure that eventually somebody is bound to think of
this, but since nobody has spoken up yet, I will. :-) The best
way to create as many objects as possible with as few lines of
code as possible is to use recursive macros (exponential growth).
And highly recursive macros are good for making fractal-like
objects such as trees, so here's one, made from cones and
spheres.

This is rendered with Povray 3.6.1 at a resolution of 600x450.
There are 287361 finite objects in the scene and 2 light sources
(the exact number of objects changes when various parameters
in the scene are tweaked, since I used the rand() function). Max
memory usage was 366MB, which is at the peak of my poor
laptop's capacity. Parsing took 54 seconds, rendering took 4m7s.

I'll post the code if anyone is interested. It's only about 38 lines,
and in interest of conserving space, the only fancy texture is
the sky_sphere and there is actually no ground (the camera
angle is chosen to hide this fact). The code itself can potentially
create much, much, deeper branching, but then my laptop will
run out of memory so the max recursion is 13 levels deep,
branching roughly into 3 (exact number is random) at each
junction. The macro doesn't do any fancy self-intersection
prevention checks, so you might see some self-intersection, but
at least it's not too obvious in the image. :-)


Post a reply to this message


Attachments:
Download 'short01.png' (164 KB)

Preview of image 'short01.png'
short01.png


 

From: quickfur
Subject: Re: Up for the challenge?
Date: 2 Feb 2007 12:30:01
Message: <web.45c3740e9125cd5bdd5364bf0@news.povray.org>
"quickfur" <qui### [at] quickfurathcx> wrote:
[...]
> I'm pretty sure that eventually somebody is bound to think of
> this, but since nobody has spoken up yet, I will. :-) The best
> way to create as many objects as possible with as few lines of
> code as possible is to use recursive macros (exponential growth).
> And highly recursive macros are good for making fractal-like
> objects such as trees, so here's one, made from cones and
> spheres.
[...]

Here's another tree generated by my recursive macro (the only
difference is the random seed). This one has 293997 finite
objects and 2 lights. Parsing took 1m6s, and rendering took
5m54s. As you can see, this tree is slightly more spread out.
And oh, BTW, this is on a 1.40GHz Intel Celeron (laptop)
with 500MB RAM. Max memory usage by Povray was 375MB.


Post a reply to this message


Attachments:
Download 'short01.png' (184 KB)

Preview of image 'short01.png'
short01.png


 

From: Simon
Subject: Re: Up for the challenge?
Date: 2 Feb 2007 14:21:39
Message: <45c38f43$1@news.povray.org>
> If anyone is up to the challenge, I'd be interested in seeing the results
> with information such as how long they took to render.

I have made a movie (1minute, 30fps, 640x480) which uses csg.  It's made 
of a single box from which I deleted thousands of reflective spheres and 
they move in all directions.  It looks like a living cavern or boiling 
cavern.  Back in around 2000 I had given it the name: LiquidMind.

I've specialised myself in these kinds of renders.  Why because there's 
always a better technology (radiosity, isosurfaces, etc) that comes out 
and they lack compatibility with other "rendering" systems I use (I work 
primarily with OpenGL and 2D SDL these days, using dots, not even lines 
or polygons).

I have to say, the difficulty with this challenge is not to have "as 
many object" for the "smallest code"; I'll do a single loop with only a 
sphere moving around that I might get a nice abstract scene.  But the 
challenge would be to get away from the abstract, this said, a better 
challenge would be to "make something meaningful or semi-realistic with 
as many objects as possible and with the smallest code".  Now that's a 
challenge, it's a real one... I... may not be able to follow this one! ;)

But keep rendering those, will discover all kinds of nice things ahead 
(such as spirals, stars, patterns and others)!

Simon


Post a reply to this message

From: Thomas de Groot
Subject: Re: Up for the challenge?
Date: 5 Feb 2007 03:14:58
Message: <45c6e782@news.povray.org>
"quickfur" <qui### [at] quickfurathcx> schreef in bericht 
news:web.45c2d02a9125cd5bdd5364bf0@news.povray.org...
>
> I'll post the code if anyone is interested. It's only about 38 lines,
> and in interest of conserving space, the only fancy texture is
> the sky_sphere and there is actually no ground (the camera
> angle is chosen to hide this fact). The code itself can potentially
> create much, much, deeper branching, but then my laptop will
> run out of memory so the max recursion is 13 levels deep,
> branching roughly into 3 (exact number is random) at each
> junction. The macro doesn't do any fancy self-intersection
> prevention checks, so you might see some self-intersection, but
> at least it's not too obvious in the image. :-)
>

This is interesting, and I would like to see the code! It's never too late 
to learn some clever tricks :-)

Thomas


Post a reply to this message

From: quickfur
Subject: Re: Up for the challenge?
Date: 5 Feb 2007 11:40:00
Message: <web.45c75cc89125cd5bdd5364bf0@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> "quickfur" <qui### [at] quickfurathcx> schreef in bericht
> news:web.45c2d02a9125cd5bdd5364bf0@news.povray.org...
> >
> > I'll post the code if anyone is interested. It's only about 38 lines,
> > and in interest of conserving space, the only fancy texture is
> > the sky_sphere and there is actually no ground (the camera
> > angle is chosen to hide this fact). The code itself can potentially
> > create much, much, deeper branching, but then my laptop will
> > run out of memory so the max recursion is 13 levels deep,
> > branching roughly into 3 (exact number is random) at each
> > junction. The macro doesn't do any fancy self-intersection
> > prevention checks, so you might see some self-intersection, but
> > at least it's not too obvious in the image. :-)
> >
>
> This is interesting, and I would like to see the code! It's never too late
> to learn some clever tricks :-)
[...]

Here it is:

http://news.povray.org/povray.text.scene-files/thread/%3Cweb.45c75aae68390bf6dd5364bf0%40news.povray.org%3E/


Post a reply to this message

From: Agustin Britait Molina
Subject: Re: Up for the challenge?
Date: 6 Feb 2007 01:30:00
Message: <web.45c81fa49125cd5bf5e783670@news.povray.org>
uhh

I posted in a new thread a image for the challenge

see in
http://news.povray.org/povray.binaries.images/thread/%3Cweb.45c81a92d6c86b4af5e783670%40news.povray.org%3E/


Post a reply to this message

From: Thomas de Groot
Subject: Re: Up for the challenge?
Date: 6 Feb 2007 03:01:21
Message: <45c835d1@news.povray.org>
Thank you very much indeed.

Thomas


Post a reply to this message

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