lacyrhoades / SceneKit2Video

Demo project: High-def video output from SCNKit
MIT License
70 stars 15 forks source link

SceneView speeds up while rendering #1

Open acsarraf opened 7 years ago

acsarraf commented 7 years ago

Hi,

Great stuff with the SCNKit2Video, it's amazing.

I've managed to hook it up to an ARSCNView and i'm getting it to render this view, so any AR Elements that I add along with the camera input as well, but one thing i've noticed is that any AR Elements I add (such as dropping cubes) seem to speed up only while rendering.

I know this is a bit of a vague question, so you can close the issue pretty quickly, but was just wondering if you might know of a reason that might cause this to happen.

Thanks

MarcusAdams commented 3 years ago

@acsarraf Do you actually see the issue while it's rendering? Because, I noticed that the input writer frame rate wasn't correct, so the finished video was either sped up or slowed down, depending on what frame rate you asked for. There didn't seem to be any effort to actually keep time with the frame rate.