I am considering X3D/VRML as a development platform for 3D games, eg:
1sp person and 3rd person RPGs, space shooters, etc.
My questions:
1) Is X3D a reasonable platform to code such games?
2) Are there any examples of X3D/VRML games on the net, 2D or 3D? I
have not found any beyond very simple interactive puzzles...
3) The X3D spec ( and maybe the VRML spec? ) includes support for
embedded Java, which is much more attractive to me than ECMAScript.
Do X3D/VRML browsers typically support the option of Java script
nodes? If the X3D/VRML browser is a web browser plugin, which of the
"browsers" (web or VRML/X3D) is responsible for interperting the java?
Thanks very much for any help, especially on the topic of whether I am
barking entirely up the wrong tree...
Harlan
Hi,
1) You can use X3D/VRML browser as a powerfull 3D engine.
With X3D it is now possible to use the full power of the
3D graphics cards with a very hight level langage.
About shaders, they allows to mix a very hight level langage: X3D
and a very low level langage: C/ASM.
With BScontact browser, you can use shaders in VRML.
2) - Here some screenshoots of my work: http://rh256.free.fr/
Others links
- http://www.wildpeaks.com
http://www.mpi-sb.mpg.de/conferences/eg2002/game/data/neora/index.html
- http://www.le-cartel.com/
http://cartel.com.free.fr/no_cache/lego.html
- http://www.intersophia.com/wrl2wrl/index.htm
- http://athanaze.chez.tiscali.fr/
- ...
3) For slow/simple things javascript is ok.
About java ?
RAMI Hachmi
http://rh256.free.fr/
> Hello,
>
> I am considering X3D/VRML as a development platform for 3D games, eg:
> 1sp person and 3rd person RPGs, space shooters, etc.
>
> My questions:
>
> 1) Is X3D a reasonable platform to code such games?
No. I did that mistake. Shortly, browsers are not good enough.
Then again, VRML/X3D is _the_ 3D standard.
> 2) Are there any examples of X3D/VRML games on the net, 2D or 3D? I
> have not found any beyond very simple interactive puzzles...
http://www.vrspace.org/~zzarkov/
Or GameSpace at http://www.vrspace.org/ etc.
Say, good enough for MU RPG. Or will be:)
FPS, no.
> 3) The X3D spec ( and maybe the VRML spec? ) includes support for
> embedded Java, which is much more attractive to me than ECMAScript.
> Do X3D/VRML browsers typically support the option of Java script
> nodes? If the X3D/VRML browser is a web browser plugin, which of the
> "browsers" (web or VRML/X3D) is responsible for interperting the java?
In general, java in vrml sucks. You need to work with M$VM, which is 5
years obsolete technology.
You'd need your client, probably based on some vrml lib, say
http://www.openvrml.org/ or http://www.xj3d.org/ or...
or maybe you may stick to ECMAScript (supported by each and every
browser) and VRML may be just what you need.
Regards...
Hello,
About Java, you can display (and so, act on) a VRML scene in a Java
application using the Java library called SWT and its OLE/COM/ActiveX
possibilities. If you're interested, I can send you more information &
code by eMail.
Bye
O.L.
--
Ceci est une signature automatique de MesNews.
Site : http://mesnews.no-ip.com
> My questions:
> 1) Is X3D a reasonable platform to code such games?
It depends on your requirements. If you need to have access to the latest
features of your graphicscard, standard VRML97 is definitly the right thing.
If you need to access to graphicscard shader features in X3D, you have to
wait, till the standards are extended to that point or use a nonstandard
browser extension as in bitmanagement contact or Xj3D.
Currently VRML/X3D do not have things, you would expect from a normal
3D engine. Examples for this is fake physics simulation (e.g. particle source),
3rd person support, ray/object or object/object collision. Some of this
features are includes as nonstandard browser extension in browsers like
bitmanagement contact.
Some things usefull in 3D engines, can be made with PROTOs (VRML code libraries)
like
http://accad.osu.edu/~pgerstma/protolib/
Example of the use of a simple particle source proto:
http://www.csv.ica.uni-stuttgart.de/vrml/dune/docs/typical_vrml_examples/ecmascript/particles.wrl
BTW: X3D now includes a standard for human animation ("H-ANIM") both joint
and skin/bones based.
> 2) Are there any examples of X3D/VRML games on the net, 2D or 3D? I
> have not found any beyond very simple interactive puzzles...
For a good looking X3D/VRML games (like those installed on local computers)
you need a lot of 2D texture images, which can easily become a problem for
download speed 8-(
Another problem for usage in a big commerical 3D game is the fact, that
VRML/X3D is a ISO standard and there are multiple browsers in use,
including open source projects.
Every action to hide your code is useless if your client pretends to
be a legal VRML/X3D browser.
There are plans for a binary standard, but i think it is unclear, if this
will include code protecting features.
> If the X3D/VRML browser is a web browser plugin, which of the
> "browsers" (web or VRML/X3D) is responsible for interperting the java?
For VRML/X3D browsers which can run standalone (like FreeWRL or Xj3d) the
java support is not the real problem. For Internet Explorer based VRML/X3D
plugins, the name of the java related problems is called "Micro$oft" 8-(
so long
MUFTI
--
The following error was found:
We need your fax number in order to respect your wishes not to receive faxes.
- Fehlermeldung der Registration page von MSDN
> It depends on your requirements. If you need to have access to the latest
> features of your graphicscard, standard VRML97 is definitly the right thing.
Oops, typing error, sorry 8-(
should be: ..., standard VRML97 is definitly NOT the right thing.