[x3d-public] Beginner questions
Joseph D Williams
joedwil at earthlink.net
Tue Jan 15 11:08:01 PST 2019
First, unless you wish to deal with an entirely interactive graphical interface, then I think sooner or later in development of realtime/virtualtime visualization and interaction tools you are developing, you will want to actually read and edit some parts of a x3d text file called the user code. This authortime user code documents the scene and tells the runtime what to produce and how to present and interact with parent or peer or child environemnts.
This need to read may be because the authoring and publishing tools you use do not provide access to the level of fidelity you want so you may need to just reach in and finetune some details, or to create all or part of the scene from real scratch by hand using a most simple text editor, maybe wish for human-readable documentation of your work, or to be able to carry common best practice realtime graphics data from one graphics tool you use to another.
…
From: iam here
Sent: Tuesday, January 15, 2019 12:06 AM
To: x3d-public at web3d.org
Subject: [x3d-public] Beginner questions
Hi,
➢ I am new to this whole X3D thing, so had a couple of questions:
The whole x3d thing seems to be continued support for a free and open way to create and document realtime interactive simulations. X3d provides a model for authortime scene structure and syntax plus a model for runtime scene presentation and interaction.
> 1) Where does X3D "fit in" in the whole 3D-on-the-web thing? The other things here include CSS 3D transforms, WebGL (which, as I understand it, will soon become WebGPU), and just....drawing on a <canvas> with your own Javascript code, am I correct? So - what exactly *IS* X3D?
The longtime goal of VRML and X3D is human-readable documentation of the basic stuff needed for realtime interactive graphics run as a ‘standalone’ 3D web browser, or as an object in html, or just treated as ordinary html. The basic stuff is geometry, animation, and interaction.
So, if you have developed some work in most any commercial or free 3D authoring system then it should be possible to transport that work into x3d form. If you can do that, then there is a very simple way to show that using www html5 using X3DOM.
If you haven’t any prior work in computer graphics then, the stuff is used to create a scene from various geometries and environments that the author creates, and can also be realistically vizualized and interacted with using various human interface tools. You create a 3D scene that does what you want, then instead of like in the html browser that takes 2D inputs and produces 2D screen pixels, the 3D browser creates the 3D scene, looks at it from the viewpoint you define, then creates the 2D screen pixels from that. The 3D geometry is created from from individual points in xyz space that are connected into polygons that are connected together to form 3D surfaces. Textures and lights you define are applied and basically, the technology is advanced to where you pretty much get what you gave it.
The plan of VRML and X3D is to provide a detailed open and free description of the user code and the runtime by describing data structures and event systems that have been proven to be well developed best practices. The result is that current commercial authoring and production systems may deal with more advanced or proprietary features not included in X3D.
➢ 2) What is the connection between X3D and glTF? glTF is just a model format, right? So - is X3D capable of "drawing" glTF models or something, with Javascript?
So what part of gltF do you wish to use? It seems that generally, for geometry and animation data, yes it is transportable to and from x3d if you know what you are transporting. The glTF serves a special purpose as a concise minimally structured way to transmit data for a part of a feature between somebody who knows exactly what they are sending to someone who knows exactly what they are receiving.
That is also true in X3D but the syntax of x3d is also aimed at readable authortime where you may consider glTF more as aimed at contributing to the optimized runtime.
➢ 3) What is X3D's connection to VRML? Is it the successor? What does that mean, exactly?
What did it mean for VRML to be originator? Do you want to do 3D graphics then if you learn the basics for vrml/x3d then it is same everywhere. I mean it just depends upon what you want to do with it, x3dthe
It means x3d knows all about vrml and has developed in a way that can integrate cleanly into the gtnl5 www.
➢ 4) Is it possible to make GAMES, or other, interactive 3D, in it? eg. like Quake or something, when the "up" key is pressed, it has to go *forward* - can X3D do that??
Why not, you have to look at the api of the actual runtime you are using. IF playing DOOM, it is much better to steer with mouse of joystick, but an optimized standalone game engine may do it better than if the 3D player embedded in an html document.
➢ 5) I heard that it's possible to do *character animation* in X3D, ie. you can tamper with the mesh of say, a man, in Javascript - how do I do that? Is there information about this in the Don Brutzman and Leonard Daly book? (thanks for your help with my previous query, btw, Don! :) )
Now we have to be getting to the point where you actually fire up a 3d player of some kind and look at some examples.
➢ 6) And finally, I've heard about the new Nvidia cards which do Realtime Raytracing - is it possible to have photoreal graphics inside a web browser by using X3D?
As that technology develops the X3d might be able to add some scene parameters that describe realtime raytracing, which may be the same as raytracing in not realtime, like if you were in some tool making a video and it didn’t really matter how long it took to create the frame.
➢ Ok, that's it. Hope I haven't bugged you too much with my questions :)
➢ Thanks for you guys' help.
I’d say the next step Is up to you. You asked more questions than I did when I first needed/wanted free realtime interactive 3D as provided by vrml. It was, by then, fairly easy to get running standalone in windows or in two or three big html browsers. Tell about what you want (a game to navigate with keystrokes? then what do you need to show an touch) to do (and some experiences with x3d or 3D in general and I can relate more.
Good Luck,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190115/68a845a9/attachment-0001.html>
More information about the x3d-public
mailing list