This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > May 2005 > Request for Advice: VRML, X3D, Xj3D, Architecture





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Request for Advice: VRML, X3D, Xj3D, Architecture
Keith Bennett

2005-05-06, 7:27 pm

Dear Colleagues -

I am new to VRML and 3D programming in general, and would like to ask
you for some advice. We are designing and building a new application
that would display a 3D representation of objects in a data base and
allow various user operations on the objects being displayed (e.g.
query
detailed info, show info about the relationship between two selected
points). We have control over all steps along the way (the DB, the
middleware, and the viewer), so we have a lot of freedom of choice.

Some of these questions are interrelated.

1) Choosing a Viewer

We'd like to avoid a lot of coding, so it would be nice to get a viewer
that has already been written. We'll need something that's customizable
too. It would be nice to get something free, OS-neutral, and open
source
if possible. Xj3D sounds appealing, but it seemed to slow down my
system
tremendously when I ran the sample data, though. Has anyone
successfully
relied on Xj3D for real world use? Do you have any other suggestions?

2) Scripting, and Choosing a Data Format (VRML, X3D, ???)

It would be great to be able to script in Java, Python, or Ruby.
According to http://vrmlworks.crispen.org/eai_faq/scripts.html, VRML
supports two kinds of Java scripting, Java Scripting Authoring
Interface
(JSAI) and External Authoring Interface (EAI). Only the EAI supports
using events and fields that are not part of the script node, so that
is
what we would probably need to use. It says that EAI "is available in
the two major browsers". I don't know when this was written; is it
supported in IE and Firefox? Any other advice?

I also read that scripting had changed significantly from VRML to X3D.
How do the two compare?

3) Browser vs. Application for the Viewer

Any suggestions as to whether to implement the viewer in a web browser
as opposed to a standalone application? I'm thinking a standalone app
would provide greater control and flexibility, and could include Xj3D
or
be a modification of it. Also this would eliminate the problem of
inconsistent browsers. On the other hand, using a browser gives us free
access to some services (such as printing) that would be nontrivial to
implement ourselves. What do you think?

4) Middle Layer - EJB?

We're thinking there would be a piece that would respond to the
viewer's
requests to read the data from the data base (always or almost always
Oracle), and generate output that would be used as input by the viewer
(X3D, VRML, etc.) One possibility would be to use something like JBoss
and use session beans for the interface between this piece and the
viewer. Any suggestions?

* * *

Thanks for taking the time to read this. I appreciate any assistance
you can offer.

- Keith Bennett

Joerg Scheurich aka MUFTI

2005-05-06, 7:27 pm

> EAI is supported in I.E. with the
> Microsoft Java Virtual machine only.
> It does not work with Sun, at least
> as far as mainstream VRML plugins are concerned.


There is no mainstream VRML plugin for Sun Workstations, at least for
those with SPARC processors 8-)
You should read this as "it does not work with the Sun java sdk/runtime".

> Firefox: no.


> Some VRML browsers have EAI that
> do work with Sun Java:
> Xj3D and FreeWRL, but their implementation is either as
> a standalone application or in
> applet form. Their EAI aspect does
> not work in the conventional plugin
> context.


FreeWRL support a conventional plugin in Linux Firefox (possibly MacOSX too).
FreeWRL needs extra commandline switches to use EAI. AFAIK you can
add some commandline switches to the plugin startcommand in the sourcecode
(before you compile FreeWRL).

so long
MUFTI
--
(Press Retry to debug the application - JIT must be enabled)
Abbrechen Wiederholen Ignorieren
aus einer M$Windows "assert" Fehlermeldung
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews