Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
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  
  Sun's stance towards immediate mode?  (Read 2664 times)
0 Members and 1 Guest are viewing this topic.
Offline Captain-Goatse

Junior Devvie




I suck at teh 2D. XBOX IS BIG LOL!111


« Posted 2003-01-01 12:22:04 »

Is the Java3D immediate mode going to be supported in future, or would the programmer be better off with openGL as for immediate mode purposes?

Currently, the immediate mode seems to be very "limited" and doesn't have any documentation at all...

So is it going to exist in future?
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #1 - Posted 2003-01-01 14:24:02 »

The scenegraph is the strongest feature with Java3D. If you need low-level stuff, you'd for sure better be off with LWJGL (if you can live with it's restrictions) or gl4java (if you can live with it's restrictions).

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline Captain-Goatse

Junior Devvie




I suck at teh 2D. XBOX IS BIG LOL!111


« Reply #2 - Posted 2003-01-01 16:24:05 »

Yeah, I kind of scrapped the immediate mode idea. At first things were great, but it kind of crapped out. I have to admit, the retained mode on J3d is a lot better.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #3 - Posted 2003-01-01 17:55:12 »

YES  Grin

Java3D rulez!

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #4 - Posted 2003-01-01 21:53:55 »

Quote
you'd for sure better be off with LWJGL (if you can live with it's restrictions)

Uhm - what limitations are we talking about, compared to j3d?

Offline gregorypierce

Senior Devvie




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


« Reply #5 - Posted 2003-01-02 02:36:33 »

The one limitation that we have (which we could actually solve if we really wanted to) is that LWJGL cannot be used to rendering into an arbitrary component... not that Java3D is all that adept at doing it... its just easier to build a Swing based GUI around Java3D.

For us to support that (if it is deemed important... and it kinda is), all we need to do is provide a method whereby a component can pass its window handle into LWJGL. Not totally trivial given our plans, but not more than a weekends worth of work either.

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!
Offline Captain-Goatse

Junior Devvie




I suck at teh 2D. XBOX IS BIG LOL!111


« Reply #6 - Posted 2003-01-02 05:24:52 »

What the hell... I think I'm installing GL4Java since I have never tried it. I have some experience with openGL on C++, but I doubt its much different. I can figure out where loops are replaced with threads and so on. If it sucks, then I'll get back to J3D.
Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #7 - Posted 2003-01-02 08:04:21 »

Quote

Uhm - what limitations are we talking about, compared to j3d?


Yes, what gregorypierce says. E.g. having only a single window is a serious limitation. Some people can live with that, others not.
Only wanted to compare lwjgl with gl4java, where the limitations are missing sound, input ... compared to lwjgl.

Both don't compare with Java3D in any way, which is lightyears ahead featurewise. That would be like comparing an IDE disc driver with Oracle.

Choosing the right thing now depends on wether you need to write a bunch of bytes fast to disc or wether you have to manage complex, gigantic structures. Unfortunately, games are somewhere between, so the right tool might be missing for a wide class of games.

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Online princec

« JGO Spiffy Duke »


Medals: 422
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #8 - Posted 2003-01-02 08:38:07 »

Someone's got to come up with a lightweight scene graph for LWJGL some time...

Cas Smiley

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #9 - Posted 2003-01-02 11:18:58 »

Quote
Someone's got to come up with a lightweight scene graph for LWJGL some time...


I am a bit confused - was that a *hint* or a *hint* *nudge*
Grin

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Grom

Junior Devvie




Rats...


« Reply #10 - Posted 2003-01-02 12:51:49 »

Here's an idea:

1. modify the Java md3view program to use lwjgl. From this we
obtain an md3 loader package. Maintaining it will be made
relatively easy because of the md3view application (easy to
shake out the md3 loader features).

2. finish porting (to lwjgl) the NeHe examples and other OpenGL/SDL
examples for MD3 Animation, Quake III BSP level rendering,
frustrum culling, etc...

Sitting on the shoulders of QuakeIII models and levels allows Java
developers to fully participate in the enormous (and talented)
base of artists - and to some degree developers. Java game
developers would have access to a grand tool base for creating
and animating worlds and models.

What I think needs to be strongly stated is that I believe the lwjgl
is stable and ready to handle this. As proof, the lwjgl already
runs about 15 of the NeHe/OpenGL tutorial lessons perfectly.
The framework and sample code is there for anyone to simply
port the remaining (small) MD3 Animation and BSP tutorials
to Java/LWJGL.

Here is the first page.
http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg1.htm

Notice most of these are already ported to LWGJL!
Page 5 has the MD3/BSP code.

Just do it!



Offline Herkules

Senior Devvie




Friendly fire isn't friendly!


« Reply #11 - Posted 2003-01-02 20:21:56 »

Where should that lead to? All these things are just right in place, just not in Java. Where's the benefit of doing it again?


HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline Grom

Junior Devvie




Rats...


« Reply #12 - Posted 2003-01-02 21:20:19 »

They may be just in the right place for you, but not for me. I'm interested in writing games in Java not C++. Or, did I miss your point? This is a Java Gaming forum... :-)
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #13 - Posted 2003-01-02 21:51:46 »

I think Herkules point (and a correct one!) is that one should choose the tool for the right job.

However - this site isn't about the right tool for the job, but how to use Java to create a game. Wheter or not it would be better to do the job in C++ (or other languages) is besides the point. If Java _can_ be used, it will be used.

Although Quake has been done in C, I don't see any wrongdoings in trying to make a Java version using lwjgl.
If it was always the right tool for the job, many languages would never have been developed - nor would we have as much fun Smiley) - and we would all be developing using Visual Basic (!) for all our small programs.

Offline Abuse

JGO Knight


Medals: 14


falling into the abyss of reality


« Reply #14 - Posted 2003-01-02 22:31:32 »

Has the Quake source been made available yet?

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #15 - Posted 2003-01-02 23:02:00 »

Quote
Has the Quake source been made available yet?


Quake:
http://download.com.com/3000-2222-3152791.html?tag=list

Quake 2:
http://ftp://ftp.idsoftware.com/idstuff/source/quake2.zip

Grin

Offline gregorypierce

Senior Devvie




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


« Reply #16 - Posted 2003-01-02 23:56:50 »

Quote

and we would all be developing using Visual Basic (!) for all our small programs.


Dude, don't even say that jokingly  Tongue

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!
Offline Abuse

JGO Knight


Medals: 14


falling into the abyss of reality


« Reply #17 - Posted 2003-01-03 00:41:29 »

Quote


I ofcourse meant the Q3 source, honest  Grin
/me is trying not to look too stupid Roll Eyes

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
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.

SHC (24 views)
2014-11-25 12:00:59

SHC (22 views)
2014-11-25 11:53:45

Norakomi (19 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (41 views)
2014-11-12 21:09:33

kovacsa (67 views)
2014-11-07 19:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!