Baking dynamic lighting into a video file?

   833   1   0
User Avatar
Member
4 posts
Joined: 1月 2023
Offline
Hey there, I have this idea for achieving high quality dynamic lighting for mobile VR. It goes like this:
  1. Create a scene with animated dynamic lights
  2. Bake out this animation into a per-frame lightmap for the entire scene. Essentially there's a high-res 2-8K texture encoding lighting for the entire scene, for each frame
  3. Assemble these lightmap frames into a video file
  4. Load the geoemtry of these scene from step 1 into a game engine, together with the video from the previous step
  5. Apply the texture of the film to the geometry and play the video

Ideally the texturing of the geometry consist of two texture channels, albedo and the pre-baked per-frame lightmap.

Does Houdini have tools that could aid in generating this per-frame lightmap of the entire scene? Unfortunately I don't have the budget to do a lot of technical implementation work myself.
User Avatar
Member
4 posts
Joined: 1月 2023
Offline
Alright, I figure out this is actually pretty easy to do in Blender with a little bit of python scripting. Cheers folks!
  • Quick Links