POV-Ray : Newsgroups : povray.binaries.images : many cubes [75 KB] Server Time
15 Oct 2026 10:47:12 EDT (-0400)
  many cubes [75 KB] (Message 1 to 21 of 21)  
From: JWV
Subject: many cubes [75 KB]
Date: 16 Apr 2004 14:36:53
Message: <408027c5@news.povray.org>
Hello,

This is my latest desktop wallpaper attempt. Is are 110592 cubes, placed my
an algoritm. This image has an "recursion-level"of 3, and i am currently
rendering one with level 4, which has 48 times as much cubes.

a large .jpg version [1600x1200] of both images will be available at

home.student.utwente.nl/j.w.a.vaandrager/background_L3g.jpg

change the L3g to L4g to view the "level-4" image when it's done.

Comments and critisism is welcome as usual.

Greetings,

JWV


Post a reply to this message


Attachments:
Download 'background_L3.jpg' (73 KB)

Preview of image 'background_L3.jpg'
background_L3.jpg


 

From: JWV
Subject: Re: many cubes [75 KB]
Date: 16 Apr 2004 15:04:20
Message: <40802e34@news.povray.org>
The level-4 render was to much for my laptop :-(. It used 2GB of memory
while parsing, and it wasn't finished jet.

I will post the source in p.b.sf if someone wants to give it a try on a
machine with a LOT of memory  :-).

Greetings JWV



"JWV" <jwv|at|planet.nl> wrote in message news:408027c5@news.povray.org...
> Hello,
>
> This is my latest desktop wallpaper attempt. Is are 110592 cubes, placed
my
> an algoritm. This image has an "recursion-level"of 3, and i am currently
> rendering one with level 4, which has 48 times as much cubes.
>
> a large .jpg version [1600x1200] of both images will be available at
>
> home.student.utwente.nl/j.w.a.vaandrager/background_L3g.jpg
>
> change the L3g to L4g to view the "level-4" image when it's done.
>
> Comments and critisism is welcome as usual.
>
> Greetings,
>
> JWV
>
>
>


Post a reply to this message

From: SunTzu2
Subject: Re: many cubes [75 KB]
Date: 16 Apr 2004 15:45:01
Message: <web.408037669e31cbafeba257cf0@news.povray.org>
"JWV" <jwv|at|planet.nl> wrote:
> The level-4 render was to much for my laptop :-(. It used 2GB of memory
> while parsing, and it wasn't finished jet.
>
> I will post the source in p.b.sf if someone wants to give it a try on a
> machine with a LOT of memory  :-).
>
> Greetings JWV


That looks cool!  I might give it a try if you post the source.


Post a reply to this message

From: JWV
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 05:08:02
Message: <4080f3f2@news.povray.org>
the source has been posted. You can change the recusion level by changing :
#while(cnt<4)
in line 19, into cnt<????

I is set to 4, which means recursion level 4, which was to much for my
laptop. So you might give it a try with level 3 first.

Greets,

JWV



"SunTzu2" <sun### [at] hotmailcom> wrote in message
news:web.408037669e31cbafeba257cf0@news.povray.org...
> "JWV" <jwv|at|planet.nl> wrote:
> > The level-4 render was to much for my laptop :-(. It used 2GB of memory
> > while parsing, and it wasn't finished jet.
> >
> > I will post the source in p.b.sf if someone wants to give it a try on a
> > machine with a LOT of memory  :-).
> >
> > Greetings JWV
>
>
> That looks cool!  I might give it a try if you post the source.
>


Post a reply to this message

From: stephen parkinson
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 13:07:26
Message: <4081644e$1@news.povray.org>
JWV wrote:
>>
>>>The level-4 render was to much for my laptop :-(. It used 2GB of memory
>>>while parsing, and it wasn't finished jet.
>>>
>>>I will post the source in p.b.sf if someone wants to give it a try on a
>>>machine with a LOT of memory  :-).
>>>
>>>Greetings JWV
>>
>>
>>That looks cool!  I might give it a try if you post the source.
>>
> 
> 
> 

