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.

Variable Summary
readonly dictionary DrawTypes: Wire
readonly dictionary Modes: ShowLimits

Variable Details

DrawTypes

  • Wire
  • Solid
  • Gouraud
Type:
readonly dictionary

Modes

  • ShowLimits
  • Z
Type:
readonly dictionary

Generated by Epydoc 2.1 on Mon Jun 13 15:31:22 2005 http://epydoc.sf.net