Making of “Termitary House”

Introduction

In the spare time among our works we engage ourselves in some in-house projects, each time trying to realize something new. It’s a challenge and we must face new tools or techniques we’ve never used before. Being able to manage them gives us great satisfaction and allow us to grow in terms of know-how and experience.

As usual, we searched some interesting project on Archdaily.com, and we found this beautiful project from Tropical Space Studio.

Making of_image 01

Termitary House is a small building located in ThanhKhê District, Da Nang, Vietnam. We really loved it, we found it very unusual and we strongly appreciate the global mood of the house.

elevation_2.jpgground_floor.jpgElevation_2

Early Tests

From the beginning, we had one word in our minds that kept resonating during the entire process of crafting this project – BRICKS!

They were everywhere in this house, and no matter the reference pictures we looked at, they played the main part. Therefore, we realized that the first step before approaching this project was to decide how to create the bricks, keeping in mind that there would have been bricks in the background and also in the very foreground. So we definitely needed to create them with very high levels of detail.

After few types of research and tests we immediately decided not to use textures with displacement because :

  1. We didn’t want to see any tiling (and even with large maps, there would have been images where the repetition of the pattern would have been visible).
  2. Displacement wouldn’t have worked properly on walls heads and corners.
  3. We wanted to be free to add several layers of dirt or color correction on the bricks material.
  4. Using bitmaps we wouldn’t have been able to create the walls with gaps among the bricks (and there were lots of these “termitary” walls).

So we started thinking about using 3d models of single bricks and place them with the right pattern, but at the same time including some kind of variations and imperfections. Obviously we didn’t want to manually place all the bricks. We decided on using the Multiscatter plugin, thinking we could use its “regular distribution” option to achieve our goal. A short study process have been necessary for corners areas, but in the end the results were convincing so we started building the house… brick by brick, literally!

Making of_image 02

3D Modeling

Structure

We started from AutoCAD, using plans and sections from Archdaily reference pictures to draw a base version of the house. This step has been very important. Bricks were the base unit of the whole structure, and with AutoCAD, we’ve been able to precisely design all the openings on the walls and the height of the levels with the correct dimensions in relation with the bricks.

Making of_image 03Making of_image 04

We used the DWG files as a blueprint inside 3ds max to create the final model. At this stage for the walls we simply built boxes representing the mortar, i.e. one centimeter thinner than the final walls thickness that includes the bricks.

Making of_image 05

The Bricks

They have really been the heart of this project, with the first step being the creation of single bricks meshes.

We created 8 different versions, with slight variations in the base geometry obtained via modifiers (like noise and FFD) and/or manual editing of the editable poly objects.

Next, from each mesh, we generated 4 variations simply rotating them 90° around each axis (this is because Multiscatter doesn’t allow random rotation with fixed increments). In this way, our Multiscatter walls could rely on 32 different meshes.

Finally, we converted each mesh into a V-Ray Proxy for better RAM usage (every brick mesh had about 1000 polygons, and we were planning to scatter lots of them).

Making of_image 06

For each wall to populate with bricks we set up a Multiscatter object using the surface distribution mode on a non-renderable plane, disposed so that bricks were protruding 1 cm from the mortar mesh. To obtain the correct brick distribution we properly set up a UVW map modifier applied on the distribution plane.

For the “termitary walls” we followed the same process, simply modifying the parameters of the UVW map modifiers applied to the distribution surfaces of the Multiscatter objects. This process has been extended to all the walls, including the wall heads, taking particular care of corners where two different Multiscatter were intersecting.

Making of_image 07

Finally, we have found the right level of imperfection of the bricks distribution using random position and rotation inside Multiscatter. In the end, to build all our walls, we have used 19 different Multiscatter objects, with about 27,000 (!!!) single bricks scattered all around the house.

Making of_image 08

Furniture & Objects

As usual, we tried to 3d model everything in detail, even for the objects far away from the cameras. We believe this helps the final pictures to look more realistic (maybe there will be some rounded edges that produce a specular highlight in the distance, you never know could be the difference), and we can also re-use the models in future projects, without worrying if they’re detailed enough.

Most of the furniture were very simple while other objects have required some more efforts, for example, the piano. We modeled it from scratch using various reference pictures from the web to design all the small details. Matteo from Pixelpark modeled the piano. He’s also a musician, playing the piano and owns one at home… this really helped a lot!

