Johannes Neubauer wrote:
Hello, Everybody!



I try to make a 3D-Game with Java3D. Some people say Java’s too slow for
a good 3dGame.

Hi, my advice is not to trust too much these rumors. Newest JVMs are very fast. Benchmarks are not "the truth", but I think are much better than rumors

http://www.javalobby.org/members/jpr/

The 3D-Graphics are computed by the low-level-APIs like
DirectX and OpenGL, so Java hasn’t much to do with it. But the computing
of Behaviours for example is done by the JVM. And the Java-Byte-Code has
to be compiled into native code, so the loading is very slow.

I do not think it's much, compared to model, sounds and textures loading. Bytecode is a very low level code so transalte it to native code is simple, and it is done just once. There is no particular reason for it to be slow. Here, and later, the jvm can also do many optimizations based on runtime informations.

I think that where your app will spend 80/90% of its time will not be in
the native code generation/optimization.

One way
making this faster would be to compile the Java-Byte-Code to native Code
for Windows32, e.g for XP (This is the platform where my game should be
played on).

All native code generator I've read about are not much faster than recent jvm (1.4). Some are also slower.

But every native code compiler I found didn’t work with
Java3D. I need a compiler that dynamically loads all classes imported by
my Application and compile it into native code. All this should run
without a JRE or so and should be easily started by an .exe file!



Does anyone know how I can solve my Problem?

I think it's a false problem. Do some tests yourself: I think you will not find this (in)famous slowness.


Bye


Lorenzo

===========================================================================
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