120 points · by todsac · 6y ago · 110 comments
POV-Ray scenes were dominated by procedural textures and geometric primitives, for the most part. The rendering engine was very strong, and supported all sorts of features like area lighting, depth of field, motion blur, global illumination, caustics, volumetric lighting, etc. All of these were supported way back in the day before they became more common in other engines, and of course, using these features made your render times horrific back on early-2000s single-CPU machines.
The way a lot of us did modeling in POV-Ray was with a pencil and some graph paper. Without a good modeling program, you were setting yourself up for a ton of work. So I’d try to get the most out of simple models, and make it look as good as possible with lighting.
Funny enough, if you are used to CSG then you may need some time to adapt to modern workflows. Blender supports CSG, of course, but there are some caveats that you should pay attention to.
My longest render was 50 hours for a single 640x480 image, with caustics and area lighting. 50 hours of a Pentium 100 MHz buzzing near my bed.
I used to run it on DEC Alpha. I wrote a pair of scripts to generate include files of parameters and then render frames of an animation using those parameters. I had to hack POVRAY itself to output .tga files which I then fed to Dave's Targa Animator. A modest 20-30 frame animation took over night on that Alpha. University resources ya know...
You'd get a big speedup just by going from single-threaded to multi-threaded execution. Probably the biggest boost would be to use modern methods. It's possible to do path tracing at interactive frame-rates on modern hardware; some of the optimizations can include not doing very many samples per pixel but to rely on denoising algorithms that can take advantage of the redundancy inherent in the image to smooth out the graininess of course global illumination effects. There are a lot of other algorithmic improvements too; modern acceleration structures, techniques to preferentially sample rays that are most likely to impact the final result, etc..
POV-Ray is amazing software, but it wasn't really ever meant to be an interactive renderer. It kind of leans towards maximum extensibility over raw performance. Modern renderers are usually much faster.
Making a plausible human face with just a text editor, on the other hand, I wouldn't know where to start.
Compare these screenshots from 2013 (although I think POV-Ray was looking pretty dated by then) to renders that come out of Blender's Cycle renderer now.
The big change is that everyone has moved to "physically based rendering" that do path-tracing for propagating light through a scene. Old-school raytracing cannot know how light indirectly bounces off a wall, for example, leading to artificial-looking shadows and flat lighting.
Anyways, anyone interested in making neat little 3D scenes like in this GitHub should try out Blender - it's shockingly easy to make realistic renders compared to several years ago.
Edit: Blender's Cycles rendering engine seems to have been included with Blender since 2011. POV-Ray probably represents 2000s-era tech, although I think it can do more than what's demonstrated in this post.
Look through the old IRTC archives, for instance: http://ftp.irtc.org/stills/index.html
People were doing stuff like this (http://oz.irtc.org/ftp/pub/stills/1999-04-30/13hystri.jpg) in 1999.
It features a lot of effects (radiosity, HDR maps, etc.) which are added on top of its basic functionality. There's been a big shift in how rendering is approached, from the old way of adding a pile of special effects onto your original non-realistic renderer, to a newer way of simulating light as it physically works and using that as the foundation of the renderer.
And there's still a lot of in-between as well, but having gone from 3ds Max's scanline renderer to 3ds Max + Mental Ray, to Blender + Cycles, it feels very different to use.
There are still some effects that Mental Ray (and it looks like POV-Ray) can do that Cycles can't. Photon-mapped caustics seems to be one, although I think LuxRender is FOSS and can do that.
Huh? POV-Ray has supported radiosity for literally decades, since sometime around 1995.
The solution is bi-directional path tracing but this is very hard to implement in Cycles because of the way it is built (according to the developers).
I remember looking at this entry in particular: http://www.irtc.org/ftp/pub/stills/2006-06-30/hideaway.jpg and thinking "how the hell is that possible?"
Remember that The Third and The Seventh was done by a single person in 2009, and is entirely modeled and rendered with tech available back then: https://vimeo.com/7809605
Year 2000. You don't know a lot, and I guess you didn't have a look on the PovRay's hall of fame.
Well, that and banding in the gradient of a sky. Those two things break the otherwise so realistic rendering quite commonly.
(I edited the later editions)
(As an aside, I'd completely forgotten the title of the book, although vaguely remembering the cover and time frame. It's so hard to find older stuff using Google when only having some vague descriptions. I found it by remembering that I read a book review years later and after some digging around could locate the review back to https://www.linux.com/news/book-review-multitool-linux/ based on the style of writing, which I remembered. I must have read that book to pieces. The chapter using Wireshark was also amazing to me.)
[1] https://books.google.be/books?id=g0CPF6MEFcUC&printsec=front...
I didn't do much with it, ultimately, but I really enjoyed noodling around w/ POV-Ray. Rendering a bunch of TGA files and then stringing them together into an animated GIF (or was it an FLC?) was a major exercise.
I recall 15 y/o me trying to explain it to the "oldster" who my father purchased the PC from (a guy who was probably in his late 30s). "No-- there's no camera. It's a virtual camera that I place in code for the scene. UGH! You don't understand!" (To be fair, this was a guy who mainly sold PCs and accounting software and wrote code for dBase/Clipper...)
POV-Ray was actually run in space by none less than Mark Shuttleworth when he was on the ISS in 2002.
Ah, the nostalgia. Thanks, David, and the entire POVRay team.
There is a special place in my heart for POVray. After BBC Basic, it was the first coding I ever did all the way back in ‘94.
The thrill of changing an object from opaque to glass, and the anticipation of watching the ray scan grind to a treacle-like pace as it passed over any glass objects. Happier times, simpler times!
May it live forever.
It's extremely counter intuitive to articulate a 3d scene in code. Maybe for some applications, exactness in the 3d scene via code is useful.
POV-Ray is mostly used by hobbyists, students, and people who need to visualize some data and need a tool that can be easily scripted for their needs.