Kevin wrote:

It think that VRML only supports the solid attribute in IndexedFaceSets
is my problem.  However, I think I am using a X3D v3.0 document (one of
the examples on the x3d site), so theoretically I should have this
support under all geometry.  However, when I tried it, I received a
parse error saying it was an invalid attribute.

That's our fault. The spec only added this capability in as a last-minute item and we haven't had a chance to update the code internally to support the field. The infrastructure is already in place to support it (ie all our geometry internally has methods to check on getting the two-sided-lighting state), but we haven't done the field handling. Shouldn't be that difficult to do, but we're in a code-lockdown in preparation for the next milestone release. I'll have a chat here with the guys to see if it's something we can fit in (even if it is just to read the field and ignore for now)

2.  I am misusing the loader somehow.  I noticed a vrml97Only flag on
the BaseLoader that is inherited by the X3DLoader.  However, I can't get
to this flag in my app because it is a protected attribute.  I would
have thought that the X3DLoader would set this to false and render all
X3D content???

X3D is not VRML. If you selected the X3D loader, it will _only_ load X3D content. Despite visual similarities, X3D and VRML are significantly different internally. If you want a loader to be able to work with both formats, use the Web3DLoader.

Sorry to be a dimwit...but did this come from the X3DLoader
implementation?

No, from the internals of our rendering system. Probably not much use to you if you're using X3D/VRML directly, but if you're doing your own coding for Java3D content, that's an example of how to do it.

I haven't been able to track down the current source on the site yet.

As a rule, the dev releases do not zip up the source. That's because it is typically just a cut of the code from one of our development machines (usually mine). There's a lot of extra stuff there - stuff which doesn't compile, or not in the formal compilation list for release etc. So to get the current source, you need to grab it from CVS. Details are here:

http://www.xj3d.org/cvs.html


-- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler 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".

Reply via email to