Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Blender
- from Blender import *
- from Blender.Scene import Render
- pi = 3.14159
- deg45 = 45 * pi / 180
- context = Scene.GetCurrent().getRenderingContext()
- basePath = context.renderPath
- for i in range(1,9):
- # objects without parents should be parented to RenderPlatform
- platform = Object.Get('RenderPlatform')
- platform.RotZ = platform.RotZ - deg45
- platform.setLocation(platform.getLocation()) # refreshes the child locations
- context.renderPath = basePath + str(i)
- context.renderAnim()
- Blender.Redraw()
- context.renderPath = basePath
Advertisement
Add Comment
Please, Sign In to add comment