Module Radio
[frames] | no frames]

Module Radio

The Blender.Scene.Radio submodule.

Radio

This module gives access to Scene Radiosity Contexts in Blender.

Example:

 import Blender
 from Blender import Scene

 # Only the current scene has a radiosity context.
 # Naturally, any scene can be made the current one
 # with scene.makeCurrent()

 scn = Scene.GetCurrent()

 # this is the only way to access the radiosity object:

 radio = scn.getRadiosityContext()

 radio.setDrawType('Gouraud')
 radio.setMode('ShowLimits', 'Z')

 radio.collectMeshes() # prepare patches
 radio.go() # calculate radiosity
 Blender.Redraw(-1)
Classes
  Radio
This object wraps the current Scene's radiosity context in Blender.
Variables
readonly dictionary DrawTypes
Wire
readonly dictionary Modes
ShowLimits
  __package__ = None