www.randelshofer.ch

RubikPlayer

 

© Werner Randelshofer

Readme  Changes  License

 

Examples   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  <<  >>

Example 11

 

ambientLightIntensity=0.6
lightSourceIntensity=1.0

Default values: Ambient light and light source.

ambientLightIntensity=0
lightSourceIntensity=1.0

Light source only.

ambientLightIntensity=1.0
lightSourceIntensity=0

Ambient light only.

 

 

Demonstrates the ambientLightIntensity and lightSourceIntensity parameters.

Applet Tag:

<applet
    code="ch.randelshofer.rubik.RubikPlayerApp.class"     archive="rubikplayer.zip"
    
width="264" height="245">

<param name="ambientLightIntensity" value="0.6">
<param name="lightSourceIntensity" value="1.0">

</applet>