Rub-A-Dub-Dub See My Little Boat in the Tub


Two attempts at creating water in Blender using LEGO set 616 Cargo Ship.

I saw a great Pirate Ship render yesterday by saabfan. The water in it impressed me, and I had commented that I didnít know how to model it in Blender. Scrubs informed that it was easy, providing me the how. Off I went to try for myself.

To my surprise, it was easy. Sort of. Well, building the waves wasnít too hard. I added a plane to a test scene and then added the Ocean modifier to it. In an instant, I had a wavy plane. Nice! Yet, I would soon learn that there was more to do. But, I still had a few things to do.

Preparation time.
I started with a a trip to Mecabricks to export a model. I had built 616 Cargo Ship some time ago, but hadnít done anything with it. Now was my chance! I downloaded the model to float in my wavy plane. To my delight, Scrubs had also released the latest Advanced Blender script (0.1.7). I grabbed that as well. But, I wasnít quite done.

Iíd been reading about others trying the denoising feature in Blender and had recently tested it on my Mac mini. It did a great job speeding up my last render, so I grabbed the latest nightly to install on my MacBook.

Setting the scene.
With everything in place, it was time to put it all together. I ran through the normal process to import the cargo ship into Blender. Note that I had to comment out the filmic line in the script before running it due to an issue with the nightly build. But filmic was already installed, so I didnít have to deal with that.

Once done, I replaced the default ground with a new plane and applied the Ocean modifier. Great start, but not quite the right size. Time to play with all the options until I got what I wanted. For reference, here are the settings I ended with:

[Image]

I wasnít quite done yet. Using a solid color didnít look very water like. After doing a little research, I tried a couple of different suggestions. None looked great until used a Glass BSDF material node with a 1.333 IORówhich matches water.

Since the water was transparent, I added another plane below the water and applied the color I wanted to it. It was a trick Iíd used before in POV-Ray. I also tried a few sand textures, but they looked weird so I abandoned that effort, sticking with solid colors.

Render time.
With the cargo ship floating in water, I was almost ready to render the scene. Last steps were to go into Render Layers and turn Denoising on. I then lowered the samples to 128 in the Render paneóno sense going crazyóand started the render.

My first attempt wasnít badóa toy floating in a blue ocean or bath tub. My wife, though, wasnít impressed. She thought the blue made it look like the boat was floating in the sky. Although the color didnít bother me, the waves did. Time to tweak a few things.

[Image]616 Cargo Ship (ocean blue) by Steven Reid, on Flickr

My wife approved of the sea green used in the second version. In addition, I shifted the waves until I got the look I wanted. I admit the result is better, but you can decide for yourself.

[Image]616 Cargo Ship (sea green) by Steven Reid, on Flickr

With water now under my belt, I feel like Iím getting the hang of Blender.

Update: If Flickr users are any indicator, the blue version won out: 8 likes for it vs. 5 for the green.



Comments on this article:

No comments so far.

Write a comment:

Type The Letters You See.
[captcha image][captcha image][captcha image][captcha image][captcha image][captcha image]
not case sensitive