Showing posts with label Cycles. Show all posts
Showing posts with label Cycles. Show all posts

Saturday, June 16, 2012

Silver Fountain

Well, after making my silver fountain picture the other day and having gone to all the work to create a three-second-long fluid simulation for it (which probably took half an hour to calculate) only to use just one of the 75 resulting frames, I decided it would be fitting to make an actual video, since fountains are generally known more for their liquid nature.


I re-modeled the fountain itself since I wasn't quite satisfied with how it looked (which included making it an actual object with volume rather than a paper-thin shell), calculated a full five seconds of fluid simulation, then rendered the entire thing at 25 frames per second, 300 cycles per frame. I'm not sure how long the entire process took because I did it over night, only that it took less than ten hours.

I should explain that the reason I can get such realistically rendered water is because of Blender's new (as of version 2.61 from last December) internal rendering engine called Cycles. Unlike the original internal render mechanism, Cycles has no set “end” point. Instead, it simply renders a predetermined number of cycles, each cycle improving the picture. Each cycle does not, however, improve it by the same amount, leading to a point of diminishing returns after which additional cycles cost more in time than they are worth in aesthetic improvement. What that point is, of course, is entirely subjective.

A larger version of frame 43 from the video, 300 cycles. Took 13 minutes 50 seconds to render.
The existence of this point leads to a trade-off between “How good do I want this picture to look?” and “How much time am I willing to devote to making it look good?”. This becomes especially critical in video rendering when you're rendering hundreds of frames. For instance, for my single picture a few days ago, I let it render for 1,000 cycles, which took two hours and twenty-one minutes. Obviously I can't do that for each of the 125 frames I was rendering for this video, but I still wanted it to look decent, so I compromised and rendered 300 cycles for each frame. If you look closely (or maybe not all that closely, I don't know) you can definitely spot the difference.

Similar to above, but with 500 cycles. Not as dramatic a difference as I'd hoped, but you can see that the water in the basin and the shadow looks less noisy than the 300 cycles version. This one took 23 and a half minutes to render.
I do think that Cycles is a very cool development for Blender (although it forces a re-learning of the texturing and lighting process almost from the ground up), and it certainly works well for single pictures when you can let it go for a long time (it's not uncommon to see artists using such open-ended renderers letting them run for 5,000 cycles or more). I've got some ideas for future artwork of a more substantial kind, so keep an eye out for it in the future.

Wednesday, June 13, 2012

Composition in Silver

In honor of today being my parents' 25th wedding anniversary, I created this thematic composition on the theme of silver. I'm ashamed to admit that it sort of snuck up on me so I only had a few hours last night to put it together, but I think it came out alright.


I actually got the idea for this composition while taking a drink from one of the drinking fountains at the Vis, where the combination of silvery brushed metal, liquid water droplets splashing and frolicking about and a low sun angle added up to create a sublimely beautiful spectacle. The picture below from my phone is my best attempt to capture it, but it was much more beautiful than it appears here.


As mentioned, total work on this picture was only ~4-5 hours, a fair portion of which was waiting for Blender to render the image so I could see how it looked and what tweaks needed to be made (in fact the final render, which I left going overnight, took almost three-and-a-half hours by itself). The metal texture was made by me in GIMP, and I'm quite pleased with how it turned out for the amount of time I had to work on it. I was trying to replicate the white scratches you can see in the picture above. The modeling and fluid animation  were done in Blender, and rendered with the new internal Cycles engine that achieves much more physically realistic pictures. For instance, that water has the index of refraction of water at room temperature, and the light in the scene is realistically being refracted through it. I haven't done much fluid animation before and have had mixed results when I tried, so I'm really very happy with how this came out. I might even animate a short video of it splashing in the fountain in the near future.

Finally, happy silver anniversary Mom and Dad! Here's to another 25 years!