@drewolbrich@mastodon.social
@drewolbrich@mastodon.social avatar

drewolbrich

@drewolbrich@mastodon.social

I'm creating an app that explains the theory of special relativity using interactive 3D spacetime models, for Apple Vision Pro, iPhone and iPad

This profile is from a federated server and may be incomplete. Browse more on the original instance.

gernot, to random German
@gernot@mas.to avatar

In theory, an M4 iPad with 16GB ram and the Magic Keyboard can completely replace my mac, and it is more versatile because it’s an iPad. It needs to run Xcode with at least all the SwiftUI related components, Instruments, and a terminal for git, and have some means of real filesystem based apps so that something like „Tower for iPad“ is possible. It shouldn’t be overwhelmend with outlandish tasks like „using some program to create graphical assets for use in an Xcode project“.

drewolbrich,
@drewolbrich@mastodon.social avatar

@gernot The likelihood is 0%. It would require a huge investment on Apple’s part for zero gain, and it would slow down all future Xcode development.

drewolbrich, to SwiftUI
@drewolbrich@mastodon.social avatar

I have achieved enlightenment.

drewolbrich, to random
@drewolbrich@mastodon.social avatar

I wish we could add notes to Apple documentation.

drewolbrich, to random
@drewolbrich@mastodon.social avatar

All I want for WWDC24: Can please fix the zombie compiler errors that are no longer real and persist for days? (FB13088245)

drewolbrich, to random
@drewolbrich@mastodon.social avatar

If you're creating a visionOS app that uses volumes, you should review these 15 things I've discovered about using them in an app:
https://www.lunarskydiving.com/blog/volume-limitations/

drewolbrich, to random
@drewolbrich@mastodon.social avatar

visionOS 1.1 volume scaling behavior apparently reverted to the original 1.0 behavior in a recent beta, such that the 1.1 beta 3 release notes are now wrong, so I submitted feedback about this again: FB13649091

See also: https://www.lunarskydiving.com/blog/volume-window-zoom/

image/png

drewolbrich,
@drewolbrich@mastodon.social avatar

@michaelsteeber I'm glad I could help.

drewolbrich, to random
@drewolbrich@mastodon.social avatar

I submitted this feedback:

visionOS Simulator lighting is broken 50% of the time
(FB13642434, FB13255855, FB13467851)

It's been broken in:

Xcode 15.1 beta 1 (October 3, 2023)
Xcode 15.1 beta 2
Xcode 15.1 beta 3
Xcode 15.1
Xcode 15.2 beta 1
Xcode 15.2
Xcode 15.3 beta 1
Xcode 15.3 beta 2
Xcode 15.3 beta 3

image/jpeg

miguelcabeca, to random
@miguelcabeca@hachyderm.io avatar

Sendable. @Sendable everywhere!

drewolbrich,
@drewolbrich@mastodon.social avatar
drewolbrich, to random
@drewolbrich@mastodon.social avatar

I've updated my visionOS Window Zoom volume clipping post to reflect a significant change in the behavior of volumes in visionOS 1.1 beta:
https://www.lunarskydiving.com/blog/volume-window-zoom/

drewolbrich,
@drewolbrich@mastodon.social avatar

@marcel @drewolbrich No. Thanks for the suggestion. I’ll try to add one later.

drewolbrich,
@drewolbrich@mastodon.social avatar

@marcel Hi Marcel, I've added an RSS feed for my blog. There's a link to it at the top of https://www.lunarskydiving.com/blog/

Please let me know if you encounter any issues.

drewolbrich,
@drewolbrich@mastodon.social avatar

@marcel hurray! ❤️

michaelsteeber, to apple
@michaelsteeber@mastodon.social avatar

