Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
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  
  Rendering mode - what do I have to know?  (Read 1164 times)
0 Members and 1 Guest are viewing this topic.
Offline adamp

Senior Newbie




-x-x-x-


« Posted 2002-12-30 22:26:18 »

Hi!

I've already read a few tutorials on Java3d and I want to write my own little engine soon.
There are 3 rendering modes in Java3d:

immediate mode, retained mode & compiled-retained mode.

I want to write a little terrain engine, load some (animated) models and maybe add a tiny physics engine.
It's just a project in my free-time now, but it should be possible to make sth. bigger out of it in the future.
What do I have to think about when I want to write my engine and have to choose one of these modes?
On the one hand I don't want to use (compiled-)retained mode to find out that something gets too complicated to realize because of some restrictions.
On the other hand I don't want to use immediate mode and code everything on my own, when j3d could take much work off of me...

Maybe you have some experiences you could share with me?

Thanks in advance, Adam.
Offline elias

Senior Member





« Reply #1 - Posted 2002-12-31 13:52:56 »


The old problem of choosing the right tool... I used java3d for a while, but switched to a gl binding (gl4java and later lwjgl) after a few months of development. Here are my (probably biased) thoughts:

1. Java3D is and will always be far behind current 3d hw technology compared to a thin binding. Almost per definition, as Sun has to do much more work to integrate a new feature in java3d. But also because Sun seemingly isn't working very hard to support java games programming directly.

2. Java3D is very high level compared to e.g. OpenGL so you will get a lot of free benefits by using it. However, if you just want to apply some common 3d algorithm you found on the net, like a terrain renderer, you will spend a lot of time converting the OpenGL based ideas to java3d. Java3d contains very little documentation, at least compared to OpenGL.

3. The last time I played with java3d (1.2.1 and version 1.3 beta), the immediate mode _sucked_. Don't ever consider using it. It's buggy, even less documented and overall seems more like an add-on to please OpenGL/DirectX developers. And it's not even that immediate as the name states. So if you are worried about flexibillity and performance, consider using an OGL binding instead.

4. You mentioned that you are going to work on the project as a hobby, in which case java3d might be more appropriate, given the amount of work you have to do in OpenGL to get anything 'running'.

- elias

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.

pw (24 views)
2014-07-24 01:59:36

Riven (24 views)
2014-07-23 21:16:32

Riven (18 views)
2014-07-23 21:07:15

Riven (21 views)
2014-07-23 20:56:16

ctomni231 (50 views)
2014-07-18 06:55:21

Zero Volt (45 views)
2014-07-17 23:47:54

danieldean (36 views)
2014-07-17 23:41:23

MustardPeter (39 views)
2014-07-16 23:30:00

Cero (56 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!