Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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  
  [Odejava] Java3D binding!  (Read 15388 times)
0 Members and 1 Guest are viewing this topic.
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Posted 2004-09-06 10:56:23 »

Hello,

Paul Byrne emailed me a BSD licensed Java3D binding for Odejava and I have uploaded this to odejava.dev.java.net.

Check it out here:  https://odejava.dev.java.net/servlets/ProjectDocumentList?folderID=1837

He notes:
Quote

The physics seems to work OK but the visuals don't match
the Xith3D example, the Appearances need to be tweaked and I've run out
of time to mess with it.


If needed we can move the files into version control.

Thanks Paul!

Cheers,

Will.

Offline pepe

Junior Member




Nothing unreal exists


« Reply #1 - Posted 2004-09-07 09:28:52 »

that's fabulous !!
Great news. Can't wait to try it. unfortunatly, it will not be soon, but i'm already happy to be able to when my project enters the physics simulation stage.
YUM !!!

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline Jani Laakso

Junior Member




Do it with Java!


« Reply #2 - Posted 2004-09-11 04:34:24 »

Quote

If needed we can move the files into version control.

Thanks Paul!


I suggest adding these to the CVS and giving Paul developer access so he can commit future changes, if Paul (or anyone else) feels up to keeping it up to date with Odejava.

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

Innocent Bystander





« Reply #3 - Posted 2005-09-22 15:39:10 »

Great !
.... mmm wait a minute. Isnt Xith3d supposed to be faster than java3D ?
so where's the point ?

panzo
Offline Jeff

JGO Coder




Got any cats?


« Reply #4 - Posted 2005-09-23 03:54:26 »

Great !
.... mmm wait a minute. Isnt Xith3d supposed to be faster than java3D ?
so where's the point ?

panzo

The point is thats a throroughly unproven assertion.  We've been around that block a half dozen tiems and noone so far can show me a benchmark that at all approximates what a game is likely to do to back the assertion up.

It MAY have been specifically faster for Magicsom because it was originally written for Magicosm and coudl take advantage of game-specific knowledge, but I knwo fo no general case that proves the assertion "Java3D is slower" in the general case.

