This pr aims to make debugging a bit more interactive by recording every object's location (and rotation if we ever decide to rotate the objects dynamically during the script) using key frames.
Currently, when a script is run and the -b tag is omitted from the command, the blend file will only show information about the last iteration. This pr aims to store num_images key frames as frames with respect to the scene.
To test, omit the -b tag from the command blender -b --python pbr/pbr.py. After the program finishes, switch your current window to the blend file and you will see little golden diamonds below the world scene. If you can't switch to the animation tab by clicking the Animation button found on the top most part of the screen. You may cycle through the key frames by pressing your left / right arrow button, or simply pressing spacebar to cycle through all the key frames quickly.
At times, the little golden diamonds will be invisible. This should not matter and you should still be able to cycle through the keyframes in world view / camera view.
This pr aims to make debugging a bit more interactive by recording every object's location (and rotation if we ever decide to rotate the objects dynamically during the script) using key frames.
Currently, when a script is run and the
-b
tag is omitted from the command, the blend file will only show information about the last iteration. This pr aims to storenum_images
key frames as frames with respect to the scene.To test, omit the
-b
tag from the commandblender -b --python pbr/pbr.py
. After the program finishes, switch your current window to the blend file and you will see little golden diamonds below the world scene. If you can't switch to the animation tab by clicking the Animation button found on the top most part of the screen. You may cycle through the key frames by pressing your left / right arrow button, or simply pressing spacebar to cycle through all the key frames quickly.At times, the little golden diamonds will be invisible. This should not matter and you should still be able to cycle through the keyframes in world view / camera view.