picture home | pixelblog | qt_tools

omino code blog

We need code. Lots of code.

This is the third of four parts. Please start at part one.

Suppose you wanted to make one of these:

In photoshop, we arrange copies of our rendered heightmap sphere to resemble bubbles.

But one wonders: What this will look like carved in wood? If you’re me, which I assume you aren’t, by the way, you answer this question by finally learning Cocoa (with lots of help from Dan Jalkut, thanks!) and writing a quick little Mac OS X application for realtime rendering of such images.

Hmm. Bit of a chopped up mess. But changing the Layer Mode for every entry to “Lighten” fixes it right up. Since white is “higher”, what this does is let the higher part of any two overlapping bubbles “win”.

So why not do all this in LightWave to start with? No reason; Photoshop did the trick here, and it was fun to see how Layer Modes translate to three-dimensional effects.

With a bit more Photoshop painting and transfer modes, I get the doors, the details. A LightWave-rendered cylinder is incorporated, and the same sphere inverted forms the corner-bolts.

Last step: actual wood!

Thanks to jD for user-testing the software. Feedback is precious, remember to get it early and often.

If you’d like to try the software, download it! Drop me an email or a blog comment if you have any thoughts on it.

oh, i dont know. what do you think?

(c) 2003-2011 omino.com / contact poly@omino.com