/hatch

Primary LanguageJava

Hatch

Introduction

Simple demo-scene created in JOGL (Java OpenGL) of egg hatching. Lamps can be set to diffrent positions. Egg jumps and rotates.

Simple UI allows to change lamp positions, turn on/off each of the lights and toggle animation.

Lighting calculation involve implementation of Phong shading.

Run

Install JOGL and run main class:

$ javac Hatch.java && java Hatch && rm *.class

Example

hatch