Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How does open-gl compare to d3d?  (Read 1685 times)
0 Members and 1 Guest are viewing this topic.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Posted 2003-01-25 09:42:53 »

Are they really comparable or has one more/better features than the other?
I don't know much about open-gl yet, but I have the feeling that if you want to use some advanced things, you're going into a dark area of non standard, video card specific extensions.
I know ogl is implemented on more different kinds of hw (unix, linux, gamecube, wintel) but otoh d3d is probably used far, far more often for gaming (and that's what were here for aren't we?  Wink).
Maybe a good, up to date dx binding for java would not be such a bad idea? It would also make java viable for the x-box maybe.
I saw a dx binding for java once, but I believe it's for dx 5 and so very outdated.

Erik

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2003-01-25 10:06:42 »

Well - at the end of the day, you select OGL for compatibility, and DX for features.

Doing a Java wrapper for DX9 would be a huge work I reckon, and the jar would weigh in at 500-750 kb at least - there are *so* many classes/structs in that api, that needs to be modelled. It isn't an impossible task, but it sure is a much tougher job than doing an OGL wrapper.

I just want OGL 2.0 out (and devices that use it) so that we can get more features, and get lwjgl updated for 2.0.

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #2 - Posted 2003-01-25 11:13:34 »

http://www.gamedev.net/reference/articles/article1775.asp

The article. Note that it assumes you'll be programming in C/C++, so bear that in mind..

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline emonk

Junior Newbie




Java games rock!


« Reply #3 - Posted 2003-01-28 00:11:20 »

many lives have been destroyed by this very question.

if you're going to tie yourself so closely to ms and use directx you may as well just use .net and J#, you can access it all directly.

Offline alexz

Senior Newbie




Java games rock!


« Reply #4 - Posted 2003-01-28 06:06:20 »

BTW a friend of mine has very good result with C# and DirectX. He has been developing new generation of his C++ engine in C#. He got more productive coding (thanks C#, which is nearly the same as Java in this field) without any performance drawback (just small increase in memory usage). But it's Windows-only unfortunately. I think that if you're going with Windows-only solution that tools from MS are the best, otherwise... OpenGL, OpenAL, etc. rule!  Wink
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #5 - Posted 2003-01-28 07:28:04 »

Quote
if you're going to tie yourself so closely to ms and use directx you may as well just use .net and J#, you can access it all directly.


It's just that I'm fond of java and am annoyed by M$' attitude against anything not M$. Otherwise I probably would.
OTOH, you won't ever see Sun developing .net implementations for solaris and linux ...

Quote
He got more productive coding (thanks C#, which is nearly the same as Java in this field) without any performance drawback (just small increase in memory usage).


Disturbing how C#/.net seems to surpass java so quickly in those area's don't you think?
They lack portability but seem to have everything else or am I wrong?
Ok, they don't have applets and web start but that's probably just a matter of time before they steal that too.
Well, I'm getting off-topic here  Tongue

Offline Breakfast

Senior Member




for great justice!


« Reply #6 - Posted 2003-01-28 12:48:07 »

Staying OT for a moment, not eternally likely to lack portability: http://www.msnbc.com/news/864039.asp
Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #7 - Posted 2003-01-28 16:28:47 »

Quote

Disturbing how C#/.net seems to surpass java so quickly in those area's don't you think?


Not really - its to be expected. C# and DirectX are close Microsoft controlled standards and part of their overall strategy. Java and OpenGL lack that focus as they are not driven by any one single factor.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (63 views)
2014-09-21 02:42:18

BurntPizza (33 views)
2014-09-21 01:30:30

moogie (41 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!