Written by Jel Sadones on August 25, 2020 · 4 min read

Sourdough, from real life to 3D

Sourdough, from real life to 3D

Sourdough can look a million different ways. Depending on how you conceive the dough, it can be smooth or rough, look blobby or distinct, have big seeds or no seeds, feel wet or dry—all in various degrees. So how do we go about making sure the Puratos Sourdough Library can input all these million sourdoughs in its virtual collection?

Sure, we can rely on photographs, but the virtual library is a dynamic 3D experience. It would be a step down to only show pictures of the dough. It is the sourdough library, after all. So we went the whole nine yards and provided the Puratos Sourdough Library with a virtual sourdough generator.

Honestly, it’s the best thing since sliced sourdough bread.

The Sourdough Generator

With the sourdough generator, librarian Karl de Smedt can input every kind of sourdough into his library. The generator gives him full control. The librarian can choose from nine different sourdough 3D models and input over 30 parameters affecting shape, twistiness, smoothness, cracks, seeds, color, and blobbiness, to name just a few. From the client-side, the sourdough generator is easy-to-use. He only has to slide every option left or right and behold how it influences the dough.

Substance Player – Sourdough Generator

Procedural texturing

The sourdough generator uses a relatively new technique called procedural texturing. It’s a dynamic way of creating textures for 3D-models. While classic texturing definitely has its merits, it comes with its limitations. Let’s illustrate this with a more simple example: brick textures. 

Imagine you need a brick texture for one of your projects. You search the internet and find an almost perfect sample. You only want to darken some random bricks in the texture, change the scale of the bricks, and you’re good to go. So you import the texture into Photoshop, tweak the bricks as best you can, and export it back out. With every new alteration you want to try, you have to repeat the entire process. It’s a time-consuming endeavour. 

Thanks to procedural texturing, there’s an easier way to do this. Because of the textures’ dynamic capabilities, your brick texture can become any kind of brick you want it to be with just the click of the button. 

Substance Designer

Procedural textures get made with Substance Designer. It’s the industry standard. With this powerful software in hand, you can make any kind of texture you want, ranging from simple materials like bricks, wood or tiles to complex surfaces like coastal beaches, baroque ceilings or abstract sci-fi corridors. Once these textures are made, we can use the free and easy to use program Substance Player to play round with them. 

It’s no surprise that Substance Designer is challenging to use. There’s a lot of mathematical ciphering going on. Just look at the substance file of our sourdough. Every little dot you see is a node that contains information that affects the sourdough. If you count the number of nodes that one digital sourdough has, you know you have your work cut out.

Substance Designer – Node setup

To make this manageable and easy-to-use for our clients, we translate the texture to a generator file and use Substance Player. With this software, our client can open up the file and easily alter the specifics of the texture by sliding bars and clicking drop-down menus. That’s exactly how it went down for the Sourdough Library. We made a dynamic sourdough texture in Substance Designer, created a generator file for it, and provided it to the librarian, who can now make an infinite amount of virtual sourdoughs in Substance Player. 

Substance Designer – Closeup of nodes

3D-models

We succeeded in our quest for virtual sourdough, but our job wasn’t over yet. The Puratos Sourdough Library still had many other memorabilia to share with the world like an 18th Century sourdough jar, a Roman bread stamp, or saliva-inducing Altamura bread. 

We modeled some objects from scratch. The Roman bread stamp or the microscope, for example, have simple shapes and textures, so designing them into 3D models didn’t prove too much of a hassle. But what to do with that 18th Century jar of the Altamura bread? Capturing the real-life look and feel of those objects would take some time. In the jar’s case, we would have to redraw the drawings digitally, and as we know: Rome wasn’t built in a day.

Photogrammetry

There’s a suitable technology for every occasion, so for this challenge, we once again relied on photogrammetry. Photogrammetry extracts 2D and 3D information from photographs. You take a lot of different and overlapping pictures of an object and let the specialized software work its magic. The result? A 3D model with the real-life object’s look and feel.

The results

Want to see the results? Head on over to the Puratos Sourdough Library and find out for yourself!


Discover how 360, VR and AR can help your business!

We're always happy to have a brainstorm and show relevant cases,
or host an introduction workshop for your company.

Get news and inspiration on Virtual Tours, Virtual Reality, Augmented Reality and more!