render and record faster than realtime

Hi,

I am using Unity to create movies and I’d like to reduce rendering time. My movies are simple and a second scene be can rendered much quicker than a second.

From what I gather, you could change TimeScale and framerate to effectively reduce the rendering time. But this is a hack and I feel like there must be a better/easier way to render as fast as my computer can do.

I know this has been posted a few time before but I’d like to know if there is a new way to do this since Unity (the company) has been pushing Unity (engine) as a movie creation tool recently.

previous related posts:
Render video faster than realtime (Dec 2020)
Can I render and record a cutscene faster than Realtime (Sep 2020)
Capturing videos at a fixed framerate, regardless of render time (Feb 2017)
Allow Unity to render as fast as possible? - Questions & Answers - Unity Discussions (Dec 2011)

Hey,

Are you using the recorder component ?
If yes, all tou have to do is to turn off cap frame rate to get faster than real-time rendering.

if not, you would need to set time.captureDeltaTime to the correct 1/fps to make unity update in frame increments, and turn off vsync.

i do not think timescale plays into the equation.

1 Like

Thanks! I am using something else because I want to record in a build instead of a Unity editor. Disabling cap frame rate does the trick with the recorder. I will look into using time.captureDeltaTime and turning off vsync.

For 30 FPS animation, I set Time.timeScale = 3.0f and Application.targetFrameRate = 90. This way I can render my animation three times as fast.