Justin

Thank you for such a full answer.

In trying to pick up the latest version from CVS (before I have just picked
up the built versions), I got the response from the CVS server
(copied from WinCVS Logwindow)

NEW CVSRoot: :pserver:[EMAIL PROTECTED]:/web3dorg/CVS (password
authentification)
cvs checkout -P x3d (in directory G:\)
cvs checkout: authorization failed: server web3d.metrolink.com rejected
access to /web3d.org/CVS for user guest
cvs checkout: used empty password; try "cvs login" with a real password

*****CVS exited normally with code 1*****

So I guess that I cannot access the source using the guest login as shown in
the instructions page.

I guess that I am doing something foolish

-----Original Message-----
From:   Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]
On Behalf Of Justin Couch
Sent:   15 June 2001 16:24
To:     [EMAIL PROTECTED]
Subject:        Re: [JAVA3D] Two problems and two questions relating to the
VRMLloader.

Alex Bowden wrote:

> I am trying to use the VRML loader which I downloaded from
> http://www.web3d.org/TaskGroups/source/xj3d.html using the
> Xj3dInstall(Min).exe. (I couldn't face 27 meg at my BT line speed).

OK, before we move to answer the questions - this is the M1 release from
a couple of months ago now. Things have moved on a bit and some of the
items here are known problems that we've since fixed.

> example programs, Browser and Loader, Loader clearly meets my needs in
> demonstrating how to load VRML geometry into an existing SimpleUniverse.

Yes. Loader shows how to use the standard VRMLLoader within a normal
application. The browser class is for when you want to implement a
complete working browser, either standalone or embedded in another app
where we have the complete control over the rendering.

> However I would like to understand more about the VRMLBrowser solution.
> Unfortunately I could find no documentation to explain the VRMLbrowser
> concept and its utility entities like e.g. VRMLUniverse &
> J3DVRMLSceneBuilder.

Yes, my fault. Slowly writing all of that up. Trying to cover some of
the macro architecture points currently and haven't gone into usage
details yet. One point to note here is that VRMLUniverse et al are still
changing very rapidly as we develop the software. Here's a simple
summary:

VRMLUniverse is our equivalent of SimpleUniverse. It does all the
management of user input and dealing with runtime activities like
bindable nodes.

J3DVRMLSceneBuilder is normally not used by most application builders.
What it does is plug into the SAV parser API to provide a way to build a
Java3D scenegraph from a UTF8 encoded file. For the moment, have a look
at the code inside VRMLLoader to see how we use it, or inside
DIYBrowser.


> (Maybe the answer is just that I have to do the full 27 meg download?).

Hope not. Min install should have all the docs in it. Will check with
Alan though.

> What is the relationship between the VRMLloader code and the Xj3D Open
> Source Browser Project.

These are one and the same. The Loader code uses a subset of the full
browser code. Once we get towards a more complete implementation, the
loader will use almost all the browser code. There are a few major
differences - most notably in handling the runtime aspects like bindable
nodes (this is also why we can't support the scene graph io stuff too).

> More complex data sets frequently seem to generate the error
>
> Exception loading URL:javax.media.j3d.MultipleParentException:
> Group.addChild: child already has a parent

Yes, known bug in that release (after we released it!) Fix is relatively
simple, and was to do with some changes to the DEF/USE handling that I
implemented incorrectly. Basic error was that I was adding a Group to
itself (yes, for some reason this is legal in J3d currently!) and then
adding it to the live scene graph. To fix this, you'll need to update to
the latest code from CVS. Alan says he is probably going to try to do a
new dev release this afternoon (USA Time)


> But when I try to use inline
>
> e.g. as
>
> DEF Member_0_0 Transform { translation 0.000000 0.000000 0.000000
>             rotation 0.000000 0.000000 0.000000 0.000000
>             children [
>  Inline { url "93326565_a.wrl" }
> ] }

Ah, VRML3.0 problem. My problem. Bug noted and fixed....


--
Justin Couch                         http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to