Texture on Surfaces

Faces of the cube are separate geometries, each carrying a texture.

View source code:
PaTextureCube.java of applet
PjTextureCube.java of project
images used in applet.

 

A single texture image is mapped onto this geometry.

View source code:
PaTexturedSurface.java
of applet,
PjTexturedSurface.java of project,
PjTexturedSurface_IP.java of info panel
images used in applet.