Making of_image 09

There were also lots of plants in the house which we wanted to maintain the tropical typology feel to them because of the location of the building. We absolutely didn’t want to use external pre-built 3d models (anyway we couldn’t find anything with such large leaves as the original plants). So we built our own models, using the GrowFX plugin and instanced geometry for the leaves. This allowed us to generate the different versions of the same plant with a few clicks.

Making of_image 10

The big plant near the piano has been the most tricky one to create because it was the most visible one in the images and so it required high levels of detail.

First, we searched and found the right leaf texture on CGtextures.com, then we processed in photoshop to get the correct shape and to clean it up from some dirt that was in the picture. From the modified texture, we created diffuse, Opacity and Reflection textures with simple color corrections.

Making of_image 11

At this point, we used the texture as a reference in 3dsmax to model the correct geometry.

To do this we started from splines drawn following the single ribs of the leaf. We built each spline with the same number of vertices, in order to properly connect them together in an editable poly to create the base mesh. On each rib we placed three loops of edges, then we lowered the middle one and applied a turbosmooth modifier.

Making of_image 12

Once we created the first half of the leaf, we then made the second one with the same process (using the texture as a reference, the two halves were not the same!) and the central stem as well. Then we collapsed the three meshes together and applied various modifiers (wave, noise, twist and bend) to create a natural deformation.

Making of_image 13

Lastly, we composed the final plant referencing 7 leaves and manually changing some modifiers value to get the desired look. We then added the pot and the soil, and we were done.

Making of_image 14

Camera & Lighting

When we work on such projects our goal is to create several images from the same scene, but often they could have different light conditions and/or different objects setup.

To simplify the workflow and to keep things well organized, instead of creating one camera for each final picture we prefer to use just one single camera for all the images (well, actually here we used two cameras… one for the horizontal images and one for the vertical ones).

To get the whole process working we simply animate the position of camera and target for each frame, along with other parameters like shutter speed or vertical shift.

In addition, we also animate other objects properties, i.e. lights intensity, sun position, and we also move some objects around to fit what we need to see in camera (we consider this process very similar to what professional photographers do when they prepare an interior set before taking final pictures).