The point is also that Java3D is starting to see an eco-system of commercial components aroudn it (genesisFX, Shawn's as of yet unnamed pure Java physcis engine.)

Did you want another point?

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #5 - Posted 2005-09-25 05:01:34 »

Java Cool Dude did do some one on one comparisons with his demos way back and found Xith3D to be quite a lot faster.  These may not be full games, but they are far from being (inaccurate) micro-benchmarks either.  I'm not sure if the renderer was tailored much to magicosm, though no doubt David implemented first the features he needed (as I am doing now).

dpanzo, the point is however that there are still people using Java3D for games and for other applications who may need Odejava, Paul was probably one of these people.

Will.

Offline Niwak

Senior Member


Medals: 1
Projects: 1



« Reply #6 - Posted 2005-09-28 12:06:10 »

I will jut add to this that I started my project (a board game framework with 3D display) with Java3D and ported it to Xith3D later on. Xith3D proved to be around twice as fast as Java3D.

All the other posts I've seen around shown that Java3D was rather slow.
So despite what Jeff is allways saying, Java3D is slower than its competitors.
This is not a big deal since Java3D offers features that none of its competitors provide.

I don't want to flame any of the different 3D engine available around.
I just think that the features and needs they fullfill should be clear.

                  Vincent
Offline Jeff

JGO Coder




Got any cats?


« Reply #7 - Posted 2005-12-02 22:55:52 »

Java Cool Dude did do some one on one comparisons with his demos way back and found Xith3D to be quite a lot faster.

What kind of demos are these. do they do ANY offscreen geometry? Do they contain a complex array of graphics states?

If not then I am sorry they ARE worthless microbenchmarks. At least as applied to any 3D environmental game. (Thy *might* have limtied applciation to doing 2D games in 3D but why yould use a scenegraph for that at all is abit beyond me.)

Same questions apply to your board game.  I am perfectly willing to grant you that for very simple things a very simple API without some of J3Ds over-head might perform better.  Thats not a general proof that "Java3D is slower" however, merely a proof that simple apps are better supported by a scene graph that does not have all the over-head needed to make complex things fast.

(The vast majority of modern games, it should be noted,  fall into the "compelx" category.)

The reason I am so strong on this point is that every time I've actually looked at someones "proof" of this contention that Java3D is in general slower then some other scene graph, its always fallen apart on analysis.  And I've looked at quite a few.

Do you have a pointer to them so I can see them run?


Edit:  Also, have these benchmarks and test been run on a multi-cpu box?  All the next gen consoles are multiple core.  Thats available now on the desktop and I would expect we'll start seeing it stadnard in high end game rigs fairly soon.  Another place you pay a small amount in J3D over-head is in support of the fact that is extremely parallizable and automatically handles multiple-cpus for you...


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Jeff

JGO Coder




Got any cats?


« Reply #8 - Posted 2005-12-02 23:10:07 »


All the other posts I've seen around shown that Java3D was rather slow.

As a side note then you must've missed mine.

Im getting better framerate out of JNWN then NWN does  on the same paltform.

The problem with "conventional wisdom" is its usually incomplete and often totally wrong.
Remember that "java code has to be slow" was conventional wisdom for a long time, and you'ld be surprised how many out there still buy the "Java is slow" belief.



Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #9 - Posted 2005-12-14 04:00:42 »

Some support for Jeff's argument:  http://www.java-gaming.org/forums/index.php?topic=11748.msg93616#msg93616

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

JGO Coder


Projects: 2


Fire at will


« Reply #10 - Posted 2005-12-24 01:24:38 »

Jeff, I am not really interested in participating further in benchmarking arguments.  Everyone either says that their fav API is the best when the benchmark supports it, or that "benchmarks are unreliable anyway" when it doesn't.  Most people forget in the process that there is more to an API than the framerate anyway.

Xith3D suites my needs so that's what I use.

Regards,

Will.

Offline m_ali_alex

Senior Newbie





« Reply #11 - Posted 2005-12-25 05:51:48 »

can any one tell me how to configure odejava-java3d
i am having hard time here on the first steps
thanks a lot


Hello,

Paul Byrne emailed me a BSD licensed Java3D binding for Odejava and I have uploaded this to odejava.dev.java.net.

Check it out here:  https://odejava.dev.java.net/servlets/ProjectDocumentList?folderID=1837

He notes:
Quote
The physics seems to work OK but the visuals don't match
the Xith3D example, the Appearances need to be tweaked and I've run out
of time to mess with it.

If needed we can move the files into version control.

Thanks Paul!

Cheers,

Will.
Offline m_ali_alex

Senior Newbie





« Reply #12 - Posted 2005-12-25 05:55:34 »

hi all any one here can tell me how to get every thing installed
so i can compile any odejava-java3d file
thanks a lot
please email me if u can help
m_ali_alex@yahoo.com
Offline otelo

Junior Member





« Reply #13 - Posted 2006-02-06 23:01:55 »

hi all any one here can tell me how to get every thing installed
so i can compile any odejava-java3d file
thanks a lot
please email me if u can help
m_ali_alex@yahoo.com

don't bother with odejava-java3d, all you need to do is write your own code that reads a Vector3f and a Quat4f from each body in your odejava simulation and writes them to a corresponding transformgroup in Java3D (or another API according to your preference) with each step of your simulation.

take a look at these classes from Odejava, it will help you:
1  
2  
org.odejava.display.BoundDisplayObject;
org.odejava.display.DisplayBin;


Java3D/Xith3D are just bindings, a bunch of utility classes that you really won't need as I found out after playing a little with Odejava, they unnecessarily scare newbies shitless.

^^ I meant Odejava-java3d/Odejava-xith3D bindings of course. I hope I didn't confuse anybody, it was late and I felt very revolutionary.
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #14 - Posted 2006-02-07 16:55:34 »

Java3D/Xith3D are just bindings, a bunch of utility classes that you really won't need as I found out after playing a little with Odejava, they unnecessarily scare newbies shitless.

I agree entirely !

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline irrisor

Junior Member





« Reply #15 - Posted 2007-05-16 09:57:10 »

can someone remove the sticky flag - it's quite outdated...
Offline xinaesthetic

Senior Member


Medals: 1



« Reply #16 - Posted 2009-04-04 09:28:19 »

can someone remove the sticky flag - it's quite outdated...
Two years later, I echo this sentiment...
Offline Jacob_

Junior Member


Projects: 3



« Reply #17 - Posted 2010-05-21 15:01:16 »

Wow, I didn't realize this thread was here. I experimented this a year ago without noticing that the latest release was in 2004. Besides being ancient, it doesn't work with modern Java versions either--I kept getting weird errors for the most basic things, even if I simply copied and pasted code from tutorial websites.

Just use JBullet, and an unsticky would be nice...
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.

TehJavaDev (18 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (70 views)
2014-08-11 02:49:23

BurntPizza (47 views)
2014-08-09 21:09:32

BurntPizza (38 views)
2014-08-08 02:01:56
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!