Lobo's Blender Page

VR Object

Another thing I found myself doing over and over again was setting up a series of cameras so that I could render out the required frames to create a VR Object, like Quicktime VR Objects - although I use a shockwave/actionscript implementation.

This script sets up a camera that moves in circles at varying angles looking at a model so that you can render out the required frames to create a VR Object in one go. To achieve this it creates a "framechanged" scriptlink and script which changes the camera as the frames are rendered, the script also works when you change the frame at any time so you can check the object is in frame.

vr_object.py - Set up cameras required to create frames for a VR Object
Add the script to your blender/scripts directory.
Execute this script from the "Scripts->Animation " menu and choose VR Object.
Set the desired Rows, Columns and Angles, hit Generate.
vr_object.py 0.3 Changed the way I got all the frames rendered out from changing between many cameras to simply moving one camera, now you can easily change the focal length.
Now when the script is run again it overwrites the existing rig and scripts so that you dont end up with many versions with .001 appended if you have several attempts at setting up the desired angles.
Fixed a division by 0 error when you only had a single column or row. Fixed a bug which prevented getting the full angle range over the columns
vr_object.py 0.2 Fixed error in the framechanged script which caused it to be 1 frame out. (Blenders frames start at 1 not 0 like Arrays in python)
vr_object.py 0.1 First up release, seems to work quite well but havn't tesed it extensively.
     
     
     

 


Blender WebRing Home Next Site List Random Previous
We use third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.