Tom Govaert wrote:
Thank you very much.
So if I understand correctly
JAVA3DCLASSES + DIRECTX DDL's (native code) make it possible to run a
program on the java virtual machine. You need the DIRECTX to get hardware
support for your program ?
What is the difference then of programming directly into DIRECTX ?
If you install de DIRECTX API and SDK and program in visualstudio.net, what
are the differences with programming JAVA3D.
If anyone knows any good websites about this, please mail them to me.
Kindest regards,
Tom Govaert
Any Java program will need Java classes in order to run. And since Java
has no innate ability to render 3D graphics, it's necessary to also have
some native libraries to do the low level work of the 3D rendering.
Java3D comes with both of these, so there's no low level programming you
need to do yourself.
DirectX is not hardware, but rather a set of DLLs that Windows uses to
draw 3D graphics. Other systems such as Linux use OpenGL (Windows has
OpenGL too). All modern versions of windows ship with both.
Java3D has two distributions, the OpenGL and the DirectX versions. The
same Java3D code will run on either distribution, so it's really up to
the user which version to install. The OpenGL version is slightly more
efficient (and stable), so it's the distribution I use.
There is not really a way to program 'directly' in DirectX. If you
program in C++, you will still need to link with the DirectX DLLs to get
any function out of it. Ie, instead of using a Java API to access
DirectX, you will be using a Visual C++/C#/Visual Basic API. The
language you choose to program in is largely independant of the
underlying graphics systems.
If you go to your local bookstore, you should find plenty of Microsoft
oriented books describing how to program in 3D the Microsoft Way(tm).
Or you could do it in Java and do it the Sun Microsystems way. It's
really up to you. I know I prefer Sun's implementation.
Mark McKay
--
http://www.kitfox.com
===========================================================================
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".