Discussion:
java 3d speed question
(too old to reply)
Rick D.
2004-07-30 18:22:32 UTC
Permalink
Hi,

I want to create a 3d 1st person shooter and am thinking about doing
it in java because it is cross platform and supports opengl. My
question is: can it be done speedwise and 3d-wise. In other words is
java currently fast enough to create a 25+ fps 3d 1st person shooter
with BOTS+AI, and how good/fast are the java 3d libs.

Thanks in advance for any replies.
André Michelle
2004-07-30 20:15:59 UTC
Permalink
Post by Rick D.
I want to create a 3d 1st person shooter and am thinking about doing
it in java because it is cross platform and supports opengl. My
question is: can it be done speedwise and 3d-wise. In other words is
java currently fast enough to create a 25+ fps 3d 1st person shooter
with BOTS+AI, and how good/fast are the java 3d libs.
I've done a raycast engine in www.processing.org which based on java:
http://www.andre-michelle.com/processing/raycaster

On most systems it runs very fast (> 50fps) - nonoptimized.
So it has demo status, but I think it have the power to complete a
raycasting with different heights, different tileaspect etc.

I don't know anything about java3d, cause I'm a frustrated flash coder, who
is just looking for more performance:o)
Processing is a step for me to join java.


--
aM
http://www.andre-michelle.com
André Michelle
2004-07-30 20:16:58 UTC
Permalink
Post by André Michelle
http://www.andre-michelle.com/processing/raycaster
wrong link.
take: http://www.andre-michelle.com/processing/raycasting/

--
aM
Rick D.
2004-07-31 10:49:17 UTC
Permalink
On Fri, 30 Jul 2004 22:15:59 +0200, "André Michelle"
Post by André Michelle
Post by Rick D.
I want to create a 3d 1st person shooter and am thinking about doing
it in java because it is cross platform and supports opengl. My
question is: can it be done speedwise and 3d-wise. In other words is
java currently fast enough to create a 25+ fps 3d 1st person shooter
with BOTS+AI, and how good/fast are the java 3d libs.
http://www.andre-michelle.com/processing/raycaster
On most systems it runs very fast (> 50fps) - nonoptimized.
So it has demo status, but I think it have the power to complete a
raycasting with different heights, different tileaspect etc.
I don't know anything about java3d, cause I'm a frustrated flash coder, who
is just looking for more performance:o)
Processing is a step for me to join java.
Wow, looks like java has come a long way compared to the 2d tile based
stuff i did +/- six years ago. This kind of things could only be done
in C or delphi/pascal back then. I think it's time to start designing
my game ! :)

BTW: If you are looking for more performance you might want to check
out c++ (or delphi) and directx/opengl. I've done some things with it
and i think that from a performance point of view it is almost the
best you can get on a pc. And compared to java it is not much harder
to learn.
André Michelle
2004-07-31 13:51:22 UTC
Permalink
Post by Rick D.
BTW: If you are looking for more performance you might want to check
out c++ (or delphi) and directx/opengl. I've done some things with it
and i think that from a performance point of view it is almost the
best you can get on a pc. And compared to java it is not much harder
to learn.
But I need audience from the net browsers.
I think Java is installed on 80% webbrowsers. Thats ok to leave flash for a
fast game.

--
aM
Nebu Pookins
2004-12-09 19:49:12 UTC
Permalink
Post by Rick D.
Hi,
I want to create a 3d 1st person shooter and am thinking about doing
it in java because it is cross platform and supports opengl. My
question is: can it be done speedwise and 3d-wise. In other words is
java currently fast enough to create a 25+ fps 3d 1st person shooter
with BOTS+AI, and how good/fast are the java 3d libs.
Thanks in advance for any replies.
Someone ported the Quake 2 engine to Java and then did some benchmarks.
The original C code got 245 frames per second on the test machine. The
Java code got 241 frames per second on the same test machine.

Screenshots at http://www.bytonic.de/html/screenshots.html

- Nebu

Loading...