[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [www-vrml] Why you _can_ convert VRML97 to X3D



Paul Aslin wrote:

One small fly in the ointment. There is no SFNode used in
standard X3D nodes.

The SFNode field type still exists and is still used in most of the same places.


ie: X3D Shape has a geometry node but unlike VRML it is
MFNode. Which means it may contain multiple nodes, if I am
reading it right.

I think you are getting confused by the XML encoding. Shape has SFNode geometry in the abstract specification.


So what would happen if SFNode is used in a proto and that
is mapped to a node that uses MFNode. More seriously
wouldn't this require changes to Script nodes which also
access the same field.

This shouldn't be an issue because a) SFNode is still there and b) I'm fairly certain the browser isn't allowed to do magical field type conversions like that.


As for comments about 99% of Scripts working, perhaps you
are right, but I cannot check as SFNode/MFNode usage in
Scripts doesn't seem to work at all in flux at the moment.

As a result 99% of my interesting code doesn't work at all
(which includes the one item I need to get working in X3d).

I'll try out Xj3d and see what results I get with that.

--Brad Vender

-------------------------------------------------------------------------
for list subscription/unscrubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html