   Java for graphics?
  I'm thinking about using Java for programming web applets.  How is java for graphics?  Can you do 3D in Java?  Can you use something like DirectX or OpenGL?  And my biggest question, can you do shaders?   
  I beleive Java3D is what your after.   I last used it years ago, whether is it is still actively supported/developed I don't know.  I assume you could call native C++ openGL or D3D code from a Java application, but not from a applet.;Quote:I'm thinking about using Java for programming web applets. How is java for graphics?Just fine.  You ask specifically about shader support.  When it comes down to an application that uses programmable hardware shaders, you are most certainly limited by your graphics hardware capability.  Java is not a limiting factor in this case.Quote:Can you do 3D in Java? Can you use something like DirectX or OpenGL? And my biggest question, can you do shaders?Yes, yes but no DirectX, and yes.  Check out LWJGL or JOGL.  I prefer LWJGL as the more mature OpenGL api, but JOGL is quickly gaining ground.  Add to that, in Java 6 JOGL will be core API, and is maintained actively by Sun, and it is a very attractive offering.  Both APIs have full (AFAIK) OpenGL 2.0 support including FBOs, Vertex/Pixel Shaders, etc.Quote:I beleive Java3D is what your after. I last used it years ago, whether is it is still actively supported/developed I don't know. Last I knew Java3D was dead and a complete abomination.  Upon further investigation, it seems it is now a community-led project.  Doesn't seem to be a viable choice.Quote:I assume you could call native C++ openGL or D3D code from a Java application, but not from a applet.This is how LWJGL and JOGL both operate.  However, both APIs can be used from an applet.  JOGL has mature applet support, LWJGL added support in the last version.  Both have signed binaries, security is not an issue.  For future questions I'd head on to the Java Development forum here on gamedev, lest someone will come in here and say you absolutely must use C for any project with three dimensions in it.;  jogl looks like exactly what I'm interested in.  Thanks for the swiftness of reply   