/jogl-examples

JOGL (Java OpenGL) Examples

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

JOGL Examples

Since June 7, 2018, the repository will no longer be updated here. All updates and other projects will now be on the GitLab


JOGL (Java OpenGL) Examples

  1. Shaders with 2 matrices
  2. Shaders with 3 matrices
  3. Shaders with 3 matrices (Model-View-Projection) and simple lighting
  4. Shaders with 3 matrices (Model-View-Projection) and simple lighting with several lamps
  5. Shaders with 3 matrices (Model-View-Projection), simple lighting with several lamps and texture
  6. Ambient+diffuse+specular colorful lighting with several lamps, animation and texture
  7. Ambient+diffuse+specular colorful lighting with several lamps, animation, texture and lamps prop

    Small fix for lamps:
    // updating lamps eye space position
    for (int i = 0; i<lamps.length; i++) lamps[i].calculateLampPosInEyeSpace(mViewMatrix);
    Add this to display method
    This is necessary to add in the event that on your scene the lamps do not move, but the camera moves

  8. Ambient+diffuse+specular colorful lighting with several lamps, animation, texture, lamps prop, attenuation and OBJ models loading
  9. Ambient+diffuse+specular colorful lighting with several lamps, animation, texture, lamps prop, attenuation and, models loading and lighting maps
  10. + Normal Mapping
    Video
  11. + Shadow Mapping with soft shadows