LWJGL
May 23, 2013, 17:55:48 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Update  (Read 11387 times)
CaptainJester
Talks Too Much
***
Posts: 175



« on: July 14, 2007, 06:36:11 »

Just wanted to let everyone know that I am making progress.  I have successfully created an IDirect3D9 interface object and called a method on that interface.

I don't know how often these updates will happen, but I will try and keep everyone informed.
Logged

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
Cool
princec
Nerdus Imperius
*****
Posts: 1870



WWW
« Reply #1 on: July 14, 2007, 08:16:46 »

Brilliant stuff Smiley

I might even get to learn D3D finally.

Cas Smiley
Logged

gaarazero
Newbie
*
Posts: 32


« Reply #2 on: July 18, 2007, 16:25:37 »

Awesome stuff!  D3D for Java seams kinda weird since D3D is micros~1 specific and Java is supposed to be platform independent.  Anyway, I have experience with D3D, JNI, and some time on my hands, so if you need any help developing, I would gladly help in anyway possible.  Thanks and good luck!
Logged

JNewton 0.8 - Newton Dynamics wrapper for Java!
org.lwjgl.d3d - Currently Working On
CaptainJester
Talks Too Much
***
Posts: 175



« Reply #3 on: July 19, 2007, 04:55:41 »

Thanks.  I am getting close to being ready to check everything into SVN.  Once it is there, help would be appreciated.
Logged

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
Cool
CaptainJester
Talks Too Much
***
Posts: 175



« Reply #4 on: July 25, 2007, 07:27:56 »

Running into a few problems with the way the Display is set up.  It is all so tightly integrated with OpenGL, I may have to write it from scratch.  There is a lot of code I can use, but there is an equal amount that is OpenGL specific.
Logged

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
Cool
Matthias
Talks Too Much
***
Posts: 180


WWW
« Reply #5 on: July 25, 2007, 07:46:40 »

I don't think that D3D should be part of lwjgl - especially not part of the existing classes.

Creating another lib with a similar API (for Mouse and Keyboard) might be an option.
Logged

Uli
Newbie
*
Posts: 32


« Reply #6 on: July 25, 2007, 13:03:00 »

I'm just curious... if you want to use direct3d, why dont't you just use c# for it? C# looks nearly the same like Java, so it should be easy for any Java programmer to write c# code. And using directx you can only run on windows anyway.  Huh
Logged
princec
Nerdus Imperius
*****
Posts: 1870



WWW
« Reply #7 on: July 25, 2007, 14:06:35 »

Because, that's why! May as well ask a C# programmer why he doesn't use Java if he wants to use OpenGL bindings with C#.

The LWJGL is composed of four six parts - System handling, Display handling, Input handling, Sound handling, Image handling, Graphics handling. The D3D part is simply going to be in place of the OpenGL part in the Graphics handling. The rest of the API will not be affected. It makes sense to simply keep as much of it as possible.

CJ - you might have to be quite cunning to get both GL and D3D working with the native Display classes. Stick with it, the results will be cool and of major newsworthiness.


Cas Smiley
Logged

Nero
Newbie
*
Posts: 2


« Reply #8 on: July 25, 2007, 14:16:35 »

I'm just curious... if you want to use direct3d, why dont't you just use c# for it? C# looks nearly the same like Java, so it should be easy for any Java programmer to write c# code. And using directx you can only run on windows anyway.  Huh

IMHO

You would need to re-do an entire game just to use C# and i doubt you wonīt face any setbacks. If you want to make it cross-platform you will need to reinventing the wheel serval times and C# with Mono isnīt a good idea as they will always be a step back of Microsoft .NET.

Direct3D bindind is to make the user experience most painless possible. Average Joe with default Microsoft drivers only supports emulated OpenGL which is dog slow. If your game is slow, no matter if is the user fault, the first thing he/she will do is to blame your software.  Smiley

Of course FPS game community and other hardcore games most people knows how to upgrade their drivers but casual games is a bit complicated. The user will probably give up to test your game than follow any instructions that you ask to do.

Logged
CaptainJester
Talks Too Much
***
Posts: 175



« Reply #9 on: July 25, 2007, 14:23:43 »

I'm just curious... if you want to use direct3d, why dont't you just use c# for it? C# looks nearly the same like Java, so it should be easy for any Java programmer to write c# code. And using directx you can only run on windows anyway.  Huh

I dare you to find FREE dev tools as good as what we have for Java.  I cannot afford to buy Visual Studio.  I can do anything I want with Java because there are so many more well established free tools.  I know there are some for C/C++ and C#, but they just do not compare.

Part this is also to attract people to Java.  I have seen the comment a lot that people won't switch to try Java because there is no Direct3D binding.
Logged

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
Cool
CaptainJester
Talks Too Much
***
Posts: 175



« Reply #10 on: July 25, 2007, 14:25:06 »

CJ - you might have to be quite cunning to get both GL and D3D working with the native Display classes. Stick with it, the results will be cool and of major newsworthiness.

I will keep trying.  I really don't want to rewrite it, because there is already so much time and bug fixing already in place.
Logged

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
Cool
gaarazero
Newbie
*
Posts: 32


« Reply #11 on: July 25, 2007, 22:20:49 »

Micros~1 released a "lite" version of Visual Studio, Express Edition, for C++/.NET/etc.  Visual Studio sucks compared to Eclipse, but the lite version is free.  If you use C# it will still only run on Windows, so there's really no difference between Java + DirectX or C# + DirectX, except for the awesomeness of Java and the crappyness of C# Tongue.

-gz
Logged

JNewton 0.8 - Newton Dynamics wrapper for Java!
org.lwjgl.d3d - Currently Working On
Uli
Newbie
*
Posts: 32


« Reply #12 on: July 26, 2007, 06:28:10 »

I've got both Visual Studio Express and Eclipse installed, and I think you're right. Compared to Eclipse, Visual Studio sucks. On the other hand, maybe it's just because I use RAD, which is based on Eclipse, every day for my job, and I'm just used to it. C# itself isn't crappy, it's nearly the same as Java. I feel more comfortable with DirectX than with OpenGL, maybe because it's more object oriented.
So if I could use Eclipse for developing c# and DirectX, everything would be fine  Smiley
Logged
CaptainJester
Talks Too Much
***
Posts: 175



« Reply #13 on: July 26, 2007, 07:31:32 »

Micros~1 released a "lite" version of Visual Studio, Express Edition, for C++/.NET/etc.

True, but it has the restriction that you cannot redistribute what you make in any form.
Logged

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
Cool
Orangy Tang
Talks Too Much
***
Posts: 199



« Reply #14 on: July 26, 2007, 07:36:21 »

Micros~1 released a "lite" version of Visual Studio, Express Edition, for C++/.NET/etc.

True, but it has the restriction that you cannot redistribute what you make in any form.
No, they dropped that restriction a little while ago. The express edition is pretty much fully featured now.

Of courses it's still playing catch up to Eclipse in terms of features.  Grin
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!