pycg.render
render module mainly consists of a Scene class, with many utility functions to manage windows, tackle animations, etc. It supports rendering using different backends such as Open3D, blender, polyscope, or pyrender.

Scene class
Frequently-used methods:
add_object/add_lightremove_object/remove_lightauto_plane: Add a ground plane given the current scene geometry.render_blender: Render the current scene using blender.render_opengl: Render the current scene using OpenGL.
Using Themes
Themes determine the render style. In PyCG we provide many predefined themes, including ThemeAngela, ThemeDiffuseShadow, ThemeNKSR.
You can call the apply method to use the theme in corresponding scenes.
Other classes
CameraIntrinsicstores intrinsic parameter of perspective cameras.SceneObjectholds an object that is display-able and render-able.SceneLightholds a light that could either be a sun or point light.
Animation Support
Please refer to the corresponding examples in examples/ folder for more details.