i'm peeved / tee'd off

dual 2.8 xeon, 2gb ram, explicitly added 2gb of swap space above its 
norm of 1gb and still ran out of space with recursion level of 4

anyone got a machine that can render it ?

stephen


Post a reply to this message

From: JWV
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 13:27:46
Message: <40816912@news.povray.org>
Thanks for trying it! The level 4 scene should have about 48^4=5.308.416
cubes. I am not sure how much memory is used for this amount, but it apears
to be quite a lot.

Greetings,

JWV
"stephen parkinson" <ste### [at] zmemw16demoncouk> wrote in message
news:4081644e$1@news.povray.org...
> JWV wrote:
> >>
> >>>The level-4 render was to much for my laptop :-(. It used 2GB of memory
> >>>while parsing, and it wasn't finished jet.
> >>>
> >>>I will post the source in p.b.sf if someone wants to give it a try on a
> >>>machine with a LOT of memory  :-).
> >>>
> >>>Greetings JWV
> >>
> >>
> >>That looks cool!  I might give it a try if you post the source.
> >>
> >
> >
> >
>
> i'm peeved / tee'd off
>
> dual 2.8 xeon, 2gb ram, explicitly added 2gb of swap space above its
> norm of 1gb and still ran out of space with recursion level of 4
>
> anyone got a machine that can render it ?
>
> stephen


Post a reply to this message

From: Sun Tzu
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 13:57:33
Message: <4081700d$1@news.povray.org>
"stephen parkinson" <ste### [at] zmemw16demoncouk> wrote in message
news:4081644e$1@news.povray.org...
> JWV wrote:
> >>
> >>>The level-4 render was to much for my laptop :-(. It used 2GB of memory
> >>>while parsing, and it wasn't finished jet.
> >>>
> >>>I will post the source in p.b.sf if someone wants to give it a try on a
> >>>machine with a LOT of memory  :-).
> >>>
> >>>Greetings JWV
> >>
> >>
> >>That looks cool!  I might give it a try if you post the source.
> >>
> >
> >
> >
>
> i'm peeved / tee'd off
>
> dual 2.8 xeon, 2gb ram, explicitly added 2gb of swap space above its
> norm of 1gb and still ran out of space with recursion level of 4
>
> anyone got a machine that can render it ?

I've got 1 gig RAM and 6 gig of page file.  I was watching the memory usage
and it claimed out of memory at 2gig.  I seem to recall hearing something
about a 2gig maximum of memory for an application regardless of the total
amount available (Windows).  Does anyone else know something about that?


Post a reply to this message

From: stephen parkinson
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 14:14:06
Message: <408173ee$1@news.povray.org>
JWV wrote:
> the source has been posted. You can change the recusion level by changing :
> #while(cnt<4)
> in line 19, into cnt<????
> 
> I is set to 4, which means recursion level 4, which was to much for my
> laptop. So you might give it a try with level 3 first.
> 
> Greets,
> 
> JWV
> 
> 
> 
> "SunTzu2" <sun### [at] hotmailcom> wrote in message
> news:web.408037669e31cbafeba257cf0@news.povray.org...
> 
>>"JWV" <jwv|at|planet.nl> wrote:
>>
>>>The level-4 render was to much for my laptop :-(. It used 2GB of memory
>>>while parsing, and it wasn't finished jet.
>>>
>>>I will post the source in p.b.sf if someone wants to give it a try on a
>>>machine with a LOT of memory  :-).
>>>
>>>Greetings JWV
>>
>>
>>That looks cool!  I might give it a try if you post the source.
>>
> 
> 
> 

having read replies so far, is there a question of OS lurking ?

if so, linux originally libranet 2.8.1, now tracking sid istr, kernel 2.6.4

