Posts

Introducing my Manifold Library

Image
3 minute read. Manifold is my computational geometry library - the beginnings of a CAD kernel of sorts. Its purpose is fast, reliable, topologically-sound operations on manifold triangle meshes. Reliability is really the key: I started this library because I was amazed at how unreliable the geometry kernels I had experienced (even high-end CAD) were in generating manifold - basically solid - output. The lack of reliability stems from the fact that Euclidean geometry is based on real numbers, but computers work in finite precision with rounding errors. This means it is entirely possible for a computer to find two points to be on the same side of a line, but their midpoint to be on the opposite side: Euclidean geometry does not hold.  For this reason, many computational geometry libraries are proven correct for "general position" input, which means geometry where nothing is within rounding error of coincident, co-linear, or co-planar. This might be okay if the geometry were...

Hometown Conspiracies

Image
The cabin I was born in. I grew up in the sticks, on a tiny island in the Puget Sound. My parents moved there in the '70s as back-to-the-land hippies and built the log cabin my mom still lives in (I wrote about my late father here ). I had it easy with power and running water by the time I was born; my siblings had ten years without. But there are some funny things about the country, as illustrated all too well by an article entirely too close to home: The True Story of the Antifa Invasion of Forks, Washington . It's a long read, but I highly recommend it; while I don't know any of the people referenced, I feel like I could have. It's a good portrait of a world far outside the urban bubble.  Now, my town was actually closer to Port Townsend, a tourist metropolis of about 8,000 people that served as my bright, shining lights. Port Townsend probably has more artists per capita than anywhere in the state and has attracted hippies like my parents for decades, so it's qu...

Uncertainty

Image
As a software engineer working on graphics I’ve drifted a pretty long way from my original specialty, aerospace controls. I’m glad I got my PhD in controls though, because it taught me a unique way to approach problem solving, one which I tend to apply well beyond the traditional realm of controls. Controls is a very math-heavy discipline, focused on proofs and guarantees of safety because in many situations lives depend on the reliability of the system: autopilots come to mind, but there are countless examples in many fields. At its core is uncertainty and the management thereof. The first thing we’re taught when modeling systems is that our models are inevitably wrong, and not by a little: nothing is linear, nothing is rigid, nothing is independent of the world around it. These assumptions make our math tractable, but they are not realistic. And yet, all is not lost: we take our terrible models and our unreliable sensors and we bound their uncertainty. No matter how poor the input is...

Internet Fame

Image
My boss and I had a career conversation where he asked about what motivates me. I realized it’s not really money, as I’m already so far beyond the financial position I grew up in. I eventually had to admit, to myself mostly, that I’m actually motivated by fame, or more generally by being respected in my field. The funny thing is that I am almost certainly well past my high-water mark as far as fame is concerned.  I achieved my modest internet stardom through an unexpected avenue: 3D printing design. I discovered 3D printing through my first job which sent me to a UAV conference (back before everyone called them drones) and I saw a printed radio controlled samara (one wing helicopter) that some college students had designed. They crashed and broke it, then went over to the Stratasys booth with a thumb drive and had them print a replacement. They were back flying the next day. My coworker mentioned that a new company called Makerbot was selling a kit to build your own 3D printer for...

Environment Lighting & SIGGRAPH

Image
4 minute read. Updated July 8, 2024. Model: Boom Box Corset Damaged Helmet Flight Helmet Chess Game Velvet (sheen) Sofa Sheen Cloth Toy Car Water Bottle Lighting: Default Aircraft Workshop Music Hall Pillars Spruit Sunrise Whipple Creek Tone Mapping: PBR Neutral Linear/Clamped ACES AgX Reinhard Cineon UPDATE: Second time's the charm! After my polite rejection from SIGGRAPH a few years ago (the original post on that is below), someone recommended that I submit a talk on the work I just finished with the Khronos standards group on color and tone mapping for 3D product rendering. This time it was accepted, so I'll be presenting in Denver for SIGGRAPH 2024. My talk is in a session called "Love Me Some Color", which is appropriate since I've spent the last year+ going very deep on color theory. You can find my talk's abstract here - apparently the abstract of a 20-minute SIGGRAPH talk i...

Tensegrity Treehouse

Image
When we bought our house, I had decided already that the huge, twin-trunk pine tree overhanging our sidewalk desperately needed a treehouse. This was a little premature as my wife was only pregnant with our first at the time, but it means I did spend some years idly contemplating designs. When my daughter was two or three and showing interest in climbing, I started sourcing materials, including some driftwood my dad and I harvested from the beaches I grew up near. But still the project languished, unstarted. What broke it loose was losing my job and falling into depression, idling my days away while my dad was dying of cancer (see my previous post ). I realized that I needed a project to keep my sanity, something I could pour my heart and soul into and remind myself that I could still accomplish things.  My dad built me a treehouse many years ago; it was in a many-armed willow tree where my mom had originally built a platform for my much older brother. My dad was a carpenter, as w...

My Father's Eulogy

I gave my father's eulogy a year and a half ago. It was the midst of a very dark year. He was very fit and healthy, recently cured of Hepatitis C that he'd gotten from a blood transfusion when he was 20. But he suddenly got crippling back pain that was quickly diagnosed as cancer. He had always joked about getting Do Not Resuscitate tattooed on his chest (he was an ambulance driver for our local volunteer EMS), but he allowed us to convince him to do the chemo and try to beat it, mostly because he hoped to get more time with his grandkids. As it turned out, it gave him only about four months, and it's hard to say if it could have been any worse without the treatment.  Those four months turned out to be the same four months I was interviewing at Google. I was the first employee of a small startup where I'd been working for almost two years, when the founder suddenly laid me off. That turned out to be the same week we got my dad's diagnosis. I started doing a lot of i...