

Now right click on the pool volume and choose 'Edit Active Mesh' from near the bottom of the menu. Now double-click on the group to select it. Now right click on it, and choose 'Make Group'. To do this, first make sure the entire water volume object is fully selected by triple-clicking on it: We want to make sure that only the water volume mesh gets subdivided. If you want to make the ripples more closely spaced, you can increase the 2.0 number. If you want to make the ripples higher, you an increase the 0.02 number. What this shader does is displace the water surface by up to 2 cm (0.02 m), based on some pseudo-random noise (fbm) based on the object-space position (posOS).
#Sketchup make tutorial code
Paste the following shader code in to the shader editor: Now click on the dotted button to the right of 'Displace'. Now we need to create the displacement shader.Ĭheck the 'Displace' checkbox in the SkIndigo material editor,and set the type to 'Shader'. Set the RGB absorption to R: 0.2, G: 0.12, B: 0.1: Open the SkIndigo material editor, and make sure the 'water' material is selected.Ĭlick the dotted button to the right of 'Absorption'. We need to set a couple of settings in the water material - some absorption to give the water a blue/green tint, and some displacement, to create the water ripples.

The sides of the water volume should extend past the pool recess like so: Move the water volume into place with the move tool. Set the opacity to something around 50% to make sure the water material is transparent.Īpply the material to all faces of the water volume. It needs to be somewhat larger than the pool recess along all axes.Ĭreate a new SketchUp material called 'water' or similar. Using the Push/Pull tool, push the middle down to create the pool recess:Ĭreate a cuboidal volume for the pool water. This is what we will be making:Ĭreate a rectangle in the middle of the quad:

#Sketchup make tutorial how to
In this tutorial I will show how to model a simple swimming pool in SketchUp and Indigo, with nice caustics at the bottom of the pool.
