Slashdot Mirror


Photon Soup Update

rkeene517 writes "Two and a half months ago I posted an article asking for spare computer cycles. I was swamped by emails and volunteers. After the first weeks most dropped out. The die-hards kept running the program and we simulated 45.3 billion photons. The pictures are here. Thanks to all that helped out. I will be submitting the images to SIGGRAPH 2005 and a paper. (P.S. Never post your email address on slashdot. I got 900 emails! ouch.)"

116 comments

  1. Never post by bert.cl · · Score: 5, Funny

    The pictures are here. Thanks to all that helped out. I will be submitting the images to SIGGRAPH 2005 and a paper. (P.S. Never post your email address on slashdot. I got 900 emails! ouch.)" Within 2 months: "The paper got a prize and I would like to thank everyone who participated PS: Never post pictures of photo's on slashdot, my webserver is nothing but photons now"

    1. Re:Never post by bert.cl · · Score: 1

      Well, the server might burn with such a high heat that there's nothing left but protons, anywayz, it was a joke, but you got me there :D

    2. Re:Never post by Anonymous Coward · · Score: 3, Funny

      P.S. Never post your email address on slashdot. I got 900 emails! ouch.

      Bah, 900 emails is nothing. I'm still wondering how they got my address.

      William H. Gates III
      bill.gates@microsoft.com

    3. Re:Never post by Sri+Lumpa · · Score: 2


      Let's just say that after that story he will find out that he didn't need to _simulate_ the 45.3 billions photons.

      --
      "The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers." Bill Gates,
    4. Re:Never post by dolphinling · · Score: 2, Funny

      Looks like he still needs the computing cycles. There a client we can run for that?

      --
      There are 11 types of people in the world: those who can count in binary, and those who can't.
    5. Re:Never post by JWSmythe · · Score: 1


      I imagine that it just became a pile of magic smoke.

      --
      Serious? Seriousness is well above my pay grade.
    6. Re:Never post by Llanfairpwllgwyngyll · · Score: 1

      "Never post your email address on slashdot. I got 900 emails! ouch."

      Lightweight! I get more SPAM than that EVERY DAY!

    7. Re:Never post by IronicCheese · · Score: 1

      poser. ;) Bill's real email is (no secret)

      billg@microsoft.com

    8. Re:Never post by angrykeyboarder · · Score: 1

      I suspect that one is long gone as well. It's been circulating the net for years.

      --
      Scott

      ©20014 angrykeyboarder & Elmer Fudd. All Wights Wesewved
    9. Re:Never post by PhrostyMcByte · · Score: 1

      Yes, actually... Freenet.

    10. Re:Never post by HuguesT · · Score: 1

      Yes but at least you don't have to read them. How many emails that you want/have to read do you receive every day?

    11. Re:Never post by Shaheen · · Score: 1

      his e-mail address is well-known to be billg@microsoft.com

      although i expect it is monitored in some fashion...

      --
      You should never take life too seriously - You'll never get out of it alive.
    12. Re:Never post by BugZRevengE · · Score: 1
      theefer was modded Troll:
      I'd be interested in the process you suggest that transforms matter into photons...
      Nuclear fusion create light (& heat)
      Light = photons.
      Fusion converts mass into energy.
      So, if slashdotted server heats up enough to form a fusion reaction, then some of his server would convert into photons...
      Mass (Matter) to light reaction...
      --
      Why me? Why not!
      BACKUP YOUR PARTITIONS
  2. Crap server by Anonymous Coward · · Score: 1, Insightful

    You'd think that having a previous story on slashdot would kind of suggest getting a server that doesn't fall over because of the /. effect...

    Anybody got mirrors of the pics?

  3. post your address? by ender1598 · · Score: 0, Redundant

    Yeah, never post your server address either. Looks like it's already down with only 1 comment!

    --
    There are 10 kinds of people in the world; those that understand binary and those that do not.
  4. Never post your site, either by marsu_k · · Score: 4, Funny
    (P.S. Never post your email address on slashdot. I got 900 emails! ouch.)
    One comment and cpjava.net is already inaccessible... guess you shouldn't post links either :-)
  5. Freecache by BReflection · · Score: 0, Redundant
    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
    1. Re:Freecache by Anonymous Coward · · Score: 0

      These are also ./'ed

    2. Re:Freecache by 1u3hr · · Score: 1
      Try these:

      All dead as I type.

    3. Re:Freecache by BReflection · · Score: 0

      Looks like I got to them too late. They were working when I initially posted them, and they still work for me, but i imagine it has to do with it being cached in a server near your area.

      I wish people would start using it in their articles. It would help negate the /. effect.

      --
      python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
    4. Re:Freecache by Anonymous Coward · · Score: 1, Funny

      All dead as I type.

      Now's your chance to direct a slashdotting. Try things like

      The pictures are available at www.sco.com

    5. Re:Freecache by Halo1 · · Score: 3, Informative

      Since freecache only caches files >5MB, this isn't going to help anything (freecache is just going to pass those requests through to the original server)...

      --
      Donate free food here
    6. Re:Freecache by JWSmythe · · Score: 1


      Make the link go to a particularly slow CGI for full effect. :)

      --
      Serious? Seriousness is well above my pay grade.
    7. Re:Freecache by Anonymous Coward · · Score: 0

      I wish people would start using it correctly. None of those files were cached because none of them were more than 5 MB.

  6. interesting. by zushiba · · Score: 0, Redundant

    If he was /.ed before why would he not set up mirrors in anticipation of this event?

  7. Sorry... by nycsubway · · Score: 1

    I see 45.3 billion photons... but man are they slow! This page is taking forever to load..

    1. Re:Sorry... by Anonymous Coward · · Score: 0

      They are not slow, just tired. What would you expect.. the guy drives them crazy for a long time, and just as they get a break 45.3 billions of ./ readers are here screaming out: I want to see it, I want to see those photons.

    2. Re:Sorry... by Anonymous Coward · · Score: 0

      It's Schroedinger's computer: Thousands of observers break its delicate state of superposition, and in this case it has dropped into a state of unresponsiveness.

  8. Never post your link on slashdot! by Telcontar · · Score: 0, Redundant

    P.S.: Never post your URL on slashdot! I got 900 hits per second! Ouch!

    1. Re:Never post your link on slashdot! by Anonymous Coward · · Score: 0

      P.S.: Never post your URL on slashdot! I got 900 hits per second! Ouch!

      What link was that?

      / heh

    2. Re:Never post your link on slashdot! by Anonymous Coward · · Score: 0

      ... so many real emails that there was no room for spam.

  9. Comment removed by account_deleted · · Score: 0

    Comment removed based on user account deletion

  10. Neutrinos, too by mangu · · Score: 2, Funny
    I'd be interested in the process you suggest that transforms matter into photons...


    I don't think this is possible. AFAIK, one could merge that server with another simlar server composed entirely of anti-matter, but then one would be left with a lot of neutrinos, besides the photons.

    1. Re:Neutrinos, too by theefer · · Score: 1

      but then one would be left with a lot of neutrinos, besides the photons.

      Yeah, that was my point.

      --
      theefer
  11. You asked the wrong question by mangu · · Score: 0, Redundant
    I posted an article asking for spare computer cycles.


    You should have posted an article asking for spare servers.

  12. Slashdotted by Barryke · · Score: 0, Redundant

    (P.S. Never post your email address on slashdot. I got 900 emails! ouch.)"

    Never post your url or you'll get slashdotted !

    --
    Hivemind harvest in progress..
    1. Re:Slashdotted by Anonymous Coward · · Score: 0

      And you'll get 900 posts making jokes about getting slashdotted.

  13. Re:I missed this I guess... by gl4ss · · Score: 3, Informative

    read the fucking blurb?

    ** I will be submitting the images to SIGGRAPH 2005 and a paper.**

    the images make a nice addition to the paper.. to show that the technique actually works.

    --
    world was created 5 seconds before this post as it is.
  14. MOD -1, WRONG by Anonymous Coward · · Score: 0

    Freecache won't cache those because they're under 5Mb, and those aren't the interesting files anyway, we want to see the images.

  15. Not everyone who mailed him got an answer by los+furtive · · Score: 1, Troll

    Never post your email address on slashdot. I got 900 emails!

    I remember sending him an email. I also remember mentioning that the methodology (him mailing you the file) as opposed to downloading it or using Java Webstart was not the smarted way to go about doing this.

    Finally, I also remember he never sent me an invite even though I asked. Oh well, glad it worked out for him in the long run.

    --

    I'm a writer, a poet, a genius, I know it. I don't buy software, I grow it.

    1. Re:Not everyone who mailed him got an answer by BarryNorton · · Score: 1

      A bittorrent of the program, together with a copy of the original paper, and then of the results, and I might actually have bothered...

    2. Re:Not everyone who mailed him got an answer by rkeene517 · · Score: 2, Informative

      My most sincere appologies. I had so many emails that I couldn't reply to them all. I ended up putting the code on my web site, which is what I should have done in the first place. This is the first time I ever posted to slashdot and it was a learning experience.

      --
      Inside every complex program is a simple solution trying to get out.
  16. never bother by Anonymous Coward · · Score: 0

    reading a slashdot article which mentions something about servers i got 900 posts saying "never post your server address on slashdot!" ouch!

  17. Re:I missed this I guess... by BarryNorton · · Score: 1
    read the fucking blurb?

    I think that's really uncalled for - too little information is included in not just this article, but the original too.



    Granted a person needs to protect their work until published, but 'simulating photons' is way too little to give away...


  18. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  19. Auto-Mirror by andr0meda · · Score: 2, Interesting


    How difficult could it be to auto-mirror front page stories on /. itself?

    I mean, data-wise, local websites probably take up anything under a 100 Meg, and only go a few pages deep. The rest of it can still link to the outside world, since the probability of people following over 2 pages deep links away from the actual report is small. So the outside server could easily survive, and is not forced to switch servers just because there is ONE spike. /. itself Already takes the hit anyway, so it could easily sustain the traffic.

    It seems a bit silly to force websites onto larger bandwidth servers because they get linked to from news sites such as these. It's nice for the advancement of broadband, but it's also wastefull in resources most of the time.

    --
    With great power comes great electricity bills.
    1. Re:Auto-Mirror by Colonel+Cholling · · Score: 1, Informative
      --

      I am Sartre of the Borg. Existence is futile.
    2. Re:Auto-Mirror by afabbro · · Score: 0, Troll
      That's not a real answer. It's laziness on the part of the Slashdot "editors".

      could try asking permission, but do you want to wait 6 hours for a cool breaking story while we wait for permission to link someone?

      Personally, yes. But why not put it to a poll? In fact, I submitted it as a poll question and...it was rejected.

      So the quick answer is: "Sure, caching would be neat." It would make things a lot easier when servers go down, but it's a complicated issue that would need to be thought through in great detail before being implemented.

      God forbid the editors would actually do some work! Let's see, they don't read the site (ever see a comment from an editor?), they don't check for dupes, they can't be bothered to spell-check, they don't do new graphics or site design, and the code doesn't change much. What do they do? Make excuses.

      --
      Advice: on VPS providers
    3. Re:Auto-Mirror by Ieshan · · Score: 3, Interesting

      I'm feeding a troll, so I'm posting without bonus to lessen the ugly karma hit.

      Don't be ridiculous. Caching DOES have very tricky issues dealing with copyright infringement.

      My suggestion for Caching, though:

      Enable submitter-optional caching, don't cache sites with any ad banners, only cache a site AFTER a cache.txt file has been placed in the home directory of the site with a listing of the files allowed to be cached (check it once every 5 minutes or so).

    4. Re:Auto-Mirror by Anonymous Coward · · Score: 0

      "What do they do? Make excuses. "

      No sure, shitlock. It's something we've known for quite a while now. You really think bitching is going to get them off their asses? Get real.

    5. Re:Auto-Mirror by asscroft · · Score: 1

      "caching would be neat but it's a complicated issue that needs to be thought through before being implimented"

      So think it through already. It's been how many years? When that was written google didn't even exist. Since then google has implimented a wonderful caching system that seems to work. If the geniuses at google can figure out how to cache the entire freaking intarweb, surely people smart enough to bring us slashdot can figure out a way to cache 7 or 8 sites.

      --
      because I have been enjoined by this Holy Office to abandon the false opinion which maintains that the Sun is the centre
    6. Re:Auto-Mirror by Anonymous Coward · · Score: 0

      How difficult could it be to search google for the URL and then click its cached page?

      I mean, time-wise, googles website probably takes up anything under 1GB a day, and goes several pages deep.

    7. Re:Auto-Mirror by JohnGalt00 · · Score: 1
      Enable submitter-optional caching, don't cache sites with any ad banners, only cache a site AFTER a cache.txt file has been placed in the home directory of the site with a listing of the files allowed to be cached


      the cache.txt idea sounds great, but the submitter is not always the owner of the site. It sounds like you could just cache based on the presense of the cache.txt file.
    8. Re:Auto-Mirror by AmericanInKiev · · Score: 1

      A Website can be cached and forwarded without copyright issues - much of the web is locally cached at some intersection in any event - and all of it is buffered and forwarded.

      however - to properly service the advertisers - a cahing service would serve a frequently refreshed copy - count the copies, and then over time - request page views to correspond to the copies served.

      AIK

    9. Re:Auto-Mirror by afabbro · · Score: 1

      Why is this modded as a Troll? Where are we supposed to discuss Slashdot on Slashdot?

      --
      Advice: on VPS providers
    10. Re:Auto-Mirror by HardJeans · · Score: 1

      Why not use a pre-existing standard robots.txt. If google can cache a site that does not have a robots.txt then /. should be able to. As long as they put up some sort of disclaimer like google does it should be fine. But they should cache it, keep it on the server, and check if the server the page is on is down every so often. Once it goes down, automatically use their cache to display the page.

      --
      "I'm not talking to myself, I'm just the only one who's listening." - Jimmies Chicken Shack
  20. 10 fempto seconds by goombah99 · · Score: 2, Informative
    IIRC, 1 watt-second of light contains about 4xE+19 visible wavelength photons. So if the scene is illumnated with a 100 watt bulb then 4 Billion photons is equivalent to a 10 fempto second shutter speed.

    Of course if he was infact only modeling the photons that made it to the lens then the number might be a few hundred times larger.

    Thus I dont understand why this page is taking so long to load. If he had just put those photons into the optical fiber carrying my web connection I would have gotten them sooner.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  21. Re:I missed this I guess... by Anonymous Coward · · Score: 0

    well none of us know any more than you can find out by visiting his site. or just wait for the paper, sweetheart.

  22. Heh, so Java's slow indeed by vadim_t · · Score: 3, Interesting

    Computers got 3000 times faster, but Java managed to compensate for 11 years of evolution.

    The previous article says:
    Year: 1994
    Computers: 100 SparcStation 1
    Time: 1 month
    Photons: 29 billion, 29 billion/month

    Now we have:
    Year: 2004
    Computers: Unknown, supposedly 3000 times faster
    Time: 2.5 months
    Photons: 45.3 billions, 18 billion/month

    If computers are indeed 3000 times faster, or heck, even 100, you should have got 72 billion just out of one of those computers running for the 2.5 months.

    1. Re:Heh, so Java's slow indeed by kingkade · · Score: 1

      Gee where to start...

      Scaling from 1 month to 2.5 doesn't mean 2.5 times the simulated photons, it could be that he didn't even have a fraction of the users he had back in '94. Also scaling raw Hz clock cycles which is where the "3000 times faster" remark expertly refers to is a terrible measure of extrapolating waht the performance should be. It must suck being so stupid.

    2. Re:Heh, so Java's slow indeed by vadim_t · · Score: 1, Informative

      Well, let me explain in more detail.

      In 1993, the computer I had was a 386 DX 40 with 4 MB RAM and 170MB hard disk. 486 were recent and still very expensive.

      Today, I have a dual Athlon MP 2000+ with 1 GB ECC DDR RAM and 200GB disk which when I bought it, cost me about the price of a high-end single CPU computer and definitely performed better.

      After googling a bit, I found a Sparc Station 1 had a 25 MHz CPU, 64MB RAM, and a 25 MHz bus. While I know perfectly that MHz is not a good measure of performance, just the 25 MHz bus would ensure that machine would have a MUCH lower performance than anything modern.

      Now, while Sun hardware at that point was probably way beefier than consumer stuff, these days it doesn't seem to be true for Sun hardware that has an affordable price.

      So, let's try a little estimation. Assuming current hardware has a performance of only 10X of the Sparc Station 1, he should have got the same result with just 10 volunteers running 24/7. From the 900 emails figure it sounds like he got quite a few more than that.

      And despite this increase in computing power, somehow his per-month performance was lower than 11 years ago.

    3. Re:Heh, so Java's slow indeed by Anonymous Coward · · Score: 2, Insightful

      I don't think he's computing the same scene as in 1993. It's likely much more complex. Also, more complex algorithms could be used. In other words, you can't really compare (with the data you have).

    4. Re:Heh, so Java's slow indeed by QuantumFTL · · Score: 2, Informative
      Computers got 3000 times faster, but Java managed to compensate for 11 years of evolution.

      If that's not flamebait, I'm not sure what is... Geez, how can you even say that?

      The previous article says: Year: 1994 Computers: 100 SparcStation 1 Time: 1 month Photons: 29 billion, 29 billion/month

      Now we have: Year: 2004 Computers: Unknown, supposedly 3000 times faster Time: 2.5 months Photons: 45.3 billions, 18 billion/month

      If computers are indeed 3000 times faster, or heck, even 100, you should have got 72 billion just out of one of those computers running for the 2.5 months.


      Blockquoth the old article:
      Now computers are 3000 times faster and I am doing it again only much better, with a smaller aperature, in stereo, with 3 cameras, and with some errors fixed, and in Java.


      I don't know about you, but that sounds like to me he is complicating things quite a bit. It's hard to blame his choice of Java language on the slow execution when he's making the problem considerably harder!

      Not to mention the fact that his code may not be as efficient... I can write a slow C program too if I use the wrong data structures or a bad algorithm.

      You're comparing apples to oranges here. Photon mapping is insanely complex in terms of the computational requirements, and doing 3 cameras with stereo, etc... Yeah.
    5. Re:Heh, so Java's slow indeed by rkeene517 · · Score: 2, Interesting

      Actualy the network computing started with many people rendering the image and after a month only about 5 or 6 people were following through and still rendering. Unfortunately I didn't put in a counter for cumulative CPU hours.

      --
      Inside every complex program is a simple solution trying to get out.
    6. Re:Heh, so Java's slow indeed by Anonymous Coward · · Score: 0

      But the point is that much more complex algorithms weren't used (this is absolutely brute force -- improvements could only make it faster)... only the implementation language and the hardware have changed. The hardware is so much faster that you would have expected wildly better results but since we didn't see that it must mean that either the participation level was lower or the implementation language was slower.

    7. Re:Heh, so Java's slow indeed by tommeke100 · · Score: 1

      who says the problem scales linear? maybe it's not O(n) but O(n*logn) or something. I don't know enough about the subject anyway, but still...
      Just think of Fibonacci numbers, maybe to calculate one more photon you need a factor 10 speed up or something.

    8. Re:Heh, so Java's slow indeed by RedWizzard · · Score: 2, Insightful
      who says the problem scales linear? maybe it's not O(n) but O(n*logn) or something.
      It pretty much has to scale linearly to be able to distribute it the way he's doing. Also, when you think about it, he's tracing the paths of photons and photons don't really interact with each other so therefore the complexity of the problem scales linearly with the number of photons.
    9. Re:Heh, so Java's slow indeed by RedWizzard · · Score: 1
      But the point is that much more complex algorithms weren't used (this is absolutely brute force -- improvements could only make it faster)... only the implementation language and the hardware have changed.
      Not true, the phyiscal modelling of the transparent objects could have been made more accurate at the cost of performance. The number and types of objects in the scene will also effect performance. If the scene and algorithm are not identical you can't draw conclusions about the efficiency of the renderer.
  23. Mirror by uss_valiant · · Score: 5, Informative

    Such a story is useless without the images. So here's a temporary mirror for the resulting images of the project:

    Photon Rendering Project: image mirror

    The mirror won't be up forever.

    1. Re:Mirror by xandroid · · Score: 1
      --
      $ echo "ceci n'est pas une pipe" | sed -Ee 's/(eci n|pas )//g'
  24. bout the pics ... by Anonymous Coward · · Score: 0

    i just had a look at the pics and it seems someone
    has been smoking in that room >:)

  25. Re:I missed this I guess... by TheGavster · · Score: 5, Informative

    Photons mapping is currently used on a small scale in some rendering engines to more accurately simulate light bounces. Its particularly useful at calculating caustics (light getting focused through a transparent medium) which can't be done by the less intensive radiosity systems. This experiment, however, seems to try to render using photon mapping exclusively. Nice idea, though not really practical at the present state of computing, given the graininess of the images and the amount of processing time. The Brazil rendering system (http://www.splutterfish.com/sf/sf_gen_page.php3?p rinter=1&page=brazil) for example, uses photon mapping on a much small scale (usually between 1-10M photons) in combination with raytracing to provide clear, realistic imagery (though not as technically perfect as this example)

    --
    "Because Science" is one step from "Because old book". Try "Because of my experiment testing my falsifiable assertion".
  26. Another copy by andy314 · · Score: 2, Informative

    All 6 images: http://ca.geocities.com/andy314_1/photons.tar.gz

  27. units? by Anonymous Coward · · Score: 0

    1 watt-second of light

    Otherwise known as 1 joule of light?

    1. Re:units? by Anonymous Coward · · Score: 0
      1 joule of light

      otherwise known as a watt-second right?

      besides chicken/egg logic, the watt-second description is more appropos to purpose of comparion to watts and..er.. seconds.

  28. Spare computer cycle-tax credits, clearing house by Cloudface · · Score: 1

    It would be useful if the IRS were to offer some kind of tax write-off for use of one's spare computing cycles. I formerly worked in an office where all the desks had networked computers that did...nothing... (except suck down sleep-cycle juice) for twelve to eighteen hours a day, if not 24 hours a day on weekends. Presuming a workaholic who leaves the keyboard alone for eight hours every night (to run to the pharmacy to refill that Provigil prescription?) and crashes on weekends, that's, uh, urm, 88 hours of downtime. Not counting lunch, bathroom breaks, naps, nooners, etc... I kind of wonder what could be accomplished with all this spare (corporate) computing power. It would be thriftful, although perhaps Orwellian on an individual basis, if one could register a CPU with a central gov't agency which could a.) disburse the unused cycles to scientific and commercial endeavors, then b.) give back a modest tax credit. You know--SETI@irs.gov... Is this a truly horrible idea: allowing the Feds (could also be done on a state level--hint, hint, California) unfettered access to your computer? Can't they already get unfettered access if they are all desirous and (legally speaking) puppy-eyed? Having said that I'm therefore pleased that the best-know distributed computing program is out of Berkeley...

  29. 650k PNG files? by fontkick · · Score: 3, Informative

    I would recommend that the submitter take down the zips and images and reoptimize them as smaller size JPGs. A 650k file is just crazy for the actual image - which is only 512 pixels wide and blurry (due to depth of field effects). Just go into Photoshop, hit "Save for web", and you can resize and change the JPG settings to your hearts content. I got one of the files down to 12k and it looks fine. These are not highly detailed images to start with. .PNG may be the format of choice for geeks worldwide, but I've always thought it was worthless.

    1. Re:650k PNG files? by azuretongue · · Score: 2, Informative

      Heck use pngcrush
      Best pngcrush method = 124 for soup_one.png (32.88% reduction)

      Best pngcrush method = 124 for soup_one_2.png (33.17% reduction)

      Best pngcrush method = 16 for soup_two.png (36.67% reduction)

      Best pngcrush method = 16 for soup_two_2.png (36.85% reduction)

      Best pngcrush method = 16 for soup_three.png (28.52% reduction)

      Best pngcrush method = 16 for soup_three_2.png (28.57% reduction)

      Pngcrush is free, open, and cross platform enough to run on those Sun SparcSataion1s he seems to be using.

    2. Re:650k PNG files? by HuguesT · · Score: 1

      I'm happy to see the artifact-free result of so much computation. Sure it's blurry but not due to noise. The blur is part of the data in this case.

      I agree that the author could post JPG preview images, but getting the current pictures is useful as well.

    3. Re:650k PNG files? by DeltaSigma · · Score: 1
      ".PNG may be the format of choice for geeks worldwide, but I've always thought it was worthless."
      Try taking screenshots of open applications, or a shell.

      PNG will beat out GIF every freaking time, with no loss in image quality (no artifacts, no reduction in color depth) and still stomp any JPEG of comparable quality.

      It is, perhaps, the best image format for very accurate images. It has a size that competes with JPG and GIF, with the added benefit of an alpha channel. This alpha channel feature is greatly aided by the accuracy of the PNG format, because we can do some interesting transparency effects that wouldn't be possible with JPG and GIF without visible artifacts.

      With 24-bit color, alpha channels, and no visible artifacts, it becomes the defacto way for geeks to distribute images that would be used on anything more complicated than Internet Explorer rendered markup.

      This isn't to say that your opinion on its usability for your purposes is unfounded. I'd hardly dispute that. You just said you didn't understand why geeks would love it so much and I wanted to give you a few reasons they do.
  30. 1950's Kodacolor, trolls and new techniques by theolein · · Score: 4, Interesting

    Firstly, I'm kind of irritated that the usual slashdot troll crowd expends so much hatred and ignorance on a truly creative project. The technique might not be using OpenGL, DirectX or ATi or NVidia's newest cards, but that is no reason to trash talk a technique that, in a few years time, might revolutionise CGI work in movies.

    And in movie production is where this technique will most probably eventually find use. Movie studios have the budget and the server farm equipment to make good use of a time and resource expensive technique such as this.

    And they certainly would want to. The images have almost exactly the same quality as grainy 1950's kodacolor or poor images from my 1970's vintage Kodak instamatic. While adding grain to a movie is no problem, most rendering techniques used today produce surfaces that are simply too clean and glass effects that are too clear, and this immediately gets picked up by the human eye, which is very good at subliminally noticing differences in image quality. Tracing the paths of photons and their interaction through and with materials produces images that mimic reality in an excellent way, IMO.

    I'm pretty sure that a large cluster, such as the one using Apple's G5s at Virginia tech, running optimised C or C++ code would be able to produce usable footage for movies. And what's more, I'm pretty sure that sooner or later, there will be tools to make this technique more accessable.

    1. Re:1950's Kodacolor, trolls and new techniques by Anonymous Coward · · Score: 0

      I'm kind of irritated that the usual slashdot troll crowd expends so much hatred and ignorance on a truly creative project

      Indeed. What you are seeing is people who haven't accomplished anything meaningful in their own lives who get jealous when someone else accomplishes something. My ex-girlfriend was like this; hence the "ex-" designation.

    2. Re:1950's Kodacolor, trolls and new techniques by Anonymous Coward · · Score: 0

      You lying fucking shit, you never had a girlfriend.

    3. Re:1950's Kodacolor, trolls and new techniques by Hast · · Score: 2, Informative

      No, this is not a very useable way of rendering images. And he says so in the readme.

      Tracing photons is already used with the technique of photon mapping which you can look up on the net, there is a load of information available on the topic, as well as example numerous images.

      It is a pity that he did not use one of the standard scenes available to test renderers because then it would have been easier to compare the results with already existing renderers.

      The thing is, while this method has a very accurate way of simulating a scene it has a very simple scene. If you add effects used by normal photon mapping today such as sub-surface scattering (used to create realistic skin on eg Gollum) or hair/fur renderers the computational time increases to something rediculous. Since modern rendering farms struggling with less accurate simulations today it is doubtful that this particular technique is useful.

      If fact I doubt that this technique produces a result which is significantly more accurate than eg photon mapping. (Which is, again, why the lack of a standard scene is regrettable.)

      But I do agree with you that there are a lot of less than clued in people here at Slashdot who ridicule ideas they have no grasp on how they work. (And as such make fools out of themselves.) And while that may sound as a thinly veiled attack on you it isn't ment as such. If you have some spare time I recommend that you play around with coding rendering software, it's quite easy to produce a working system. And in my experience it is very rewarding.

  31. It takes more time... by fok · · Score: 5, Funny

    It takes more time to download the images from a slashdotted site then actually render them!

    --
    \m/
  32. Re:I missed this I guess... by cjameshuff · · Score: 1

    Another rendering system that supports photon mapping is POV-Ray, the Persistance Of Vision Raytracer. Unlike Brazil, it is free, and although it is not Open Source, the source code is available, and you can distribute patches and, with some restrictions, modified versions.

    To summarize,
    Forward raytracing: traces actual photons through the scene from the light source, reflecting off/refracting through objects in the scene, and through the camera aperture onto the "film". You end up tracing many photons that will never hit the camera, and the results are blurry or grainy unless you use settings that are just impractical with current technology.

    Backwards (traditional) raytracing: traces the light paths backwards, out through the camera onto an object in the scene. From there, rays are traced to the lights in the scene to check for shadowing objects. This works pretty well, but can not compute illumination from mirrored reflections or refraction. However, it can compute diffuse reflection, by tracing more rays to find the illumination of the surrounding scene. This is usually slower than scanline rendering, but produces very good results.

    Photon mapping: forward raytracing (like that used in this project) is used to build a map of photons deposited on surfaces within the scene, which is then used in the illumination computations when the scene is rendered with backwards raytracing or scanline rendering.

  33. Re:I missed this I guess... by glyph42 · · Score: 1

    I don't quite get why 45 billion photons is such a big deal. People do iterative photon mapping techniques, where you do 100 million photons each pass, and you do as many passes as you like. If you're using a splatting method this works trivially. 45 billion photons in a good implementation should run in about 1 week on a single P4 machine. I guess I need to read his paper to see what he's doing differently.

    --
    Music speeds up when you yawn, but does not change pitch.
  34. awwww by XO · · Score: 1

    Damn, 900 emails? I get that in spam, in just two days.

    *poor timothy* *pity party* awwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    1. Re:awwww by thelenm · · Score: 1

      It was rkeene517 who said that, not timothy.

      --
      Use Ctrl-C instead of ESC in Vim!
    2. Re:awwww by XO · · Score: 1

      ok, so i wasn't awake when i posted that :P

      *pity party anyway*

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
  35. Re:Mirror - BitTorrent here! by MarcoPon · · Score: 1
    I set up a Torrent here:
    Download

    I reencoded the PNGs, losslessy recompressing it.
    The file is around 2.5MB (original was 3.5MB circa).

    Bye!

    --

    SeqBox
  36. BitTorrent download by JackZ · · Score: 4, Informative

    Have a link to a BitTorrent tracker with the images.
    You will want 'photon_soup'

    Jack

    1. Re:BitTorrent download by JackZ · · Score: 1

      The link above also includes a download called 'photon_soup all images and software' which includes the 3 revisions of his Java code as well as some older images that are no longer available.
      I do not know how many photons are in the first results. I believe the second results have 30 billion. The 3rd set of results are the current images.

      Jack

  37. ...howdy... by ronaldyang · · Score: 0

    cool program. what's the license on the java source?

    1. Re:...howdy... by rkeene517 · · Score: 1

      the source is open.

      --
      Inside every complex program is a simple solution trying to get out.
  38. Really Real Fog by Anonymous Coward · · Score: 0

    You might want to simulate cleaning your camera lens too. ;)

  39. Java by Anonymous Coward · · Score: 0

    Why was this done in Java? Aren't resource-intensive tasks like this one of the main reasons for C?

    Year: 1994 Computers: 100 SparcStation 1 Time: 1 month Photons: 29 billion, 29 billion/month Now we have: Year: 2004 Computers: Unknown, supposedly 3000 times faster Time: 2.5 months Photons: 45.3 billions, 18 billion/month

    Saving programmer time is a worthy goal, but if Java slows down the simulation (29 bill./mo. ==> 18 bill./mo.) despite massive hardware advancements, DON'T USE IT!!!!

    1. Re:Java by mabinogi · · Score: 1

      He wasn't doing the same thing as in 1994, and whilst there were a bunch of people rendering early on, it sounds like the bulk of it was done by 5 or 6 machines...

      --
      Advanced users are users too!
    2. Re:Java by rkeene517 · · Score: 1

      The previous project in C had much more control and persistence on the clients doing the computing. This current project had much looser volunteer work and ini fact was done on alot less computers. The java program is faster than the old C++ because it is running on MUSH faster hardware. Java is platform portable. That is why I used it.

      --
      Inside every complex program is a simple solution trying to get out.
  40. Impressive results by phamNewan · · Score: 2, Interesting

    After finally finding the pictures I was really impressed. Someone noted that rendered images are easily detected by the human eye, but these look like pictures. Granted parts of it are fuzzy, but that is part of what makes it look so real. The actual glass images look very real.

    Great job.

    1. Re:Impressive results by Anonymous Coward · · Score: 0

      We'll see how the SIGGRAPH committee likes it. From the description given in the previous slashdot article, it sounds like the images are basically generated by the same technique he presented in 1994. The main difference being he's upped the number of photons and done the computation in a distributed manner. That may be a nice piece of engineering work, but it takes a lot more than that to impress SIGGRAPH reviewers these days.

      Actuall, I just did a search for this paper on ACM's digital library website and couldn't find this paper in the list of SIGGRAPH 1994 papers. Maybe I missed it, or maybe this was just a sketch or something. Can anyone find the original paper that was supposedly in SIGGRAPH?

  41. gmail account used? by whatsup_will · · Score: 1

    hope u used one, if not bad luck.

  42. Re:I missed this I guess... by Prune · · Score: 1

    Don't forget there's diffraction, which means that a multitude of photons need to be spawned for the color range so that a continuous band of diffracted color is produced. In a complete physical simulation, there are many other quantum-based effects which can impact the visual appearance (polarization -- it can produce visible effects when there are many reflections, thin film interference, flourescence, phosphorescence -- incoming light reemitted at different wavelength, and so on). Add to this the fact that photon mapping is a compromise (you trade the graininess of a full MC simulation for smoothness but give up accuracy for bias), and you see that photon mapping is just a rough approximation that looks sort of good but can never create images with 100% realism that will fool those who know what to look for.

    --
    "Politicians and diapers must be changed often, and for the same reason."
  43. Re:I missed this I guess... by glyph42 · · Score: 1

    I mentioned splatting methods, which eliminates the photon mapping problems. Also, diffraction is trivial. You don't spawn extra photons, you just simulate the one you're working on. Everybody simulates that. Phosphorescence and fluorescence are similarly trivial. People have been simulating that for some time. Polarization is a little trickier to implement, but again people have been doing it for years. This doesn't change the 100,000 photons per second figure.

    --
    Music speeds up when you yawn, but does not change pitch.
  44. Old Algorithm? by philipdutre · · Score: 1
    I missed this before, but the way this algorithm is described, it's indeed old soup.

    The way photons are traced, and waiting till they hit the camera aperture, is a special case of bidirectional ray tracing, in which the paths starting from the eye have length 0.

    This has been described in various papers since 1993, and has nicely been summarized in some recent books on the topic (e.g. http://www.advancedglobalillumination.com/).