render_offscreen#

anim_recorders.render_offscreen(p0: str) int#

Specifies using hardware assisted offscreen rendering for keyframe animation on platforms that support it.

This depends on an OpenGL feature called pbuffers. It is currently supported on SGI platforms. However, due to bugs in SGI’s implementation, it can be problematic. You may need to try different video formats (i.e., use ircombine) to get pbuffer rendering to work correctly.
Args:
p0:

‘toggle’

  • ON

  • OFF

Examples:
ensight.anim_keyframe.keyframing("ON")
ensight.anim_keyframe.create_keyframe()
ensight.view_transf.rotate(0.0,90.0,0.0)
ensight.anim_keyframe.create_keyframe()
ensight.file.image_format("envideo")
ensight.anim_recorders.file_prefix("./my_animation")
ensight.anim_recorders.record("ON")
ensight.anim_recorders.render_offscreen("ON")
ensight.anim_keyframe.run()
Returns:

zero on success, non-zero on error