User Tools

Site Tools


tutorials:light-modeling-introduction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:light-modeling-introduction [2025/01/08 21:25] – created MHtutorials:light-modeling-introduction [2025/06/02 19:58] (current) MH
Line 1: Line 1:
 ===== General Introduction ===== ===== General Introduction =====
 +
 +==== Rendering vs Light Modelling ====
 +
 +**Rendering** is the process of generating a (final) image (or a series of images) from a 3D scene. This includes computing how surfaces appear based on materials, lighting, camera position, and other visual effects.
 +
 +**Light Modelling** refers to the mathematical and physical simulation of how light behaves in a 3D environment, particularly how it interacts with objects (reflection, refraction, absorption, scattering).
 +
 +
 +^ **Feature**  ^ **Rendering**  ^ **Light Modelling**  ^
 +| **Goal**  | Create image | Simulate realistic light behaviour |
 +| **Focus**  | Visual output | Physical correctness and realism |
 +| **Includes** | Shading, camera, rasterization | Reflection, refraction, light transport |
 +
 +
 +{{ :tutorials:light3.png?direct&450 |}}
 +
 +
 +==== Light Modelling ====
  
 Light modelling generally involves three aspects: Light modelling generally involves three aspects:
Line 7: Line 25:
   * Local illumination model   * Local illumination model
  
-{{ :tutorials:light1.png?direct&400 |}}+{{ :tutorials:light1.png?direct&500 |}}
  
-Whereas the Global illumination model handles the actual light computation, the Light sources are the light-emitting elements, and the Local illumination model defines the optical properties of the scene objects.+Whereas the **Global illumination** model handles the actual light computation, the **Light sources** are the light-emitting elements, and the **Local illumination** model defines the optical properties of the scene objects.
  
 In each aspect, computer graphics offers plenty of alternatives. In each aspect, computer graphics offers plenty of alternatives.
  
-{{ :tutorials:light2.png?direct&400 |}}+{{ :tutorials:light2.png?direct&500 |}}
  
 Several of them are implemented in GroIMP as ready-to-use tools. Several of them are implemented in GroIMP as ready-to-use tools.
  
-GroIMP integrates two two main **light model implementations**, namely:+GroIMP integrates two main **light model implementations**, namely:
  
   * Twilight, a CPU-based implementation    * Twilight, a CPU-based implementation 
Line 24: Line 42:
 Both implementing different global illumination model for rendering and for light computation. Both implementing different global illumination model for rendering and for light computation.
  
-{{ :tutorials:light3.png?direct&400 |}}+More on the different ways to implement a global illumination model can be found here[[:groimp-platform:raytracing:raytracer_algo|Ray tracer algorithm]] 
 + 
 +The general settings of the can be changed within the GroIPM properties as described in the [[:groimp-platform:raytracing:raytracer_options|Ray tracer options]] section.
  
 In the following, only light computation or light modelling will be discussed. In the following, only light computation or light modelling will be discussed.
  
 +Regarding **light sources**, GroIMP provides a complete set of possible implementations. They all implement the //Light// and //LightBase// interfaces, which makes them easy to handle and exchange.
 +
 +{{ :tutorials:light4.png?direct&300 |}}
  
-Regarding light sourcesGroIMP provides a complete set of possible implementations. They all implement the //Light// and //LightBase// interfaceswhich makes them easy to handle and exchange.+For the **Local illumination** modelwhich defines the optical properties of the scene objects such as values for absorption, transmission, and reflection, so-called shaders are used.
  
-{{ :tutorials:light4.png?direct&200 |}}+{{ :tutorials:light5.png?direct&400 |}}
  
-For the Local illumination model, which defines the optical properties of the scene objects such as values for absorptiontransmissionand reflectionso-called shaders are used.+GroIMP provides a set of standard shader implementations, e.g., for Lambert and Phong shading. Whereas the Lambertian model supports only diffuse reflection, the Phong reflection model (Phong1973) combines ambientdiffuseand specular light reflections.
  
-{{ :tutorials:light5.png?direct&200 |}}+{{ :tutorials:light6.png?direct&650 |}}
  
-GroIMP provides a set of standard shader implementations, e.g., for Lambert and Phong shading. Whereas the Lambertian model supports only diffuse reflection, the Phong reflection model (B.T. Phong, 1973) combines ambient, diffuse, and specular light reflections. 
  
-{{ :tutorials:light6.png?direct&400 |}}+==== References ====
  
 +Phong BT, Illumination of Computer-Generated Images, Department of Computer Science, University of Utah, UTEC-CSc-73-129, July 1973.
  
  
tutorials/light-modeling-introduction.1736367939.txt.gz · Last modified: 2025/01/08 21:25 by MH