• Advertisement

Archived

This topic is now archived and is closed to further replies.

[java] Java & OpenGL?

This topic is 6443 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m not sure about this, because I''m creating isometric 2D engine, not a whole game, but should I use OpenGL for Java or Java2D? I don''t have many fancy things to draw, just some textures and building graphics. I don''t know anything about OpenGL except the name so could someone please tell me what I can do with it and is it cross-platform? Also if someone could compare these 2 together I would be very happy or direct to webpage of Java OpenGL. Time comes, time goes and I only am.

Share this post


Link to post
Share on other sites
Advertisement
Java2d is GUI accelerated (2d accelerated) stuff, if accelerated at all.

OpenGL is a Open Graphic Library giving anything required to produce quality 2d and 3d gfx for any platform.
OpenGL as java is platform idenpendant.

Java3d use OpenGL or DirectX. (Obviously choose OpenGL since DX is windows only)

There''s a OpenGL4Java API somewhere too.

OpenGL use 2d/3d hardware if available which will greatly improve the speed of any game/app using it !


I know OpenGL cause using it with C++ (in c/java style)to create a nice little thrilling rpg

http://www.jausoft.com/gl4java/
This is the link to GL4Java, Java3d is available on SUN site.

Forgot to mention that you can use (and must know that 3d cards ar common) 3d accelerators cards to make 2d, simply set orthographic projection and it will display anything in nice fast easy to program 2d

-* Sounds, music and story makes the difference between good and great games *-

Share this post


Link to post
Share on other sites
Have you checked that :
http://www.gamedev.net/reference/design/features/ui1/
?

It''s about GUI

know = now in previous post.

forgot the blazing before 2d in last sentence

-* Sounds, music and story makes the difference between good and great games *-

Share this post


Link to post
Share on other sites

  • Advertisement