Thanks, I'll try this. The card is a standard GeForce 3, which I think should be pretty good for multi-texturing, but no harm in trying it.
-----Original Message----- From: Stoney Jackson [mailto:[EMAIL PROTECTED]] Sent: 10 October 2002 17:10 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Running greyscale textures into colour/alpha channels 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". ==========================================================================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".