Repost of my lst message, subject line was confusing.
Please apologize any inconvenience.
-------------------
Hi all,
I've been tweaking up the VRML 97 loader (thex3d one) for a month or so and here is a short report:
1. basic indexed face set rendered correctely
2. some files that display correctely with CosmoPlayer get splitted
into there parts with the VRML Loader
(which seems to have a problem with some transform nodes).
3. sensors and movie texture not implemented (and probably won't be
unless someone DOES continues
the developpement for the (happily) sleeping people from x3d)
4. Although I haven't tried the Browser (impl package) class I think
it's better to use it rather than using
the different viewer/player shipped along. The code for the player
is ugly whereas the code is much better.
5. source code is given and although I don't recommand you to use the
full classes to read VRML, you may find
the files Browser, Evagation, TreePrinter and TreeCleaner very usefull
for your Java3D developpements.
Conclusion: this loader is IMHO no even Beta but developpement is nevertheless stalled.
Recommandations to use the loader:
1. ungzip your file
2. remove every comment and extra useless stuff.
3. remove unsupported nodes (like movie texture)
4. chisel it (that is: use the tool Chisel to check VRML97 syntax conformance)
5. try and pray
To J3D developpers, on a side track:
My purpose using VRML97 loader was to build up an exporter to J3D CompressedGeometries.
I managed to do so.
However, to my surprise, my compressed files (that I zip furthermore)
are larger than a standard gzipped WRL file.
(my files contain only indexed face set). This is disappointing since
it is mean to be a very efficient compression format.
Can anyone explain ? Moreover, I must confess that this is clearly
not enough as a file format. (Yes, I know it is not mean
to be a file format anyway, but think about implementing J3D scenegraph
objects serialization or many third parties
will build up hacks, myself first). What are your plans (schedule...)
concerning Java3D serialization ?
To Justin Couch : please add my report to your j3d faq as people seem to need this information.
Silvere.
-- "Un homme qui a reussi est un homme qui gagne plus d'argent que sa femme n'en depense. Et une femme qui a reussi est une femme qui a trouve un tel homme." (Lana Turner)
[EMAIL PROTECTED] Silvere MARTIN-MICHIELLOT TECFA (Educational Technologies and Learning), Faculte de Psychologie et des Sciences de l'Education, University of Geneva, 40 Boulevard du Pont d'Arve 1205 GENEVE (Switzerland) Phone: (..41) 22 705 9373, Fax: (..41) 22 XXX XXXX http://tecfa.unige.ch/tecfa/general/tecfa-people/sylvere.html --