Post

Replies

Boosts

Views

Activity

Reply to DrawableQueue to RealityKit ShaderGraphMaterial ignoring alpha channel of texture?
I would love to see some sample code showing how you're generating a dynamic texture with DrawableQueue! That said, I can see from the image that your sending UsdUVTexture.RGBA, which has 4 components, to UnlitSurface.Color, which only takes in 3 components. You need to split the RGBA out, then pass the first three into Color, and the last into Opacity.
Topic: Graphics & Games SubTopic: General Tags:
Dec ’23
Reply to Follow the body
in visionOS v1.0, full body tracking is not exposed to third party developers. Hand tracking can be requested. https://developer.apple.com/documentation/arkit/handtrackingprovider/?cmdf=visionOS%20hand%20tracking
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’24
Reply to How to get SceneKit to update a nodes orientation based on values that update in real time without lagging or stuttering
in UIViewRepresentable.updateUIView, you shouldn't be reloading the scene from disk on each update. that seems expensive if that doesn't make an impact, I'm not familiar with using SceneKit with SwiftUI, so not sure how UIViewRepresentable.updateUIView works with/against a typical SceneRenderDelegate.updateAtTime implementation. fwiw.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Jan ’24
Reply to ARKit for BIM
Yes it is possible. Treat bar codes as image anchors. Load the identifiable images based on location. Affix your 3D models to entities attached to the detected image anchors. https://developer.apple.com/documentation/arkit/arkit_in_ios/content_anchors/detecting_images_in_an_ar_experience?cmdf=arkit%20image%20anchor
Topic: Spatial Computing SubTopic: ARKit Tags:
Feb ’24
Reply to Is it possible to fix slow CKAsset loading on Cloudkit?
ooh ah, you ask a lot of important questions… Is this an expected behavior from using CloudKit? To some degree, yes, as it is specifically designed for backup and sync, and only incidentally does web. Speed is not a feature. That said, you should definitely be using qualityOfService so the system can optimize results. For instance, you might set it high to retrieve thumbnails, and set it low for background uploads. Is CloudKit even a viable option for this kind of app, or is it not designed for this type of app? I think it is viable, though on the public database you have to give very serious consideration to moderation, as well as the limits on public space as it related to the number of users of the app. What alternative approaches could be taken? (Eg. store assets in AWS...) you could go with another cloud service, but then you'd have to consider the costs. Also, regardless of your backend, think thru how to handle large uploads and downloads in the background. For CloudKit, this means leveraging long-lived operations. See CloudCore for an example https://github.com/deeje/CloudCore/blob/master/Source/Classes/Caching/CloudCoreCacheManager.swift
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’24
Reply to How to access custom Mesh buffers inside a custom ShaderGraphMaterial?
I've submitted feedback #FB13428615
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to DrawableQueue to RealityKit ShaderGraphMaterial ignoring alpha channel of texture?
I would love to see some sample code showing how you're generating a dynamic texture with DrawableQueue! That said, I can see from the image that your sending UsdUVTexture.RGBA, which has 4 components, to UnlitSurface.Color, which only takes in 3 components. You need to split the RGBA out, then pass the first three into Color, and the last into Opacity.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to VisionOS: Immersive space with Metal framework
My understanding is, No, using compositor services requires full immersion
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Is there a limit for CKFetchRecordsOperation?
there is a limit for all query ops, and there is support for cursors (a form of batching) https://developer.apple.com/documentation/cloudkit/ckqueryoperation/1514975-cursor?cmdf=cloudkit%20cursor
Replies
Boosts
Views
Activity
Jan ’24
Reply to Follow the body
in visionOS v1.0, full body tracking is not exposed to third party developers. Hand tracking can be requested. https://developer.apple.com/documentation/arkit/handtrackingprovider/?cmdf=visionOS%20hand%20tracking
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Identify right hand and left hand in Gestures
file a feature request in Feedback Assistant
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to ARKit - using face recognition while using video
Use AVFoundation to encode a video from each ARFrame.capturedImage. You'll need AVAssetWriter, AVAssetWriterInput, AVAssetWriterInputPixelBufferAdaptor.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to How to get SceneKit to update a nodes orientation based on values that update in real time without lagging or stuttering
in UIViewRepresentable.updateUIView, you shouldn't be reloading the scene from disk on each update. that seems expensive if that doesn't make an impact, I'm not familiar with using SceneKit with SwiftUI, so not sure how UIViewRepresentable.updateUIView works with/against a typical SceneRenderDelegate.updateAtTime implementation. fwiw.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Record coordinates in 3d space
ARKit, go!
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Aggregated Data Table (Reporting Table) in CloudKit database
I wish CloudKit had jobs, too, but alas… One idea is to have clients do the job. Check if there's a recent aggregate record, and if not, create one. Sure, you might have several clients doing similar work at similar times, but you won't have the cost of running a server somewhere.
Replies
Boosts
Views
Activity
Feb ’24
Reply to ARKit for BIM
Yes it is possible. Treat bar codes as image anchors. Load the identifiable images based on location. Affix your 3D models to entities attached to the detected image anchors. https://developer.apple.com/documentation/arkit/arkit_in_ios/content_anchors/detecting_images_in_an_ar_experience?cmdf=arkit%20image%20anchor
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Aggregated Data Table (Reporting Table) in CloudKit database
:-) As a developer, one of the things I love about CloudKit is that the cost is paid for entirely by the customers themselves. If we extend that thinking from storage to storage+compute, and we recognize that we have to build a distributed job system anyway, well it just makes sense to use the compute resources that the customer already has.
Replies
Boosts
Views
Activity
Feb ’24
Reply to Is it possible to implement a Billboard System in a volumetric window?
does this help? https://stackoverflow.com/questions/60577468/how-to-implement-a-billboard-effect-lookat-camera-in-realitykit?cmdf=ios+realitykit+model+entity+billboard
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Is there an app to read CoreData data directly?
try Core Data Lab https://betamagic.nl/products/coredatalab.html
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Is it possible to fix slow CKAsset loading on Cloudkit?
ooh ah, you ask a lot of important questions… Is this an expected behavior from using CloudKit? To some degree, yes, as it is specifically designed for backup and sync, and only incidentally does web. Speed is not a feature. That said, you should definitely be using qualityOfService so the system can optimize results. For instance, you might set it high to retrieve thumbnails, and set it low for background uploads. Is CloudKit even a viable option for this kind of app, or is it not designed for this type of app? I think it is viable, though on the public database you have to give very serious consideration to moderation, as well as the limits on public space as it related to the number of users of the app. What alternative approaches could be taken? (Eg. store assets in AWS...) you could go with another cloud service, but then you'd have to consider the costs. Also, regardless of your backend, think thru how to handle large uploads and downloads in the background. For CloudKit, this means leveraging long-lived operations. See CloudCore for an example https://github.com/deeje/CloudCore/blob/master/Source/Classes/Caching/CloudCoreCacheManager.swift
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’24