Ah this is unfortunate. When using a material with transparency in Reality Composer Pro, entities behind the surface tend to flicker. There is apparently a way to get around this (https://developer.apple.com/documentation/realitykit/modelsortgroupcomponent) but it doesn't appear to impact rendering here.

video/mp4

drewolbrich,
@drewolbrich@mastodon.social avatar

@michaelsteeber Have you tried it on the device? Sometimes flicking happens on the simulator but not on the device. Also, have you tried using ModelSortGroupComponent? The documentation for Swift Splash has a good description of its use. https://developer.apple.com/documentation/visionos/swift-splash#Specify-sort-ordering-for-transparent-entities

drewolbrich,
@drewolbrich@mastodon.social avatar

@michaelsteeber This looks doable in RealityKit, possibly using a Reality Composer Pro shader graph to achieve the Fresnel effect, making the edges of the bubbles darker.

drewolbrich,
@drewolbrich@mastodon.social avatar

@michaelsteeber I was also stumped by ModelSortGroupComponent because of the lack of documentation. It's tricky to reverse engineer.

It's also unclear how its various options interoperate with models that don't have an assigned sort group, and it also interacts with OpacityComponent in a way that I haven't nailed down. I would kill for explicit draw order control.

Also ModelSortGroupComponent doesn't exist on iOS RealityKit.

drewolbrich,
@drewolbrich@mastodon.social avatar

@michaelsteeber Reality Composer Pro is reasonably good if you already know how to use it and have the patience required for writing complex mathematical expressions via drag and drop

drewolbrich,
@drewolbrich@mastodon.social avatar
drewolbrich, to random
@drewolbrich@mastodon.social avatar

Hurray, in visionOS 1.1 beta, openWindow(id:value:) finally brings the specified window (or volume) to the front, as described in the documentation. (FB12973580)⭐️

simonbs, to random
@simonbs@mastodon.social avatar

Good luck getting five stars for your immersive visionOS app when volumetric windows cannot perform presentations, and as such, cannot present the prompt asking users to leave a review 😑

drewolbrich,
@drewolbrich@mastodon.social avatar

@simonbs I'm wondering if as a workaround you could first open a temporarily placeholder window but make it transparent and hide its window bar and ... omg that would obviously have so many problems, forget I said that.

drewolbrich,
@drewolbrich@mastodon.social avatar

@simonbs That makes sense. I guess it's the best you can do.

I was also concerned about how when an app attempts to prompt a user to leave a review, I thought this was throttled by the system and there were no guarantees about whether a review popup actually appeared or not.

But I suppose you could track this in user defaults and only attempt to prompt the user once. Or, you could cleverly word the text in the supporting window to handle all cases.

alpennec, to apple
@alpennec@iosdev.space avatar

In , is there a way to refocus on a WindowGroup(id: "app") from a WindowGroup(id: "detail", for: Type.self)?

When I call openWindow(id: "app") from an opened detail View, it creates a new app window instead of focusing on the existing one. I couldn't find a way to use a Value for the app WindowGroup. Should I track with onAppear/onDisappear of the main WindowGroup?

cc @_Davidsmith @qzervaas @charliemchapman @jordanhipwell I know you use that in your apps? Thanks a lot!

drewolbrich,
@drewolbrich@mastodon.social avatar

@alpennec @_Davidsmith @qzervaas @charliemchapman @jordanhipwell WindowGroup supports a defaultValue closure (see code below) that should assign a value you can pass to openWindow(id:value:) to do what you're asking, but it's been broken at least since August (FB12974172).

WindowGroup(id:for:) and openWindow(id:value:) does work for windows other than the app's main window, but it doesn't bring the window to the front like the documentation says it will. (FB12973580)

TL;DR: No. 😀

christianselig, to random
@christianselig@mastodon.social avatar

I'm really looking forward to a Vision Pro for development because nothing makes my MacBook hotter than running the visionOS simulator

drewolbrich,
@drewolbrich@mastodon.social avatar

@christianselig The visionOS simulator eats the CPU while idle. Sometimes I’ll quit it when I’m not using it for extended periods, when running off the battery.

drewolbrich, to random
@drewolbrich@mastodon.social avatar

ShaderGraphMaterial doesn't appear to support front face culling like CustomMaterial does on iOS, so I wrote this ModelEntity extension that reverses a model's triangle indices: https://gist.github.com/drewolbrich/82b6036f9f11a71585fc53b7e3b3f41a
I use it to draw the dark interior geometry in this scene.

simonbs, to random
@simonbs@mastodon.social avatar

Apple rejected an update to Runestone because its App Store description mentions the app's price. This text has been included in the description for two years on iOS and for two releases on visionOS. I was inspired by Overcast, which also has a similar text, to add it to my app.

I strive to be transparent and upfront about the pricing of my app, and it has been fine for two years, but now Apple suddenly disapproves.

The inconsistency of Apple's reviewers is frustrating 😑

Screenshot of Overcast on the App Store with the following part of its App Store description highlighted: “Current price for Overcast Premium is $9.99 USD per year, and may vary from country to country.”

drewolbrich,
@drewolbrich@mastodon.social avatar

@simonbs I don't need this image today and you are welcome to borrow it
please give it back when your app is accepted though

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • DreamBathrooms
  • everett
  • magazineikmin
  • osvaldo12
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • thenastyranch
  • kavyap
  • tacticalgear
  • Leos
  • cisconetworking
  • Durango
  • GTA5RPClips
  • ethstaker
  • provamag3
  • ngwrru68w68
  • normalnudes
  • cubers
  • tester
  • modclub
  • megavids
  • anitta
  • lostlight
  • All magazines