With this setup all we have to do to switch among the different final images is simply slide the 3ds max timeline to the desired frame, without worrying about turning on and off some lights or manually hide certain objects or layers. We find this workflow extremely useful, and it also allows us to launch long rendering process for several images at once, without having to setup any batch process (simply say to max to render the frames from X to Y and let it work during the night.

Once we had the cameras animated, it was time to set up the lighting. We planned to output 10 images, 8 with natural daylight illumination and 2 with artificial lights.

For daylight setup we used a V-Ray Sun along with V-Ray area lights positioned at windows and at ceiling openings. We grouped area lights in two different sets, to be able to adjust color and intensity separately to fit our needs in terms of quantity and color of light per image.

For the night-time setup, we animated the Sun and area lights intensity to 0 and added some V-Ray spherical lights, placing them where the reference pictures showed lamp bulbs. We did not boost these lights at this stage, we wanted to keep them with a lower intensity then the final one to adjust them in post (see post production chapter).

Making of_image 15

Texture & Materials

Materials done right are crucial for photorealism. In this project we haven’t used any particular tricks for any shaders, just the right combination of base textures for diffuse, reflection, glossiness, refraction and bump. The only “rule of thumb” we try to follow during the material creation process is that everything must be reflective and have dirt on it. This means starting with a diffuse texture, then add some dirt (based on masks or using VRayDirt texture), then make the shader reflective (using the correct textures for reflection and glossiness). Some bump and lots of rendering test and that’s all.

The only “secret” is to be patient and to take care of the details. It is a time-consuming part of the process because of the number of renderings we had to do (using high parameters) to visualize the final result.

The Bricks Shader

Again, we used great attention for the bricks materials. After the modeling step, we had a house built up with 32 different meshes randomly distributed by multiscatter. Always trying to keep things as simple as possible, we set up a unique material for all the bricks, with a base bare layer and many dirt layers on top of it, driven by b/w maps or VRayDirt maps. We kept the maps large enough to let us move the UVW map gizmo of the 32 single brick meshes, so to obtain 32 totally different bricks.

But after some tests we realized this was not enough to avoid repetitions, so we copied the 32 bricks and applied 32 more UVW to them. At the end of this process, we scattered 32 meshes but with 64 different materials applied.

Making of_image 16

On top of it, Multiscatter gives the fantastic opportunity to use a Multiscatter Texture, to apply random variations to the meshes it scatters. This was added in the composite map of the diffuse, and finally, our brick wall was… built!

At this point we were really satisfied, but the walls of the reference pictures were… more real!

We still had to add local dirt, dirt, and more dirt! And this latter had to be something that affects whole groups of bricks, not just single bricks. For this task, we used VRayDistanceTex, to apply dirt based on the geometry of meshes or simple splines we place very freely and keep non-renderable.

Making of_image 17

The Concrete Ceiling Shader

One thing we try to do when we “copy” an existing architecture is to replicate as best as possible the details that make the subject unique and particular.

In this project, the ceiling texture was definitely one of these details. Obviously, we couldn’t think to find something even close to it on the web, so we built it on our own.

First we created a low-res version of the texture simply cropping and distorting the reference pictures, and giving it the correct aspect ratio. Then we created the whole hi-res texture in After Effects combining layers of bare concrete with other layers of dirt.

For this purpose, we manually painted masks conformed to the reference texture. From the final diffuse layer, we created the reflection, glossiness and bump maps adding some color correction and curves adjustment layers. The final shader was a V-Ray material with all the maps in the right slots.

Making of_image 18

More Shaders

All the other shaders have been created as V-Ray materials, using maps for diffuse, reflection, glossiness and bump. Except for the diffuse channels, we normally use b/w maps; they always need color correction to get the needed aspect, and we did it directly inside 3ds max using output or color correction maps. This is very useful because we can have real time feedback without having to pass through other application, and we can also use one single map for reflection, glossiness and maybe bump, with different color correction in relation to different material slots.

We use the same trick to give some variations to the diffuse channel. A composite map with a base texture on the first layer, then one or two additional layers using the same texture with color correction, blended over the previous layers with a b/w masks or gradients. Some examples of this technique can be seen in the following picture, especially on the wood material.

Making of_image 19

Rendering

The complete scene counted about 10.700.000 polygons, excluding all the scattered bricks. They all were V-Ray Proxies and counted about 54.000.000 polygons by themselves. So, in the end, there were about 64.700.000 polygons in the scene.

We rendered the final images at 2400x1600px, on a workstation with an Intel i7-3770K 3.50GHz CPU, NVidia GeForce GTX 570 graphic card and 16GB RAM.

We used Vray 3.20. Renderings has been a very hard task. Our goal was to obtain very high defined images, so we used very high render parameters. Render times took from 16 to 30 hours per image to complete, due to the complexity of the models (bricks walls generated lots of tiny details) and the presence of lots of glasses and other reflective surfaces.

We chose to output the final renderings as open .exr format file; this allowed us to save as many channels as we want in a single file, and this was pretty useful in the post-production phase.

Making of_image 20

Post-production

In our standard workflow, raw renders are quite different from the final images. And we do want this, because we strongly prefer to have flat images to start with (without extra-bright or extra-dark areas) so we can have useful color information for each pixel, and adjust every aspect in post production using a non-destructive approach (totally burned or underexposed areas in raw render are quite impossible to fix later). For this purpose we use AE and all the channels we exported from the render elements.

In particular, we used :

  • Black and white masks to do selective color correction on bricks and mortar.
  • The “light select” render element to boost artificial lights.
  • The reflection pass to enhance them on the objects we feel too “flat”.

Making of_image 21

As final touches, aimed to eliminate some “fake CG looks”, we added to all the images some chromatic aberration, a very subtle vignette, a few glows and some flare effects on the light source.

We have resumed the main post production passes on a short breakdown, you can find it here.

Breakdown Video Thumbnail

Conclusion

That’s all! Thanks for your time spent reading this article, we hope you liked it. We tried to focus on the main aspects of this project without telling about very simple processes and other well known techniques we obviously used. If you have found something interesting we’ll be glad to know and if someone wants to have additional information just let us know in the comment section below!

See you soon!

Pixelpark.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s