|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi there,
I'm back with awesome super computing power! Indeed, now I have one
Macintosh PowerPC 7600 at 120Mhz! It can render up to 2 images
(640x480) that contains no reflection nor refraction in a day! Isn't
this a technological achievement! ;)
It took numerous hours to render this 1024x768 image which I scaled to
800x600 for this post. This scene contains 300x250 spheres (75000) and
it's just about the maximum my 48Mb RAM can support. And this is quite
a trouble for me because this is the start for an IFS (a fractal in
movement). This would be the Level 1 of the fractalized scene, but
adding more levels would jump the number of spheres exponentially, which
is impossible. I will however reduce the number of them when I transfer
the merged spheres into bezier sphere_sweeps.
I need help with optimising the memory management of this scene, for
the final render I would estimate the number of spheres to (300x25)^9
(7500^9 = 4.2x10^11). I think I'll read some about isofunctions to see
if it could be done with them... (Do megapov have the isofunctions?)
Anyway here's the first of a serie:
And thanks,
Simon
Post a reply to this message
Attachments:
Download 'supersinusoidal.jpg' (165 KB)
Preview of image 'supersinusoidal.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3DDD228A.57FE4541@no_spam.com>,
Simon Lemieux <no_### [at] no_spamcom> wrote:
>Hi there,
> I'm back with awesome super computing power! Indeed, now I have one
>Macintosh PowerPC 7600 at 120Mhz! It can render up to 2 images
>(640x480) that contains no reflection nor refraction in a day! Isn't
>this a technological achievement! ;)
>
> It took numerous hours to render this 1024x768 image which I scaled to
>800x600 for this post. This scene contains 300x250 spheres (75000) and
>it's just about the maximum my 48Mb RAM can support. And this is quite
>a trouble for me because this is the start for an IFS (a fractal in
Haunt e-bay or your local chip shop (unless you live in England). The
7600 might be slow by today's standards, but it's a great computer.
Specifically, it has eight memory slots and can be upgraded to 512 MB; 1
GB if you're willing to risk going out of spec (using 128 MB chips
instead of the maximum 64 MB chips that Apple recommends).
Note that while the chips can be added in groups of 1, there are
supposed to be minor speed increases by keeping all RAM chips in groups
of 2--the same kind in A1 and B1, A2 and B2, A3 and B3, and A4 and B4.
http://docs.info.apple.com/article.html?artnum=112358
We still have a few of these computers on use on our campus.
I started with POV-Ray 3.0 on a Power Mac 7100 at 80 MHz. I remember
being very stoked when I finally saved up enough to get a 300 MHz G3
about five years ago (which I still use). It was the top of the line
then!
Jerry
--
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Simon Lemieux <no_### [at] no_spamcom> wrote in
news:3DDD228A.57FE4541@no_spam.com
> I need help with optimising the memory management of this scene, for
> the final render I would estimate the number of spheres to (300x25)^9
> (7500^9 = 4.2x10^11). I think I'll read some about isofunctions to see
> if it could be done with them... (Do megapov have the isofunctions?)
Hello,
I will be heapy to help You, email sources of final image to pov### [at] raf256com
I can spend about 1 day on 1,7 GHz 512 DDR computer for You :)
But You must wait about 1 week (I need to finish my jewels scene first)
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Hello,
> I will be heapy to help You, email sources of final image to pov### [at] raf256com
> I can spend about 1 day on 1,7 GHz 512 DDR computer for You :)
> But You must wait about 1 week (I need to finish my jewels scene first)
Hehe, sure! Currently the data for my scene is about 4.5Mb large... I
will probably reduce the data a lot when I can "read" the file and use
the data into a povray code, instead now the data consists of povray
code ("sphere{<x,y,z>...etc}" and I could make it into: "x y z...etc").
First improvement that will not change much on the parsing. Actually
this step is critical to adding more objects for my final IFS.
When rendering, memory is used to store spheres location and everything.
Is there a way I can know hom much memory was used? Where should I
look into the povray render info? I can't seem to find such thing...
This way by knowing how much memory is used by my project I will be able
to add more and more objects to fill your computer's memory as much as
possible! ;) This is not just for fun, actually in a fractal the more
objects there is the nicier the image!
Thanks for your help!
Simon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Simon Lemieux <no_### [at] no_spamcom> wrote in
news:3DDD228A.57FE4541@no_spam.com
[...]
Btw, what does this scene represent exacly ? You said something about 4 MB
data file for it - wilne not use SDL to generate / place spheres ?
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Btw, what does this scene represent exacly ? You said something about 4 MB
> data file for it - wilne not use SDL to generate / place spheres ?
Actually, the principal algorythm that defines the placement of the
spheres will be coded with povray itself. And there should be no more
data... But! Right now, I have a MacOS program that can display
QuickDraw at will! And the program not only shows the path of the
spheres, but it also creates the data for pov. The whole thing is made
actually to tweak the look of the sinusoidal curve for the final render.
I will definately clear out my pov scene so I can just paste the right
formulas when I find them. And I will send you the pov scene with the
sinusoidal function as soon as possible.
What I intend to do with this nowhere-maths is an IFS. An Iterated
Function System or if you prefer, a Live Fractal.
This kind of work probably as been done already, I'm not sure, but what
I have in mind is very fucked up. I'm seeking on doing a never-ending
movie of the resolution of the problem we call IFS. A movie that when
it comes to the end, you can not tell that the movie just started again
and again! With this pulsating living and furious fractal!
Woa...! ;)
I'm not sure if what I see in my mind will be seen on a screen some day,
but that sure should look nice!
And I will probably need help along the way. I used the have the
ability to program OpenGL applications to test my maths and see how
things move before doing the render. But now I'm forced to QuickDraw,
that's the best real-time visual programing ability I have. But that's
not gonna stop me!
Anyway,
Thanks and I'll send you the code when I revise it!
Simon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Woa!... Ok, I just checked my math, and I think that I would need a
bloody heavy number of spheres or whatever defines the points. How many
spheres can "1 day on 1,7 GHz 512 DDR" render?? Cause, you see there
should be way much more than a few trilions or whatever you call them in
english! Can 9 to the power of 9 multiplied by a constant n which will
triger the quality of the curve. And n should be set to something
probably like 100 or 1000 or more, which whould give 9^9 = 3.8e8 x 100
or 1000, gees... say there could be like 1e12 or 1e13. Can "1 day on
1,7 GHz 512 DDR" do it? Cuz my "Macintosh PowerPC 7600 at 120Mhz" won't
go far... hehe...
Thanks Raf,
Simon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Simon Lemieux <no_### [at] no_spamcom> wrote in
news:3DDE72EB.993745F6@no_spam.com
> say there could be like 1e12
even assuming that each sphere is only 1 byte (and probably it's about 12-
20 and more) :
4 GB ram (max virtual memory in Win32) = 4*1000*1000*1000
= 4e9
so... NONE PC computer can render this scene (out of VMemory), to render it
it would need cluster of about
1e12/1e9 = 1000 computers 4 GB RAM each to store entire scene in ram
not to mention parse-time :)
sorry, You should re-design Your's idea probably :/
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 1e12/1e9 = 1000 computers 4 GB RAM each to store entire scene in ram
Doh!
Hmmmmmphhhh...... blah.... erm... Damn! >:(
How could this be done then? Defining a 2D fractal is something pretty
possible, now, how could I possibily create a 3D fractal? Hmmm....
since the placement of the sphere is determined by a simple sinusoidal
function, I believe I could use a isofunction or whatever you call it to
make the whole thing One object with almost no RAM of use and Only CPU
calculations... Ok, I have no idea what an isofunction is I will read
right on about it, I know it could do it. But wow, gee, is it possible
to make a fractal isofuntion? Ok, ok, I have to read some...
Thanks,
Simon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Simon Lemieux <no_### [at] no_spamcom> wrote in
news:3DDE79F0.21FD32A7@no_spam.com
> how could I possibily create a 3D fractal?
hmm... julia and mandelbrot objects in help ?
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|