I was able to render your to VRML files using the
reliable SUN VRML Loaders using Java3d after
-----------------------------------------
commenting out the VRML for the Sound files
( which you did not include ) ... the Sun
Loaders do support playing Sound files with
animation and mouse clicks triggering
Gesturing Animtions of the Human H-Anim models.
Many of us have been using Sun's VRML Loaders
( including Nasa and Selman which used them
in the VRML Picking Demo -- see link below -- )
in his recent Java3d book ), and of course Sun
uses the Sun VRML Loaders to load VRML into
the Sun's Java3d Fly Through Demo and their
Java3d Scenegraph Editor.
| Picking of VRML objects with your mouse is
| demonstrated in a new book, Java 3D Programming,
| by Daniel Selman ( shown on the left ).
|
| The source code is avaible for free.
|
| This new book uses the old, reliable Sun VRML Loaders
| for Java3d.
|
| The program reads a 3d scene as a simple VRML
| text file, and displays the Java3d Scene Graph
| ( which is interactive, you can expand and collapse
| the branches of the scenegraph and examine the contents
| of the nodes ), it renders the 3d scene, and when
| you click on an object it tells you what you clicked on.
|
| You can see ( and download ) the Java Source code
| of the operative file: VrmlPickingTest.java
|
http://www.frontiernet.net/~imaging/games_with_java3d.html
Your binary VRML file is simply GZIP compressed,
it does decompress to clear text, I did that
on my Linux system by typing:
$ mv 01getty.wrl 01getty.wrl.gz
$ gunzip 01getty.wrl
Most VRML programs including my programs that
use the Sun VRML Loders can read gzip compressed
files, they just unzip them on the fly.
kindy huang wrote:
|
| why can't xj3D's X3DLoader load these two vrml files?
| ----------------------------------------------------
|
| I write a program using Xj3D's
| X3DLoader to browse VRML2.0 files.
|
| The attached are two files I downloaded
| from web, their 3D scenes can be seen using
| Cosmo Player or Cortona VRML client,
| but they cannot be loaded by my program. ...
|
| One of them seems in binary format,
| the other one looks like a VRML2.0 file
| in text format, but still cannot be loaded.
|
| what 's wrong with these VRML files or with my program?
|
| Any hints? Thanks a lot!
|
| BTW, I am also surprised why .wrl can be in
| binary format.? I thought all of them should be
| pure text.
|
http://archives.java.sun.com/cgi-bin/wa?A2=ind0307&L=java3d-interest&P=24825
| Nasa's "FastScript3d" Java + VRML + Scripting" program
|
|
| More demonstations ( with source code ) of
| Nasa's Java3d with Javascript extensions
|
http://fastscript3d.jpl.nasa.gov/gallery.html
|
VRML using vrml97.jar
|
http://fastscript3d.jpl.nasa.gov/vrml97.html
|
| JavaScript Companion to Java3D [ with Sun's VRML Loaders ]
| ( Announcement to Java3d-interest list
| by Patti Koenig from Nasa / JPL )
| VRML animation with Java3d in a browser with the Sun VRML Loaders.
|
http://www.frontiernet.net/~imaging/terrain_rendering.html
VRML Loaders working with Sun's VRML Loaders
--------------------------------------------
http://www.frontiernet.net/~imaging/vrml_loaders_working.html
-- Paul, Java Developer & Web Animator
-----------------------------------------------------
"Imaging the Imagined: Modeling with Math & a Keyboard"
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".