fig.renwin.off_screen_rendering = True #allows you to minimize the window and keep drawing/saving to file
Lighting
fig.renwin.light_manager
.lights
.light_mode = 'vtk' or 'raymond'
.lights[0].move_to(0,-45)
light[0] seems to be the important one. azimuth , elevation, with 0 elevation being right over head
The rendering properties (size etc.) are controlled from
fig.renwin.render_window
.aa_frames =
.size = array([width, height]) OR
.set_size(width, height)
fig.renwin.show_axes = True #turns on the little axis orientation indicator
Lighting
fig.renwin.light_manager
.lights
.light_mode = 'vtk' or 'raymond'
.lights[0].move_to(0,-45)
light[0] seems to be the important one. azimuth , elevation, with 0 elevation being right over head
The rendering properties (size etc.) are controlled from
fig.renwin.render_window
.aa_frames =
.size = array([width, height]) OR
.set_size(width, height)
fig.renwin.show_axes = True #turns on the little axis orientation indicator
Comments
Post a Comment