Post

Replies

Boosts

Views

Activity

Render ARKit Session using both SceneKit and MetalKit
I am working with ARKit4 and I want to use MetalKit as well as SceneKit to render the session. I have a MTKView and a ARSCNView on top of it. I am using the MTKView to render the RGB images as show cased here: https://developer.apple.com/documentation/arkit/visualizing_a_point_cloud_using_scene_depth And I want to render the ARKit scene reconstruction mesh as well. That is why I need to use ARSCNView. However, I am unable to initialize the ARSession for both the views. Only one works at a time. Is it possible to use both the frameworks( SceneKit and MetalKit) simultaneously for rendering ARKit mesh?
1
0
1.4k
Feb ’21
Create triangulated mesh instead of particles
I am new to Metal Kit and Computer Graphics in general. I was playing around with this sample code: https://developer.apple.com/documentation/arkit/visualizing_a_point_cloud_using_scene_depth I want to re-write this app. I wish to render a triangle mesh / triangle strip with custom colors in place of the particles or dots rendered here in this app (on top of the rgb image captured per frame) I would really appreciate it if someone can point me to the right direction. I know I need to probably re-write the shader file to draw triangles but I can not figure out how. Any help is appreciated. Thank you.
2
0
1.7k
Jan ’21
Connection to ModelIO Assetloader interrupted
I am working on ARKit4, trying to generate a 3D model from the mesh. I am trying to display the 3D .obj file in SceneKit but the model doesn't show up. I get the following error: 2020-09-25 17:56:32.532137-0700 connection to com.apple.ModelIO.AssetLoader was interrupted 2020-09-25 17:56:32.532201-0700 AssetLoader.loadURL errorHandler: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service on pid 0 named com.apple.ModelIO.AssetLoader" UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.ModelIO.AssetLoader} 2020-09-25 17:56:32.535432-0700 Couldn’t communicate with a helper application. Please help me resolve this error.
3
0
1.4k
Jan ’21