Hi Ajax,
 
TextureLoader load = new TextureLoader("c:/model/grass.jpg", null);
Texture text = load.getTexture();
 
 Appearance app = new Appearance();
 app.setTexture(text);
 Shape3D shape = new Shape3D(geometry, app);
 
I did it this way. Hope it helps.
 
-Alex-
----- Original Message -----
From: ajaxinc
Sent: Monday, September 09, 2002 8:32 PM
Subject: [JAVA3D] texture mapping

what is the simplest way to texture map a jpg over a shape3D

Reply via email to