Slashdot Mirror


POVRay Short Code Contest Results In

PateraSilk writes "The Results for the POVRay Short Code Contest are available here. This contest looks for the best images to be generated in POVRay with the smallest amount of code--in this case, under 256 bytes. Definitely 'less is more'."

46 comments

  1. Is this like POS code? by Anonymous Coward · · Score: 0, Funny

    I'm sure to win any POS code contest!

  2. Correction... by andreMA · · Score: 4, Informative

    That should be 256 bytes, not K.

    1. Re:Correction... by Yrd · · Score: 2, Informative

      I was just about to say that! 256K is a LOT of POV code, in my experience at least.

      Although of course you need a lot of POV code to get some of those glorious images on the IRTC.

      --
      Miri it is whil Linux ilast...
  3. Correction by slothdog · · Score: 3, Interesting

    The challenge was to create a POVRay file smaller than 256 bytes. And the results are amazing. Fantastic work.

    I remember leaving my 386 on all night rendering stuff that looked much worse than these....

  4. Wow, a sphere by Cecil · · Score: 4, Interesting

    I considered "Simple" to be only mildly more interesting than the red square that came in last. How the hell did it win first (and third) place?

    Kind of disappointing, although when I read the conditions for each place, I realized that the 'real favourite' would end up being second -- and I was right. Agate Face is amazing for its size.

    1. Re:Wow, a sphere by Cthefuture · · Score: 1

      I concur. And the first place entry didn't even have any commentary.

      Who did the judging? Maybe it was a bug in the voting system. Recount!

      --
      The ratio of people to cake is too big
    2. Re: Wow, a sphere by Thornae · · Score: 4, Interesting

      Well, "Simple" is aesthetically pleasing and has a sense of photo-realism, using only 50 bytes more than the red square. As far as use of POV goes, I liked it better than many of the others.

      Nonetheless, I agree that "Agate Face" is the best image. So did the judges, by their comments.

      Neat contest, anyway. I'll be having fun looking through some of those code fragments for ideas...

      --
      |>
      Here be Dragons
    3. Re:Wow, a sphere by MindStalker · · Score: 4, Informative

      If you read the rules, the first place entry was determined by (votes total/bytes)
      while second place was (votes total)
      and third was (votes total/(bytes^2))
      screwy really.

    4. Re:Wow, a sphere by Monsieur_F · · Score: 3, Funny

      What happens if I submit the empty file as pov source file and get 0 vote ? ;)

      --
      McCartney fans pay bus tickets. [...] Lennon fans too, with discretion.
    5. Re:Wow, a sphere by Monsieur_F · · Score: 4, Informative

      Okay, I just found that it was impossible, because of this rule:
      A valid entry will consist of a single text file containing between 16 and 256 bytes

      --
      McCartney fans pay bus tickets. [...] Lennon fans too, with discretion.
    6. Re:Wow, a sphere by frAme57 · · Score: 2, Interesting
      I can understand the appeal of The agate face. It has a cool sort of realism; kind of like a well made video game or CG movie. So maybe it is a success on its technical merits. But read the contest introduction. It is meant to be a contest of both technical and artistic merit.

      I am not an art teacher but if I was (and did you read the blurb about the panel members?) I think I would say things like:

      "The warm tones in the foreground and the blue background give The agate face a sense of space and a feeling that this is a glimpse of a place that continues on in all directions. But I wonder why I should look at it. What is supposed to be happening here? Was it meant to be a picture taken by a hiker who didn't pull out his camera fast enough when he saw a roadrunner? Is it a dying jawa's last glimpse of home? You have brought me to an interesting place but I have no idea why".

      ...and...

      "There is a dramatic tension between the shadows in front of the sphere and the bright background. And the contrast between the sphere and its context is dynamic and mysterious. The sphere is a truly focused object: visually and physically it is symmetrical on all possible axes. That internal calm balances the external ambiguity in the scene and gives a sense of poise amidst chaos. There is no way to tell if the sphere is stationary, rolling slowly, or streaking by - or which way its going if it is moving. And whether it is in a small, brightly lit container or some vast, glowing space may never be known. But that does not matter; in fact it makes Simple all the more engaging. What does matter is that the compositional elements give a believable sense of physicality and of space while maintaining a visual unity through their contrasting qualities.

      Yeah, I'd say something like that. But fortunately I am not an art teacher and don't have to.

      However, I will say that I know how long it would take me to model Simple in Rhinoceros or Alias, and how long it would take me to tweak the surfaces and the lights before I could reproduce that scene. Visually, and to someone who can't grok it, the code for Simple is as unified and compelling as the image itself. I actually sat staring in wonder at the code for as long as I did at the image. Come to think of it, that's exactly why I consider it (and by at least one formal definition it is) art!

      The whole is greater than the sum of its parts.

      --
      "In a hierarchy every employee will rise to his level of incompetence". The Peter Principle
    7. Re:Wow, a sphere by Davorama · · Score: 1
      But I wonder why I should look at it.

      Well, there's that face in the rock that might be more interesting that what's going on offscrean for one thing.... You made some great points but that wasn't one of them.

      --

      Davo -- Free speech, free software, AND free beer.

    8. Re:Wow, a sphere by Paul+Lamere · · Score: 1

      The rules for scoring are such that the score for a submission is based upon the judges votes divided by the byte count. This favors smaller images. 'Simple' being only 72 bytes gets almost a 4 times advantage over 'agate'.

      Here are the rules:

      Each voter will choose their six favourite images based upon artistic merit. A first choice will get 6 points, the second will get 5 points, and so on.

      The gold place winner will be determined by dividing the total number of points awarded by the byte count.

      The silver place winner will be the entry with the highest number of points.

      The bronze place will go to the entry with the highest number of points divided by the square of the bytes used, this rewards the lower byte counts while still requiring an interesting interesting image.

  5. How in the world... by scootr1 · · Score: 1, Redundant

    did something finish in first *and* third?

    1. Re:How in the world... by gauchopuro · · Score: 1
      > How in the world did something finish in first *and* third?

      A previous poster mentioned

      If you read the rules, the first place entry was determined by (votes total/bytes) while second place was (votes total) and third was (votes total/(bytes^2))

      Given this strange judging criteria, it happened that Simple had the highest score for both votes total/bytes and votes total/bytes^2.

  6. Less vs. More by nacturation · · Score: 4, Informative

    Less can be more, but more is often so much more. The Chado Hall of Fame image is stunning. I'm still trying to convince myself that it's not a photograph.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:Less vs. More by lawpoop · · Score: 4, Interesting
      Have you ever seen a photograph this well lit? The way you can tell that it's not a photograph is that it's way too perfect. Everything is shiny. Also notice that there are no lit translucent objects -- I've heard that we don't have the math for this yet.

      Not sure about the math, but that's one of the reason that human skin looks so lifeless in CG. Skin is translucent (that's why your hand glows red when you hold a flashlight up to it). Currently CG skin is only a surface -- it doesn't show light reflecting from within the skin.

      --
      Computers are useless. They can only give you answers.
      -- Pablo Picasso
    2. Re:Less vs. More by Anonymous Coward · · Score: 2, Interesting

      sorta looks like a picture from architectural digest to me... lighting is on par with many professional shots i've seen.

    3. Re:Less vs. More by qbwiz · · Score: 3, Informative

      Not sure about the math, but that's one of the reason that human skin looks so lifeless in CG. Skin is translucent (that's why your hand glows red when you hold a flashlight up to it). Currently CG skin is only a surface -- it doesn't show light reflecting from within the skin.

      Actually, they have found ways to do this now. For example, there's PovMan which is an add-on to Povray that lets you make shaders that describe how a surface reflects and transmits. There's a skin shader on the website that lets you create more realistic skin.

      --
      Ewige Blumenkraft.
    4. Re:Less vs. More by niff · · Score: 1

      check out this gallery and scroll down.

      http://www.splutterfish.com/sf/sf_gen_page.php3? pa ge=FeatureGalleries/Illumination

    5. Re:Less vs. More by WhyteRabbyt · · Score: 1

      [i]Currently CG skin is only a surface -- it doesn't show light reflecting from within the skin.[/i]

      Totally wrong. Try googling for 'subsurface scattering skin'.

      --
      free experimental electronic music netlabel at www.viablehybrid.com
    6. Re:Less vs. More by Hast · · Score: 1

      To add to another post which talks about subsurface scattering I'd just like to point to the two other fields which has really given photorealism a shot in the arm.

      Image Based Lighting uses a high dynamic range image as a source for lighting a scene. The result is quite stunning.

      Photon Mapping is a way to simulate real light. It is used quite effectively combined with techniques like Sub Surface Scattering. Basically it allows you to make global illumination but at a relatively low rendering time. The results are often stunningly beautiful.

      Naturally you can combine these techniques as well, not sure if that is done a lot though.

      I'd recommend interested people to look into doing a simple renderer. Typically the math isn't very hard, it's just that it takes a lot of time to render the pretty pictures.

    7. Re:Less vs. More by rabs · · Score: 0


      after following a few links from this, I found

      http://www.povray.org/community/hof/view/1/

      holy crap. if there were only a little more blur on the empire state building, i wouldn't have even thought /once/ about whether it was real or not.

      - rabs

  7. Wow... by doublebackslash · · Score: 2, Interesting

    This is some of the most creative work I've ever seen. GREAT job.
    I used to use POV (no time now) and I never even had thoughts that loked like this, let alone project that good.
    Unbelieveable.

    --
    md5sum /boot/vmlinuz
    d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
  8. powerful by whathappenedtomonday · · Score: 1

    great example of how powerful POV has become - it's quite amazing what you can do with it with just a few bytes of code.
    a very geeky contest with amazing results, but only a few /.ers seem to care (judging from the number of posts - even the trolls don't care...). guess i'll comfort myself with rendering some of the scene files from the site...

    --
    I hope I didn't brain my damage.
  9. Higher Resolution by nicklaszlo · · Score: 2, Interesting

    Wow. This is great. Is it possible to get higher resolution images? These would look realy bad if I wanted to put them up as a wall paper on my high resolution screen. How is it licensed? I have POV, but I haven't learned to use it. If I download the source, can I make my own high res. version? How long will it take?

    1. Re:Higher Resolution by nicklaszlo · · Score: 1

      I downloaded it and imported. Then I rendered. Output: "Couldn't Call Povray". I have mandrake 9.

    2. Re:Higher Resolution by dna_(c)(tm)(r) · · Score: 1

      Mandrake comes with "KPovModeler" a graphical frontend, you need to install povray separately (command line). It comes in a tar, untar. In KPovModeler: Settings -> Configure KPovModeler you can fill in which command to execute... Good luck ;-)

    3. Re:Higher Resolution by Anonymous Coward · · Score: 3, Informative

      POV-Ray's command-line options are weird:
      povray +Iyournewdesktop.pov +Oyournewdesktop.png +A +W1024 +H768 +FN

      Replace the numbers with your screen resolution. Warning: some of these will take a *while*.

    4. Re:Higher Resolution by Just+Some+Guy · · Score: 1

      Thanks much - that worked perfectly!

      --
      Dewey, what part of this looks like authorities should be involved?
  10. Very cool... makes me wanna learn by Zegnar · · Score: 1

    Wow.. wow this is very cool... anyone remember, comparatively, the 64kb competition a while ago? For video+audio? Any good tutorials out there for POVray? Don't say search on google, because that means 316,000 crap results and one or two good tutorials...

    1. Re:Very cool... makes me wanna learn by doublebackslash · · Score: 2, Informative

      I learned from reading the included help files.
      Best documentation out there.
      After I muddled though the tutorial, I went wild, and just used the help as reference. Wish i hadn't lost my old files before I had backup systems in place ;(.
      I'm sad now.

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
  11. Judges need a thesaurus by WTFmonkey · · Score: 2, Insightful

    "Evocative" and "aesthetic" used that often and in those ways make it sound like you're trying to be smarter and deeper than you really are. Stop it.

    1. Re:Judges need a thesaurus by Tablizer · · Score: 3, Funny

      Evocative" and "aesthetic" used that often and in those ways make it sound like you're trying to be smarter and deeper than you really are. Stop it.

      Your message lacks evocation and aesthetics. It resembles the sophomoric flow of a less talented slashdot participant. It thus should be delegated to those honed in the fine arts of non-positive moderation scoring techniques.

    2. Re:Judges need a thesaurus by dan_bethe · · Score: 0
      Your message lacks evocation and aesthetics. It resembles the sophomoric flow of a less talented slashdot participant. It thus should be delegated to those honed in the fine arts of non-positive moderation scoring techniques.
      That was awesome.
    3. Re:Judges need a thesaurus by DNS-and-BIND · · Score: 1
      Sorry, but I can't take a guy seriously who has a giant section on "tactics my enemies on message boards use" on his (geocities) website.

      Besides, it should be "It should thus be". Please stop trying to appear smarter and deeper than you really are.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    4. Re:Judges need a thesaurus by bark · · Score: 1

      no it was not

    5. Re:Judges need a thesaurus by Anonymous Coward · · Score: 0

      It was a joke. Lighten up.

  12. Please learn how to use links. by Anonymous Coward · · Score: 0
    Please learn how to use links.
    check out <a href="http://www.splutterfish.com/sf/sf_gen_page.p hp3?page=FeatureGalleries/Illumination">this gallery</a> and scroll down.
    yields: check out this gallery and scroll down.
  13. Amazing! by Jacek+Poplawski · · Score: 2, Interesting

    These pictures are amazing!
    Now I have reason to install and learn PovRay...

    1. Re:Amazing! by DNS-and-BIND · · Score: 0, Flamebait

      Yeah, then you can be on the cutting edge of 1997 technology...

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  14. explain by jovlinger · · Score: 1

    Can anyone explain where the buildings for City come from? I get most of the description, but the buildings seem to not be enumerated or randomly generated anywhere.

    1. Re:explain by Quill · · Score: 4, Informative

      (Take a look at the verbose version of the code for an easier read.)

      The buildings are actually just one big isosurface. This is a surface in 3D space that is described by a function, similar to describing a line on a 2D graph. For example (warning, I'm been out of school for a while!), the formula y=x would describe a straight line at a 45 deg angle, whereas y=x^2 describes a parabolic curve. You can make the formula more complex and make us of functions (like sin(), cos(), max(), etc...) to end up with some really funky lines that wobble all over.

      The authors of "City" and "The Agate Face" both use isosurfaces effectively.

      I cannot.

      --
      My religion forbids the use of sigs.
    2. Re:explain by jovlinger · · Score: 1

      thanks. that's the hint I needed.

  15. Entire ray tracer in 831 chars of postscript by Curl+E · · Score: 1

    I like to keep this around for torturing postscript printers, you can also feed it go ghostview:



    %!OPS-1.0 %%Creator: HAYAKAWA,Takashi<h-takasi@isea.is.titech.ac.jp> /A/copy/p/floor/q/gt/S/add/n/exch/i/index/J/ifelse /r/roll/w/div/H{{loop}stopped
    Y}def/t/and/C/neg/T /dup/h/exp/Y/pop/d/mul/s/cvi/e/ sqrt/R/rlineto{load def}H 300
    T translate(V2L&1i2A00053r45hNvQXz&vUX&UOvQXzFJ!FJ!J !O&Y43d9rE3IaN96r63rvx2dcaN
    G&140N7!U&4C577d7!z&& 93r6IQO2Z4o3AQYaNlxS2w!!f&nY9 wn7wpSps1t1S!D&cjS5o32rS4oS3o
    Z&blxC1SdC9n5dh!I&3 STinTinTinY!B&V0R0VRVC0R!N&3A3A xe1nwc!l&993dC99Cc96raN!a&1CD
    E&YYY!F&&vGYx4oGbxS d0nq&3IGbxSGY4Ixwca3AlvvUkbQkdb GYx4ofwnw!&vlx2w13wSb8Z4wS!J!
    c&j1idj2id42rd!X&4I 3Ax52r8Ia3A3Ax65rTdCS4iw5o5Ixnw TTd32rCST0q&eCST0q&D1!&EYE0!J
    &EYEY0!J0q!x&jd5o32 rd4odSS!K&WCVW!Q&31C85d4!k&X&E9 !&1!J!v&6A!b&7o!o&1r!j&43r!W)
    {( )T 0 4 3 r put T(/)q{T(9)q{cvn}{s}J}{($)q{[}{]}J}J cvx}forall 270{def}H
    K{K{L setgray moveto B fill}for Y}for showpage


    You'll have to demunge the slashdot processing, there is an extra space in most of the lines, but you need the one between the J and cvx in the second to last line.

    --
    Backups are for wimps. Real men post their data in comments and have slashdot mirror it