Commit 76085eea authored by Ken Martin's avatar Ken Martin
Browse files

merge from main tree

parent e4e8f9f2
......@@ -12,7 +12,7 @@ package require vtkinteraction
# render windows, mappers, actors, lights, cameras etc...
# See the Mesa classes in the Rendering directory for a list of
# existing classes.
vtkMesaRenderWindow renWin
vtkXMesaRenderWindow renWin
# Will render in memory.
renWin OffScreenRenderingOn
......
......@@ -15,7 +15,7 @@ package require vtkinteraction
# The OpenGL render window
vtkRenderWindow rw
# The Mesa equivalent
vtkMesaRenderWindow mrw
vtkXMesaRenderWindow mrw
mrw OffScreenRenderingOn
# OpenGL
......@@ -59,6 +59,9 @@ set openGLCamera [ren GetActiveCamera]
proc PrintWithMesa {} {
global mesaCamera openGLCamera
# This is needed to create a default mesa light
mrw Render
set mesaLights [mren GetLights]
eval $mesaLights InitTraversal
set mesaLight [$mesaLights GetNextItem]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment