Ivan Mathy

@ivanmathy
62 Followers
29 Following
20 Posts
I do things and then I forget to post them online.
Twitterhttps://twitter.com/OKatBest
Websitehttps://okat.best
Blueskyhttps://bsky.app/profile/okat.best
Grooved uses your phone's microphone to analyze speed, and the results are pretty dang accurate. You can put on any record, pick any song, tap the button, and that's it!

I just released a new app that lets you calibrate your turntable simply by playing a song! ๐ŸŽถ

It's called Grooved, it's 100% free, and contains no ads or trackers.

You can try it out here: https://grooved.okat.best

#iPhone #vinyl #app

Grooved - One tap turntable calibration.

Free, no ads.

I started adding "Uneducated guesses" to my Radar reports in addition to repro steps and expected/actual behaviour.

I just take a stab at what I think is going wrong under the hood, not only to force myself to think through the problem but hopefully to also make my tickets easy to pick up and fix.

Oh and if you work at Apple: FB13216451 ๐Ÿ˜

#Xcode #VisionOS #iOSDev #Swift

Finally, the model is colored using a gradient map and triplanar-mapped detail, normal, and roughness maps are applied.

I have posted before about the process to get vertext color working properly in Reality Composer Pro.

The is one single model, and the resizing is done in a vertex shader. Geometry color drives how much part of the model needs to be pulled or pushed in each direction.

Features donโ€™t have to be static size, they can also grow faster or smaller than the rest of the model.

Dynamic non-uniform 3D model box resizing.

The box can be any size, but some of the features (such as the label or the tape) remain in the right spot and at the right size.

#visionOS #AR #RealityComposerPro #shader

Reminder to all iOS/visionOS developers that when you submit feedback/radar issues, be sure to always include Easter eggs to relieve the monotony of the Apple engineers (FB13143132)

I was having some issues with clipped content in RealityKit, so I made a class to visualize its bounds: https://github.com/IvanMathy/RealityBounds

#VisionPro #visionOS #opensource #Swift

GitHub - IvanMathy/RealityBounds: A VisionOS library to visualize the bounding boxes in RealityKit

A VisionOS library to visualize the bounding boxes in RealityKit - GitHub - IvanMathy/RealityBounds: A VisionOS library to visualize the bounding boxes in RealityKit

GitHub

Continuing the vertex color journey, it turns out Blender exports Vertex Color as sRGB when using usdx files. It seems to ignore the project's settings.

This is important when using the vertex color not as just a color, but as input for calculation. `0.5` becomes `0.21404096`.

This can be easily brought back by raising the values to`^(1/2.224)`.

I know it's not on Apple to fix but I opened a Radar to request color space conversion nodes as it could be helpful: FB13095647

Heard back from Apple on my radar, turns out the attribute (primvar) needs to be called `displayColor`. Easy fix, and now I have vertex color in my shader graph!

I wasn't far off, but I don't think I would have ever figured it out myself. This string does not appear anywhere in their MaterialX fork nor in the USD spec... Not sure where it comes from, but I'm glad to know what it is! I'm still not able to get Primvar readers working unfortunately.

#RealityKit #VisionOS #RealityComposerPro