Figure 2.6 MyJava3D rendering without light intensity calculations
// if we have a normal vector, compute the intensity // under the lighting if ( (geometryArray.getVertexFormat( ) GeometryArray.NORMALS) == GeometryArray.NORMALS ) { double cos_theta; double cos_alpha; double cos_beta; for( int n = 0; n
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services