[size=2]
|
| Because Java3d is surported by Sun ,
| and can be a standard
| it will give java3d a promising future.
|
| And how does LWJGL position itself in the java opengl world ?
|
| [ edited -- PF ]
[/size]
Sun's support is important, I agree with you there.
Sun does support Java3d, I'm not sure but I think Sun is a larger organization and has written more software than the little
---- LWJGL group.
[size=2]
|
| From what I've seen, Java3D is bloated and obtuse.
|
| I think they also use other stuff besides OpenGL? ...
|
| Please excuse any wrong terminology here.

|
| I like LWJGL, I just suck and don't know what I'm doing
| on the rendering side.
|
| The last few days of experimentation proves that much.
|
| I have a super-fast Java2D engine I wrote though,
| for all the good it does me.

|
|
http://java-game-lib.sourceforge.net|
| That page can explain pretty well it's uses/intents/purposes/whatever.
|
[/size]
People have created some good 3d visualization projects with Java3d.
In the hands of a capable programmer, success is definately possible.
I cannot really comment on what you've seen or what is or is not
"bloated and obtuse" by your standards.
To get high performance and highly flexibility in a 3d graphics system
I think you probably have to accept some complexity.
And besides, it helps keep out the riff-raff ( that was meant to be funny ).
You said -- I think -- that you suck and you like LWJGL ... ?
Um, I don't know, people that don't suck can do well with Java3d.
Java3d is kind of "future proof", it supports both OpenGL and DirectX
so if sometime in the future DirectX is rendering faster on some machines
--( and in particular on your machine or anyone's machine using your software )--
you can take advantage of
"whatever works best" and you program works at the
fastest possible speed.
Portablity is Good, Java is Good.
Java & Java3d gives you portability across OS-es, CPU-s & rendering layers ( not all, and yes, it is less than perfect ).
Java3d gives you a "higher level" API than OpenGL.
You can probably get a 3d system written faster with Java3d :
if you have the skills, time, money, energy and stamina you
can probably get more perforamce if you write-from-scratch-with-OpenGL.
Its a trade off --- everything -- everything is a trade-off.
$100 will give you an amazing graphics card.
With an amazing $100 graphics card,
... maybe the Java3d implementation is fast enough.
If you want to spend 1,000 hours to get 10% more performance,
than god bless you, good luck, you have my admiration.
I'm lazy and want to get projects done faster, so I use Java3d.
[size=2]
|
| Just personal experience.
|
| The last time I tried to use java3d was not pretty, I pretty much hated it.
|
| But we all know how much I know about shit.

...
|
| please excuse me if i've been really pissy on here lately.
|
| My last project really didn't work out how I wanted and
| I made the decision to move to opengl and have to deal
| with alot harder stuff
|
| ( god I just want to make a game ! ).
|
| Well, I guess i'm not exactly being a very graceful learner
|
| I feel like I haven't coded a day in my life all over again.
|
[/size]
[size=6] 3d animation can be
very easy with
Java3d.
[/size]
Given your brief statement it is not possible to identify the problem
People have succeded with Java3d, it does take some time & effort.
But there are lots of examples and demos available for free,
so it's remakably easy to try some things out, find a demo that you like,
and try teaking it, making it a little better.
Use the tools & resources of the Java3d community including the
tools Sun developed for you:
The Sun VRML Loaders, the Sun Java3d Scenegraph Editor & FlyThrough.
Combining VRML and Java with both Java3d using Sun's Loaders
and using VRML with Java 1.1 engines ( like Shout3d.com's rather than Java3d )
makes getting started fast & easy, and gives you many options,
and lets you separate the programming tasks from the model building.
It's a good programming style to separate your data from your logic :
-- in this case the geometry of your model from the controling programs.
Nasa uses Java3d, VRML, and the Sun VRML Loaders for displaying 3d on the web.
You can do it too.
| A JavaScript Companion to Java3D
| ------------------------------------------
|
| Send email to
Patti.Koenig@jpl.nasa.gov |
| with any questions you may have. ...
|
| VRML using vrml97.jar [ view Nasa's Mars "Red Rover" Robotic Lander ]
| ---------------------------
|
http://fastscript3d.jpl.nasa.gov/gallery.html Ok, suppose you want to a 3d animation of
the Moon orbiting the Earth while
the Earth is spinning ( on a 22 degree titls ) and orbiting
the Sun, and you want the earth to have an image texture map.
Hard or easy ?
Easy :
Easy 3d with Java3d and or Shout3d.com's engine with VRML
------------------------------------------------------------------------
http://www.frontiernet.net/~imaging/terrain_rendering.html
http://www.frontiernet.net/~imaging/shout3d/models/planetary_earth_moon.wrl Same data file works with Java3d or Shout3d.com's engine.
How about a simpler "HelloWorld" for VRML & 3d.
Web3d.org has one, and it works with Java3d with Sun's Loaders:
The HelloWorld.wrl VRML file shows the earth with a text string "Hello".
Sun's VRML Loaders working, Web3d.org's "HelloWorld.wrl" Sample file
----------------------------------------------------------------------------------
http://www.frontiernet.net/~imaging/vrml_loaders_working.html http://www.web3d.org/TaskGroups/x3d/translation/examples/HelloWorld.wrl ---- "HelloWorld".wrl" VRML data file follows ( it's readable ! )
[size=1]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| #VRML V2.0 utf8 # X3D-to-VRML-97 XSL translation autogenerated by X3dToVrml97.xsl # http:
# [X3D] VRML V3.0 utf8 # [X3D] profile=Immersive
# [head] # [meta] filename: HelloWorld.x3d # [meta] description: Simple X3D example # [meta] created: 30 October 2000 # [meta] revised: 6 March 2003 # [meta] author: Don Brutzman # [meta] url: http: # [meta] generator: X3D-Edit, http: # [Scene]
# Example scene to illustrate X3D tags and attributes. Group { children [ Viewpoint { description "hello, world!" orientation 0 1 0 1.57 position 6 -1 0 } NavigationInfo { type [ "EXAMINE" "ANY" ] } Shape { geometry Sphere { } appearance Appearance { texture ImageTexture { url [ "earth-topo.png" "earth-topo-small.gif" "http://www.web3d.org/TaskGroups/x3d/translation/examples/earth-topo.png" "http://www.web3d.org/TaskGroups/x3d/translation/examples/earth-topo-small.gif" ] } } } Transform { rotation 0 1 0 1.57 translation 0 -2 1.25 children [ Shape { geometry Text { string [ "Hello" "world!" ] } appearance Appearance { material Material { diffuseColor 0.1 0.5 1 } } } ] } ] } |
[/size]
How do you do it:
Load it & go.
-- Paul, Java Developer & Web Animator.
-----------------------------------------------
Imaging the Imagined: Modeling with Math & a Keyboard
PS: If you want to post about ... "
Java3d" at the java-gaming.org site,
----- you may want to post to the "
Java3d" forum of java-gaming.org ;^)
PPS: There are sample Java3d games available ... just ask ... in the proper forum.