Operators |
render_scene_3d — Render an image of a 3D scene.
render_scene_3d( : Image : Scene3D, CameraIndex : )
render_scene_3d renders an image of the 3D scene Scene3D and returns the result in Image. The view of the camera CameraIndex is used to render the image.
The set_scene_3d_param parameters 'object_index_persistence' and 'disp_background' are ignored. The background of Image is black.
render_scene_3d requires OpenGL 2.1, GLSL 1.2, and the OpenGL extensions GL_EXT_framebuffer_object and GL_EXT_framebuffer_blit. Otherwise the compatibility mode is automatically enabled. The compatibility mode requires OpenGL 1.1.
Rendered 3D scene.
Handle of the 3D scene.
Index of the camera used to display the scene.
render_scene_3d returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.
3D Metrology
Operators |