The Magnifying Glass

3dmodelling art 3dsmax zbrush substance

The finished magnifying glass

Creating the Magnifying Glass

I've been slowly adding more interactive elements to the Gloom Theory website, the hub for my recent music. One of the main aspects of the site is to give a place for listeners to explore the extended universe behdind our music and characters - there are already hundreds of 'rites' of the Gloomnomicon to find and stickers to collect. The next progression for me was obviously something a little bit more in-depth, and I'd been percolating the concept of 'artefacts'; items you can find around the site, collect and then use to interact with other parts of it.

To test the idea, I came up with the magnifying glass. The intent was to build the basic framework for supporting artefacts, and test it with something simple. With so many things to find around the site a great idea felt like an item you could drag around the page to reveal hidden messages, secrets and other things that wouldn't normally be visible.

Of course, to do that I needed a magnifying glass.

Making the Model

I wanted something that looked like a real, aged, physical object rather than a flat illustration. Partly because it suited the rest of the site, but also because I wanted to be able to create promotional renders of the artefacts from different angles. I've made a lot of these so far for the Gloomnomicon, but this always tended to be 2D work from stock photos, or photos I'd taken.

The magnifying glass itself is based on an item that belonged to a relative of mine, left when they died. Its design is a nice blend of simple and ornate, with the juxtaposition of having a fairly plain handle and an incredibly decorative lens holder.

I started in 3dsmax, my usual tool of choice for 3D, blocking out the basic proportions with cylinders to get a feel for the size of the thing. Simple geometry, just a ring and a handle.

  • Blocking out the lens and handle
  • Working out the handle profile
  • The basic lathed handle and lens rim
  • Checking the proportions from different angles

With the proportions roughed out, I moved on to creating the handle properly using the lathe modifier. Since the handle is essentially a spun profile this made it very straightforward to build. I drew the shape in the front viewport, tweak the curves and let the modifier do the magic.

With the basic handle and lens rim in place, It was time to add in the bevels, recesses and edging around the lens holder to give the metalwork a bit more definition.

With that in place, I set out recreating some of the decorative flourishes around the tim of the lens. The real object is incredibly detailed and I knew that I wouldn't have time to recreate it exactly, but there were key parts that would work - fanned parts in the centre, and a flowery engraving around the edge of the lens.

  • Creating the decorative flourishes
  • Shaping the ornamental details
  • The completed decorative frame

I used splines, tracing around the edge of the rim and then drawing in the little fanned spine shapes. I used tools such as the 3x3 FFD to shape the more bulbous sections between them, gradually adjusting everything to match the original.

This was all done with my usual time-saver. I work on one side of a model, using a Symmetry modifier to reflect the changes across to the other. It saves you from having to do the same work twice.

Once the splines were in place, I shaped and tapered them to give them a bit more definition and create the final decorative pieces.

A Bit of Sculpting

I wanted to recreate the ornate flowerwork around the reference's front surface. Little vines, leaves, flowers and other decorative shapes that follow the curve of the frame.

Initially, I attempted to build all of this using splines in 3ds Max but quickly realised that this was a sinkhole for time and energy.

It worked, but it was taking an insane amount of work to lay everything out and adjust the curves and give each part the right shape. After spending way too long on a relatively small section of the lens, I decided it might be considerably easier to sculpt the detail instead, and into ZBrush I went.

  • Sculpting the floral details in ZBrush
  • Bringing the sculpted details back into 3ds Max

For those that don't know, ZBrush is one of the industry standard sculpting tools. Instead of creating, modifying and detailing geometric shapes, you sculpt, carve and build up details onto existing 3D surfaces, like clay. It meant I could draw and pull out the decoration details directly o the surface of the rim. I blocked out the vines, flowers and leaves, then went over everything with Clay, DamStandard and a few other sculpting brushes to build up the forms, smooth them out and add smaller details.

This was considerably quicker, and gave the decoration a much more natural, hand-worked appearance than the splines I'd been trying to use. Instead of taking half the day, I was done within the hour.


Once I was happy with it, I sliced away everything except for the raised surface decoration and brought that back into 3ds Max, where they would sit on top of the original lens rim.

With that done, the model was pretty much complete. From start to finish, it probably took about two hours. It's not an especially complex object, and apart from my brief insistence on making the flowerwork the hard way, everything was reasonably straightforward.

UV Mapping and Texturing

Next was UV mapping, again done in 3ds Max. Again, for those that aren't experienced in 3D, this is the process of mapping your 3D creation into a 2D layout that you can then use to texture the model.

It's a strange process. It's one of incredible frustration that requires repetitive, fiddly work. At the same time, once you've got your mesh UV mapped and ready to go, it's insanely rewarding and satisfying to see.

The handle was mostly cylindrical mapping, making a seam and unwrapping around. For some of the more horizontal sections I split the mapping and projected them down from above. I also made sure the split of the UVs was between the wooden and metal parts of the handle, making them easier to work with when texturing.

