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-10, 4:18 am

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-10, 7:34 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
Keith Bennett

2005-05-17, 7:32 pm

Jeff, Russ, and Joerg -

Thanks for replying to my questions.

You suggested looking at xVRML and Carina. What would be the advantage
of xVRML relative to X3D?

Also, I looked at the Carina web page -- what is it that would be
useful to us? In any case, it looks like their software is Mac only.
We need something that will run on Windows, thought I'd be very happy
if it could also be used on Linux and the Mac. (Joerg, this would also
make FreeWRL unsuitable for us.)

As far as the time frame goes, it's ASAP (as usual, right?). The
viewer part of our software only needs to be rough demo quality.

About the web browser being preferable to an app because it would have
printing support built in, that is just one advantage, and probably not
the main one. Another one would be that there would be no need for the
user to download and install software (though I suppose one could argue
that they'd need to download and install the VRML viewer).

Russ, it sounds like Xj3D would be the best choice for us, but I can't
find the source code anywhere on the web (I posted another message
about that today).

Thanks again, and regards,
Keith

Joerg Scheurich aka MUFTI

2005-05-17, 7:32 pm

> You suggested looking at xVRML and Carina. What would be the advantage
> of xVRML relative to X3D?


X3D is a existing international standard

http://www.iso.org/iso/en/Catalogue...&ICS2=140&ICS3=

but it is not really known yet, how to write it down 8-(

http://www.iso.org/iso/en/Catalogue...elist=PROGRAMME
http://www.iso.org/iso/en/Catalogue...elist=PROGRAMME

| Status:
| Under
| development
| Current stage:
| 60.00
| Stage date:
| 2005-02-21

According to http://www.iso.org/iso/en/widepages/stagetable.html#60
60.00 means "International Standard under publication" so this may
change in the near future.

The only remaining question is, if the X3D standards (like their drafts)
will be freely publiced on the internet. According to

http://www.web3d.org/x3d/specifications/

the final version of 19775 (from december 2005) hasn't been public yet 8-(

In difference, xVRML is not a international standard at all, but it looks
like there is information about it freely available.

http://www.xvrml.net/docs/core.html

> We need something that will run on Windows, thought I'd be very happy
> if it could also be used on Linux and the Mac. (Joerg, this would also
> make FreeWRL unsuitable for us.)


I am not sure, if it is impossible to run FreeWRL under Windows via Cygwin.
I tried to compile, but it failed in a early stage cause of something like
a too old PERL version in Cygwin 8-(
I have to admit, i am not a great M$Windows fan, therefore i gave up at the
first problem. Maybe i should try again with more patience ..

But maybe you want something other then a Cygwin version.

BTW: The MacOSX version is not a UNIX/X11 only version (like the Cygwin system)
There is also a native MacOSX version of FreeWRL

> Russ, it sounds like Xj3D would be the best choice for us, but I can't
> find the source code anywhere on the web (I posted another message
> about that today).


It looks like their webpage www.xj3d.org is down at the moment.
If anything else fails, you can try to ask in the source working group
mailinglist of the web3d organization.

so long
MUFTI
--
In Microsoft C/C++ version 7.0, time returned the current time as the
number of seconds elapsed since midnight on December 31, 1899.
(Aus einer Micro$oft Dokumentation)
(all other Versions return the seconds since midnight on January 1, 1970)
Joerg Scheurich aka MUFTI

2005-05-17, 7:32 pm

> http://www.web3d.org/x3d/specifications/

> the final version of 19775 (from december 2005) hasn't been public yet 8-(

^
Uups, timewarp 8-( |
|
|
should be ........... (from december 2004)

so long
MUFTI
--
In Microsoft C/C++ version 7.0, time returned the current time as the
number of seconds elapsed since midnight on December 31, 1899.
(Aus einer Micro$oft Dokumentation)
(all other Versions return the seconds since midnight on January 1, 1970)
franz

2005-05-30, 7:56 am



Keith Bennett wrote:
> Jeff, Russ, and Joerg -
>
> Thanks for replying to my questions.
>
> You suggested looking at xVRML and Carina. What would be the advantage
> of xVRML relative to X3D?
>
> Also, I looked at the Carina web page -- what is it that would be
> useful to us? In any case, it looks like their software is Mac only.
> We need something that will run on Windows, thought I'd be very happy
> if it could also be used on Linux and the Mac. (Joerg, this would also
> make FreeWRL unsuitable for us.)
>
> As far as the time frame goes, it's ASAP (as usual, right?). The
> viewer part of our software only needs to be rough demo quality.
>
> About the web browser being preferable to an app because it would have
> printing support built in, that is just one advantage, and probably not
> the main one. Another one would be that there would be no need for the
> user to download and install software (though I suppose one could argue
> that they'd need to download and install the VRML viewer).
>
> Russ, it sounds like Xj3D would be the best choice for us, but I can't
> find the source code anywhere on the web (I posted another message
> about that today).
>
> Thanks again, and regards,
> Keith


Sponsored Links


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