election

I’d much rather have a convicted felon and adjudicated rapist as president instead of a Black woman with a successful law and public service career. Who would possibly think otherwise? Obvious, right?

Really, people? You can’t vote for a woman????

Posted in Uncategorized

ShaderGraph nodes in visionOS

I have posted a couple of sample apps to Github that might be useful to visionOS developers.

The first one is https://github.com/halmueller/ShaderGraphControls. This sample shows how to pass values from a SwiftUI view to a Shader Graph’s parameters. There are three sliders, controlling the RGB values of a 3D cube’s surface.  

The second one, https://github.com/halmueller/ShaderGraphStereo,  is a more complex demo, using a Shader Graph to display a stereo pair of images. I ran across some hiccups in this work. TextureResource.load() fails when trying to load a pure grayscale image (Apple FB 13733823). And a naive approach to the RealityView’s make: and update: closures can lead to massive memory leaks.

Details are in the README files of the repositories.

Posted in iOS