Log in or register to post comments

Metal Rendering & SceneKit

March 7, 2018 - 2:02pm #1

Hi,

I'm trying to render a SceneKit scene with Metal. I started from the ImageTargetsMetal sample from the Advanced Topics zip file.

I already managed to render SceneKit in the EAGLView using OpenGL, by using a SCNRenderer initialized with the GL context that Vuforia is using.

 

Now I tried a similar approach with metal, using a the same Metal device that Vuforia uses, using

renderAtTime:viewport:commandBuffer:passDescriptor:

iOS tells me in an runtime error that I can't use the commandBuffer since the encoder is still active; When I try to render a scene after [encoder endEncoding];, I get a black screen. How can I render the SceneKit scene? Is it possible?

Thanks,

Philipp

Metal Rendering & SceneKit

March 19, 2018 - 2:40am #2

@vuforia I also need this urgently

Log in or register to post comments