}
private Node createObjects() {
Node objects = new Node( "objects" );
Torus torus = new Torus( "Torus", 50, 50, 10, 20 );
torus.setLocalTranslation( new Vector3f( 50, -5, 20 ) );
TextureState ts = display.getRenderer().createTextureState();
Texture t0 = TextureManager.loadTexture(
TestSimpleQuadWater.class.getClassLoader().getResource(
"jmetest/data/images/Monkey.jpg" ),
Texture.MM_LINEAR_LINEAR,
Texture.FM_LINEAR );
Texture t1 = TextureManager.loadTexture(
TestSimpleQuadWater.class.getClassLoader().getResource(
"jmetest/data/texture/north.jpg" ),
Texture.MM_LINEAR_LINEAR,
Texture.FM_LINEAR );
t1.setEnvironmentalMapMode( Texture.EM_SPHERE );
ts.setTexture( t0, 0 );
ts.setTexture( t1, 1 );
ts.setEnabled( true );
torus.setRenderState( ts );
objects.attachChild( torus );
ts = display.getRenderer().createTextureState();
t0 = TextureManager.loadTexture(
TestSimpleQuadWater.class.getClassLoader().getResource(