I placed the main seams of the texture at the back of the handle, nowhere near where they'd normally be visible.

The lens rim was also pretty straightforward, using a combination of planar and cylindrical mapping for the frame itself, with a separate front-facing planar projection for all the decorative flowerwork I'd sculpted.

  • UV mapping the model
  • Applying the aged materials in Substance Painter

With the UVs finished, Everthing got chucked into Substance Painter.

It's been a while since I properly used it, and I'd forgotten just how crazy Substance is. I used to do all this by hand, making specular maps for metal and hand drawing knots and lines of wood. Do just drag on a smart texture and tweak parts of it with marks and more layers is still dark magic to me.

I wanted the finished magnifying glass to look old and well-used, but not completely rotten or falling apart. Something that had been handled, carried around and looked after over the years, rather than something dug out of a swamp. A little bit of oxidation, but not rusty-leaves-your-hands-grimey.

I tried a few different metals, including silver, gold and bronze, eventually settling on a sort of dark bronze-plated finish with silver showing through from years of handling and setting down on tables.

The wooden handle received the same treatment, wear from grimey hands and scratches, worn areas and some subtle variation to its finish.

I've praised it so far, but Substance Painter did need a little persuasion to get the ambient occlusion behaving properly around the more intricate decorations. Other than that, texturing was fairly painless and quick. It's basically two materials - wood and metal - and then layers of age.

The finished magnifying glass

To finish it, I engraved a small 'MK' into the handle.

This is a little reference to the wider Gloom Theory lore. MK is a recurring character who once owned the Gloomnomicon and spent some time researching it. She's also rather obsessed with keys and secrets, and has an article dedicated to her over on Mysterious Theories.

Not much is known about the magnifying glass itself, other than that it was found among her possessions after her death.

Making It Work

Although I'd created the full model, I didn't actually need to display it in 3D on the website.

Since the magnifying glass doesn't need to rotate freely or be viewed from different angles while you're using it, I rendered the finished object down to a 2D image. This kept things considerably simpler, with no need for a browser-based 3D renderer, proxy meshes or complex shaders.

Magnifying glass

The site's artefact system itself controls dragging, adding a little weight and sway to the object as you move it around the screen. Combined with some CSS shadows, it gives the magnifying glass a reasonable sense of physical presence despite just being an image.

The lens itself is where things get a little more complicated.

Rather than behaving like an entirely normal magnifying glass, it's intended to be slightly 'supernatural'. For the most part, the page looks exactly as it normally would, but moving the lens over certain parts of the site can reveal things that were previously hidden.

Letters, objects and other secrets are highlighted beneath the lens, slightly magnified, warped and blurred. Some of these can be clicked to collect additional items, while others are simply little bits of hidden text, including conversations and assorted nonsense between myself and Gloom.

The website also remembers where you left the magnifying glass and whether you had it open, so you don't have to keep setting it up every time you return.

One thing I would like to eventually get working properly is a more realistic lens effect across the entire page. Actual refraction, scratches on the glass, and distortion of whatever happened to be underneath it as you moved it around. I'm not sure how much of that is actually possible, so it's maybe something to experiment with in future to see if HTML5 can do it.

Finished!

I'm really happy with how the finished thing came out.

It still looks like a recognisable antique, with a nice level of age and character. I think the worn bronze, engraved handle and sculpted decoration work nicely together without making it look excessively distressed.

More importantly, the artefact system is now fully working on the Gloom Theory website, and people are already using the magnifying glass to hunt for secrets.

It's a fairly small addition to the site, but it lays the groundwork for other artefacts with their own uses and interactions.

And now I have a perfectly good excuse to model a lot more strange objects.

Who I am

I'm Blake and I like to tinker with things and make stuff. When I'm not programming or developing random systems, I'm playing with electronics, doodling bits of art, 3D modelling or sculpting and painting things or nerding out watching sci-fi or horror TV.

From 2001 I worked in the games industry, eventually specialising in tools to aid in the development of video games and their engines. In 2011 I left the industry and teamed up with a few other talented composers to utilise my knowledge to help build the company 'Spitfire Audio'.

I also periodically compose soundtracks for video-games and have worked on titles such as The Stanley Parable, Portal Knights, Lost in Random as well as a few random projects such as trailer for Terraria and Minecraft and the like. You've probably also heard my music in random TV commercials at some point.

What I'm using to create

I use various bits and bobs to craft my shiz.

  • Elegoo Saturn 4 Ultra, Mars 5 Ultra, Mars 4 Ultra,
  • 3x Mars 3 Pro backup printers for speed,
  • Elegoo ABS-like Resin 3.0,
  • Sunla Water-washable grey,
  • Elegoo Resin Space Grey 8k,
  • Phrozen Luna curing station,
  • Vallejo Model Color, Game Air, various sets,
  • Iwata Eclipse HP-CS & Studio Smart Jet Pro Compressor,
  • Random cheapo airbrushes for base coats,
  • 3D Studio Max, ZBrush and Chitubox Pro.