Post

Replies

Boosts

Views

Activity

Reply to VisionOS RealityKit
AFAIK A stereoscopic material shows a separate image to the left and right eye. There's not really a depth buffer involved. Perhaps you can conditionally swap between using the stereoscopic image data or left-eye-only image data based on some conditions in the shader graph.
Topic: Graphics & Games SubTopic: General Tags:
Apr ’24
Reply to Using SpatialTapGesture location with AnchorEntity hierarchies on visionOS
Yeah, I get the same behavior. There are a few posts here of others finding the same behavior too. I think you can only get location information relative to the AnchorEntity’s origin from that entity and its children. In addition, AnchorEntities and their children cannot behave in physics based interactions outside of that anchors hierarchy and that includes ray casting. I’ve been endeavoring to never use an AnchorEntoty because of these limitations. Thankfully the plane provider that works on device doesn’t require those entities or else I would be sunk.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’23
Reply to Ads at VisionOS
All I know is that you won’t be able to use “hover” states to detect if the users eyes are actually resting on ad content. Other than that I have not heard of any limitations. I‘m looking forward to apps that can put black squares over billboards in real life. :D
Topic: App & System Services SubTopic: General Tags:
Dec ’23
Reply to VisionOS RealityKit
AFAIK A stereoscopic material shows a separate image to the left and right eye. There's not really a depth buffer involved. Perhaps you can conditionally swap between using the stereoscopic image data or left-eye-only image data based on some conditions in the shader graph.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Trying to print loop in the Xcode via vision os getting following error
For loops are not a valid means of constructing a repeated sequence of views. You'll want to use the SwiftUI view named "ForEach". https://developer.apple.com/documentation/swiftui/foreach
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Apple Vision Pro Development Without the $299 Dongle?
You can deploy and debug wirelessly. The dongle is available for developers of applications with large assets, unstable WiFi, or corporate network policies.
Replies
Boosts
Views
Activity
Feb ’24
Reply to Generating HUD (Heads Up Display) within VisionOS on VisionPro
You can anchor to the head targeted AnchorEntity, which tracks the user’s head. However some users, for accessibility reasons, rely on head movements to interact with items. You should provide an alternative when those flags are true.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Xcode 15, how to uncheck "Connect via network" for physical device?
@eskimo This is likely to remain a more annoying problem on Vision Pro where binary sizes could be larger and there is no hardware connection on the consumer device. What's the right feedback categorization for requesting a purchasable connector?
Replies
Boosts
Views
Activity
Jan ’24
Reply to Developer cable for Vision Pro?
I would also like the option to purchase a cable-connector for Vision Pro so I can avoid problems associated with wireless debugging.
Replies
Boosts
Views
Activity
Jan ’24
Reply to Locked through Plane classifications
I believe the “update” method of your RealityView will fire when your entity appears in the scene. You could check the .scene property of your entity at that time and observe it is non-nil.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to VisionOS upperLimbVisibility(.hidden) for one hand only
I could be wrong, but if something is positioned between the limb and the headset, I don’t think it should be occluded. I did not hear back about debits, though, so I don’t know for sure.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Music Lyric Syncing with Eye Tracking
Vision OS does not expose the location a user is looking via the API.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Using SpatialTapGesture location with AnchorEntity hierarchies on visionOS
Yeah, I get the same behavior. There are a few posts here of others finding the same behavior too. I think you can only get location information relative to the AnchorEntity’s origin from that entity and its children. In addition, AnchorEntities and their children cannot behave in physics based interactions outside of that anchors hierarchy and that includes ray casting. I’ve been endeavoring to never use an AnchorEntoty because of these limitations. Thankfully the plane provider that works on device doesn’t require those entities or else I would be sunk.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to @Observable is being re-init every time view is modified
Same problem. Would love to know the right way to implement this pattern with @observable
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to How do I change the background color of a visionOS immersive space?
I think searching with skybox may help you find your answer, but I’ve never personally done this.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Ads at VisionOS
All I know is that you won’t be able to use “hover” states to detect if the users eyes are actually resting on ad content. Other than that I have not heard of any limitations. I‘m looking forward to apps that can put black squares over billboards in real life. :D
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Vision OS Torus Collision Shape
I believe you can generate a collision Shape from a mesh. Thats the recommendation for creating entities when using a SceneReconstruction provider, for example. See the raycasting portion ARKit and spatial computing WWDC video for slightly more.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Xcode 15.1 Release Candidate
As VisionOS is not yet a "Released" OS, it is not available in the non-beta versions of Xcode. Like the other poster said, you need to open up a beta version like the release notes say.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’23