stephen


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 14:55:59
Message: <opr6l6vjolzjc5hb@news.povray.org>
On Sat, 17 Apr 2004 10:57:27 -0700, Sun Tzu <sun### [at] nospamhotmailcom> 
wrote:
> I've got 1 gig RAM and 6 gig of page file.  I was watching the memory 
> usage
> and it claimed out of memory at 2gig.  I seem to recall hearing something
> about a 2gig maximum of memory for an application regardless of the total
> amount available (Windows).  Does anyone else know something about that?

Win32 applications are limited to using approximately 2GB of memory. "Out 
of memory" in this case really means "out of address space". The total 
address space is 4GB, but applications are only allowed to use half of it. 
Applications that work with data sets larger than that must take special 
measures in order to do so.


---
FE


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 15:54:53
Message: <40818b8d$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JWV wrote:
| The level-4 render was to much for my laptop :-(. It used 2GB of memory
| while parsing, and it wasn't finished jet.
|
| I will post the source in p.b.sf if someone wants to give it a try on a
| machine with a LOT of memory  :-).
|
	It should be possible to decrease the amount of memory required
(divide it by 4). At the first iteration, since blok is a simple cube,
balk is equivalent to a box { <0, 0, 0>, <5, 1, 1> } although it is
done with 4 boxes. Even with that I don't have enough RAM to give it a
try from what you're all saying ("only" 512M) but some of you might
want to try it.

	Of course, this is only true so long as f is set to 1, with higher
values the results won't look the same...

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAgYuNqIYJdJhyixIRAtY8AKCPvNA3q/2eie6vUFSATB7U9P5O8QCgkBSE
tJrAJDRGPjd29WnMz9FE/h8=
=WXIA
-----END PGP SIGNATURE-----


Post a reply to this message

From: JWV
Subject: Re: many cubes [75 KB]
Date: 17 Apr 2004 16:12:17
Message: <40818fa1$1@news.povray.org>
> It should be possible to decrease the amount of memory required
> (divide it by 4). At the first iteration, since blok is a simple cube,
> balk is equivalent to a box { <0, 0, 0>, <5, 1, 1> } although it is
> done with 4 boxes.

I tried to  make the code work like that, but it was more complex.

> Of course, this is only true so long as f is set to 1, with higher
> values the results won't look the same...

That is the problem indeed.

I might try to make it work anyway. It should be possible by making the
first "blok" a union of 8 box{0, <5,1,1>}. Then setting the level to 3
will - should :-) - have the same effect as the level 4 in the old file.

But I will do that tommorow since i need some sleep now.

Greetings,

JWV

BTW, thanks to all of you for all the replies!

"Jérôme M. Berger" <jbe### [at] ifrancecom> wrote in message
news:40818b8d$1@news.povray.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> JWV wrote:
> | The level-4 render was to much for my laptop :-(. It used 2GB of memory
> | while parsing, and it wasn't finished jet.
> |
> | I will post the source in p.b.sf if someone wants to give it a try on a
> | machine with a LOT of memory  :-).
> |
> It should be possible to decrease the amount of memory required
> (divide it by 4). At the first iteration, since blok is a simple cube,
> balk is equivalent to a box { <0, 0, 0>, <5, 1, 1> } although it is
> done with 4 boxes. Even with that I don't have enough RAM to give it a
> try from what you're all saying ("only" 512M) but some of you might
> want to try it.
>
> Of course, this is only true so long as f is set to 1, with higher
> values the results won't look the same...
>
> Jerome
> - --
> ******************************
> *      Jerome M. Berger      *
> * mailto:jbe### [at] ifrancecom *
> *  http://jeberger.free.fr/  *
> ******************************
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFAgYuNqIYJdJhyixIRAtY8AKCPvNA3q/2eie6vUFSATB7U9P5O8QCgkBSE
> tJrAJDRGPjd29WnMz9FE/h8=
> =WXIA
> -----END PGP SIGNATURE-----


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: many cubes [45 KB]
Date: 18 Apr 2004 07:59:23
Message: <40826d9b@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	Here it is at recursion 4...

		Jerome

- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAgm2ZqIYJdJhyixIRAn7xAJ9GAPreW0mjdGtMkAtxAjit2cTTkQCfU42j
kVlZLwukg0ibNBmTNU1xEMQ=
=RbfS
-----END PGP SIGNATURE-----


Post a reply to this message


Attachments:
Download 'blok.jpg' (45 KB)

Preview of image 'blok.jpg'
blok.jpg


 

From: JWV
Subject: Re: many cubes [45 KB]
Date: 18 Apr 2004 08:03:34
Message: <40826e96@news.povray.org>
very cool!, but you turned of the reflection of the ground plane didn't you?

How long did it take to parse/render?

Greetings,

JWV

"Jérôme M. Berger" <jbe### [at] ifrancecom> wrote in message
news:40826d9b@news.povray.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Here it is at recursion 4...
>
> Jerome
>
> - --
> ******************************
> *      Jerome M. Berger      *
> * mailto:jbe### [at] ifrancecom *
> *  http://jeberger.free.fr/  *
> ******************************
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFAgm2ZqIYJdJhyixIRAn7xAJ9GAPreW0mjdGtMkAtxAjit2cTTkQCfU42j
> kVlZLwukg0ibNBmTNU1xEMQ=
> =RbfS
> -----END PGP SIGNATURE-----
>


----------------------------------------------------------------------------
----


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: many cubes [45 KB]
Date: 18 Apr 2004 14:25:14
Message: <4082c80a@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JWV wrote:
| How long did it take to parse/render?
|

	Parse time: 19s
	Render time: 3236s (~55mn)

	The computer used is an Athlon XP 2700+ with 2x256M of RAM in dual
channel mode and 1GB of swap running linux mandrake 9.1 (kernel
upgraded to 2.4.22)

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAgsgJqIYJdJhyixIRAk9lAKCdc4d8N+qOB3cs6N53NU788F9R+wCgj5UF
aUQsLh3ytNglrW5WHRnSJ4I=
=HYFZ
-----END PGP SIGNATURE-----


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: many cubes [45 KB]
Date: 19 Apr 2004 13:40:39
Message: <40840f17@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	Higher resolution version (1152x864) is at
http://jeberger.free.fr/tmp/blok.jpg

	Render time was 28min????

		Jerome

- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAhA8WqIYJdJhyixIRAsXTAJ4gPp4sfmldBsVfT9yNCHoltcN/4ACghnUw
2J7t3HdTml6eCMC+ZQ8QewU=
=CZQf
-----END PGP SIGNATURE-----


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: many cubes [75 KB]
Date: 19 Apr 2004 15:26:43
Message: <opr6pxmsrnzjc5hb@news.povray.org>
On Sat, 17 Apr 2004 19:27:53 +0200, JWV <jwv|at|planet.nl> wrote:
> Thanks for trying it! The level 4 scene should have about 48^4=5.308.416
> cubes. I am not sure how much memory is used for this amount, but it 
> apears
> to be quite a lot.

There are ways to overcome such limitations and render fractals with 
greater recursion depth. The most effective (in my experience) is to 
generate a mesh (either externally or in POV-SDL) of the fractal at a 
convenient depth, and then use that mesh as the low level building block 
in the bigger fractal. The reduction in memory usage can be quite 
dramatic. The important thing is to keep the total number of objects 
within reasonable bounds. 48^4 cubes is a little much for POV-Ray to 
handle; 48^2 or 48^3 mesh instances might work better. Unfortunately, 
POV-Ray doesn't handle huge meshes very well, but you might be able to 
reach level 5 (or more) that way.

