Let's make sure your card can do 4 texture units (mine can't ); )
Query the Canvas3D for textureEnvCombineAvailable textureUnitStateMax; we want the 
former to be true and the latter to be 4 or greater. Here's some code I use to query 
the Canvas3D.

import java.applet.Applet;
import java.awt.GraphicsConfiguration;
import java.util.Map;
import java.util.Set;
import javax.media.j3d.BranchGroup;
import javax.media.j3d.Canvas3D;
import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.universe.SimpleUniverse;

public class GraphicsTest extends Applet {
  public GraphicsTest() {}
  public void init()
  {
    GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
    Canvas3D c = new Canvas3D(config);
    System.out.println(c.queryProperties());
    System.exit(0);
  }
  public void destroy() {}
  public static void main(String[] args) {
    new MainFrame(new GraphicsTest(), 1280, 1024);
  }
  BranchGroup createSceneGraph() { return null; }
}

-Stoney

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to