One year ago I wanted to write a Direct3D-Binding for Java. But I stopped, because I didn't had an idea how to free native resources in a determenistic way (finalizers are undeterministic) when an object isn't referenced anymore. So if you have an idea, tell me please ...

By the way: It would be great, if Sony uses Java as a reactiion to Microsoft's XNA stuff on their PS3. Maybe that will be possible, when Java is completely open-source ...

Today i've checked out some samples of the DirectX SDK and wondered, why there isn't something like a Sample browser for Java gaming libraries.I think, that this would really make the thing user-friendlier and more attractive for beginning java game developers.So why not program a swing-based Sample browser for libraries like JOGL, JOAL, JInput, LWJGL, ...?Also things like tutorials could be included in it.

For those of you, who don't know what I mean:

Tell me what you think about this idea!I'm looking forward to read your comments!

so you want the users of your engine to code two rendering paths, DX for windows, OpenGL for linux and mac? Even then, for any good engine, your going to have to deal with shaders anytime soon. With OpenGL you got GLSL, and you have to code the same effect in HLSL?...

I think thats asking alot from any viable engine...

DP

For API-independent shaders there is NVidia's CG.For my engine i will use JOGL, LWJGL's OpenGL and JDirect3D as selectable plugins and my shaders will be written in CG.For Direct3D of course, you will be able to write specific HLSL shaders.

Even if .NET is called platform independent, there are certain parts in the class library, that are designed platform dependent - for example the System.PlatformID enumeration: Win32NT, Win32S, Win32Windows and WinCE are the only possibilities - and all of them are Microsoft OSs. Of course there are workarounds for this kind of problems. But i like the fact, to write a program and run it anywhere without problems (which you have with mono currently).

i'm currently working on a Direct3D-Wrapper (not the whole DirectX, that would be senseless, because DX is platformspecific and i just want to provide a renderer alternative).I've already implemented the basic stuff (like vectors, matrices, quaternions, planes ...) and now i'm looking for people, that are interested in helping me to write this wrapper.

As I already said: I don't want to make a platform independent library like JOGL, but just a alternative for windows user.

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