---
FE


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: many cubes [75 KB]
Date: 20 Apr 2004 16:00:28
Message: <opr6rtu8fxzjc5hb@news.povray.org>
On Mon, 19 Apr 2004 21:26:42 +0200, Fredrik Eriksson <noo### [at] nowherecom> 
wrote:
> There are ways to overcome such limitations and render fractals with 
> greater recursion depth. The most effective (in my experience) is to 
> generate a mesh (either externally or in POV-SDL) of the fractal at a 
> convenient depth, and then use that mesh as the low level building block 
> in the bigger fractal. The reduction in memory usage can be quite 
> dramatic. The important thing is to keep the total number of objects 
> within reasonable bounds. 48^4 cubes is a little much for POV-Ray to 
> handle; 48^2 or 48^3 mesh instances might work better. Unfortunately, 
> POV-Ray doesn't handle huge meshes very well, but you might be able to 
> reach level 5 (or more) that way.


Just to show that it's possible:

http://hem.bredband.net/b230591/povray/cubefractal5_2048.jpg (828 kB)
http://hem.bredband.net/b230591/povray/cubefractal6_4096.jpg (2.69 MB)


---
FE


Post a reply to this message

From: Roberto Amorim
Subject: Re: many cubes [45 KB]
Date: 20 Apr 2004 16:51:06
Message: <40858d3a@news.povray.org>
> Higher resolution version (1152x864) is at
> http://jeberger.free.fr/tmp/blok.jpg
>
> Render time was 28min????

Is that POV or Pixie?


Post a reply to this message

From: Dan P
Subject: Re: many cubes [75 KB]
Date: 20 Apr 2004 21:29:38
Message: <4085ce82@news.povray.org>
Fredrik Eriksson wrote:

> On Mon, 19 Apr 2004 21:26:42 +0200, Fredrik Eriksson <noo### [at] nowherecom> 
> wrote:

<snip />

> Just to show that it's possible:
> 
> http://hem.bredband.net/b230591/povray/cubefractal5_2048.jpg (828 kB)
> http://hem.bredband.net/b230591/povray/cubefractal6_4096.jpg (2.69 MB)

God bless recursion, every one in a one in a one in a one...
-- 
Respectfully,
Dan P
http://<broken link>


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: many cubes [45 KB]
Date: 21 Apr 2004 13:27:40
Message: <4086af0c@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Is that POV or Pixie?
|
	Both my renders were done with pixie...

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAhq8LqIYJdJhyixIRAu45AJkBdMlHf7cKISheH638sPvcC/YlFACfTuy4
C/a1/nogEGaY59x2PcCDOlI=
=ZdrS
-----END PGP SIGNATURE-----


Post a reply to this message

From: Zesty
Subject: Re: many cubes [75 KB]
Date: 22 Dec 2004 15:20:00
Message: <web.41c9d6789e31cbafdcad99600@news.povray.org>
Sorry to be coming late to this, but I'm willing to try it...I have a G5
with 4 gig of RAM and would be interested to see how it goes.

Zesty

"JWV" <jwv|at|planet.nl> wrote:
> The level-4 render was to much for my laptop :-(. It used 2GB of memory
> while parsing, and it wasn't finished jet.
>
> I will post the source in p.b.sf if someone wants to give it a try on a
> machine with a LOT of memory  :-).
>
> Greetings JWV
>
>
>
> "JWV" <jwv|at|planet.nl> wrote in message news:408027c5@news.povray.org...
> > Hello,
> >
> > This is my latest desktop wallpaper attempt. Is are 110592 cubes, placed
> my
> > an algoritm. This image has an "recursion-level"of 3, and i am currently
> > rendering one with level 4, which has 48 times as much cubes.
> >
> > a large .jpg version [1600x1200] of both images will be available at
> >
> > home.student.utwente.nl/j.w.a.vaandrager/background_L3g.jpg
> >
> > change the L3g to L4g to view the "level-4" image when it's done.
> >
> > Comments and critisism is welcome as usual.
> >
> > Greetings,
> >
> > JWV
> >
> >
> >


Post a reply to this message

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