Can such frames/videos be rendered in Blender Internal as well? If not, how indirectly?

EDIT: The below solution is great as long as you can write your own Python script and only render solid objects. When you need things like particles/hair, it won't work as those won't be reflected.

  • It would be possible to bake the scene onto a sphere and repeat it for every frame. – Denis Aug 28 '15 at 15:45
  • How do you do that? Repeating that for every frame could be achieved by a Python two liner I think. – Leo Ervin Aug 29 '15 at 5:54
  • Yes that is easy to do with a sphere with a shadeless material with full reflection, and a texture set tho the sphere with the resolution of the video you want to make, I assume repeating the process with python for each frame should be easy too, but that's beyond my knowledge. – Denis Aug 29 '15 at 16:46
  • You mean an inverted (normals) sphere, large enough to fill the whole volume, UV mapped accordingly? I'm not sure I understand, will I need to fetch the generated texture instead of camera render? – Leo Ervin Aug 29 '15 at 20:15
  • The sphere should be very small at the location where the camera supposed to be, and then with python you can bake the result for every frame. I can post a partial answer without the python part. – Denis Aug 29 '15 at 20:35
up vote 4 down vote accepted

First create a sphere and in edit mode select the triangular fans on the poles of the sphere and inset to very small size using I button and delete the triangular fans leaving very small holes on the poles.

enter image description here

Then unwrap the sphere using follow active quads, position and scale the UVs to fit the UV/Image editor window. Once the sphere is unwrapped add a new texture with video resolution you want (1920x1080)

enter image description here

Then add a material to the sphere, enable Shadeless, Mirror and set Reflectivity to 1

enter image description here

Then scale the sphere to small size and position it where the camera should be and add Subsurf modifier with at least 2 subdivisions to reduce texture distortion.

Once all the steps are finished you can use the python script to bake the textures for each frame in a sequence.

  • Very odd deformations when doing this. Maybe the mirror quality can and has to be changed somewhere. – Leo Ervin Aug 29 '15 at 23:08
  • Thats how it should look like but you need to make an image wider, like the video output you want. – Denis Aug 29 '15 at 23:13
  • Oh, and I forgot to add, to reduce the image distortion add Subsurf modifier with at least 2 subdivisions and set it to smooth shading. – Denis Aug 29 '15 at 23:15
  • Looks better. Any chance antialiasing can be enabled for mirror texture? – Leo Ervin Aug 29 '15 at 23:24
  • @LeoErvin I'm not sure if this option exist for baking – Denis Aug 29 '15 at 23:41

I'm sure with a minor edit this script, combined with the above solution, will allow to render an equirectangular animation or frame in in Blender Internal:

import bpy

# remember current frame to switch back after the script is finished
current_frame = bpy.context.scene.frame_current

mesh =

for i in range(bpy.context.scene.frame_start, bpy.context.scene.frame_end+1):
    # set current frame
    bpy.context.scene.frame_current = i

    # create an image which will store the baked data
    image ='.png', bpy.context.scene.render.resolution_x, bpy.context.scene.render.resolution_y, alpha = 0)
    image.file_format = 'PNG'
    image.filepath = "//"+str(i)+".png"

    #set the active image for each uv:
    for uvface in
        uvface.image = image

    # bake

    # resave image with baked data

    print ("Frame "+str(i)+" complete")

# switch back to the frame you were on before running this code
bpy.context.scene.frame_current = current_frame

Currently it gives this error:

Traceback (most recent call last):
  File "C:\Users\User\Desktop\internal.blend\Text", line 22, in <module>
  File "C:\Program Files\Blender Foundation\Blender\2.75\scripts\modules\bpy\ops
.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: No active image found in material "Material.002" (0) for ob
ject "Sphere"

If someone can tell how to set the "active image" for a Material, then I think this script will run fine.

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.