Thanks for the comments Justin.
I definitely need to use getLocalToVworld on Def'd nodes. I use the DEF tags to 
extract references to Transform nodes in my code. I'm not sure how I can get around 
this from outside the loader, but if you have any ideas I'd appreciate them. Until 
then, or until you get enough time to figure out a way the loader can support this, 
I'll be heading back to the old loader for now. Textures are just a nice-to-have for 
me anyway.

As for the documentation, it came fresh off the web site:
http://www.web3d.org/TaskGroups/source/xj3d-using.html

josh

>>> [EMAIL PROTECTED] 01/11/02 02:57PM >>>
Josh Richmond wrote:

> It loads a lot faster than the last time I tried it! Way to go!


Oh, really? We haven't done anything to optimise the load process.....


> Question: Is there a way to tell the scene builder not to use shared nodes?


No. The problem we have is that as soon as someone DEF's an object we
have to make it shared. We really have no idea what the end user is
going to do with the code without going into a multi-pass parser system.
   Shared objects are essential to the way we work.


> Code that use to work with the Sun loader no longer works because

 > everything seems shared. I get an IllegalSharingException when I try
 > to getLocalToVworld on loaded nodes.

Sharing is something we can't do much about. One of the reasons the old
sun loader works for some cases is that for many things it would just
completely ignore the DEF statements. This meant that cases where a node
was DEF'd just for routing purposes would load fine, but now cause
problems with the latest code.

As for your exception - yes we've found something like this about a week
ago. My job to track it down, but I've been busy doing j3d.org code
rather than Xj3D so I haven't looked at the problem yet.

> Comment: In the "how to use" documentation on the website, the package

 > and class name need to be updated from org.web3d.vrml.j3d.VRMLLoader
 > to org.web3d.j3d.loaders.VRML97Loader.

How long ago did you look at the documentation? Alan rewrote most of the
pages about a week ago. Just wondering if he has stuffed up somewhere.


--
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