###################
GI Generation Modes
###################


HOOPS Luminate provides several GI cache generation modes for more flexibility. This enables you to render still images, spherical panoramas as well as full scene animations.

.. note:: 
    
    GI caches can be saved to .red files in order to be later reused. See :doc:`/tasks/ta_ca/ta_ca_rendering/tk_saving_loading_gi_cache` for details.

******
Camera
******

This is the default generation mode. The GI cache is computed for the current view and therefore, can't be used to render the scene from another viewpoint. It's the suitable mode for still images or animations with moving objects rendering (see :doc:`/book/subjects/bk_re/bk_re_srd/bk_re_gi/bk_re_sw3d_gi_anim` under the section **Rendering GI with Moving Objects**).

.. include:: /tasks/ta_ca/ta_ca_rendering/tk_computing_camera_gi_cache.rst

*********
Spherical
*********

In this mode, the engine computes a 360° view-dependent GI cache usable to render panoramas.

.. figure:: bk_re_sw3d_gi_gen_modes_sphere.jpg
    :align: center
    
    **Example of a 360° panorama with GI rendered using the Spherical mode.**

.. include:: /tasks/ta_ca/ta_ca_rendering/tk_computing_spherical_gi_cache.rst

*****
World
*****

World GI caches contain information about GI everywhere in the scene. Such caches are not view-dependent any more and can be used to render moving camera animations (see see :doc:`/book/subjects/bk_re/bk_re_srd/bk_re_gi/bk_re_sw3d_gi_anim` under the section **Rendering GI with Moving Camera**).

.. include:: /tasks/ta_ca/ta_ca_rendering/tk_computing_world_gi_cache.rst
