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

[x3d-public] Re: [www-vrml] Walking Kamala



Inlines: getting events to an inlined object/world in the containing world
and from one.  VRML97 doesn't allow that

i would say that it is not that it is not allowed, just in the VRML97
run-time, the spec does not require it. The X3D spec does require it.

This approach can be improved with PROTOs,

The only thing a proto is going to give you is that you can package all the related content and timers and whatever else is needed internally into a single node, then have some subset exported to the containing scene. . If you provide sufficient interfaces, then maybe the proto can be used again in the same or another scene and operate independently from any other instance of that same proto. That may be an advantage, but if you need to place it inside an inline, then you must probly use import/export and rig an export or the proto interfaces in the inline so as to make them accessible to the containing scene.

field MFNode tsGesture[USE TS0,USE TS1,USE TS2,USE TS3,USE TS4,
 USE TS5,USE TS6,USE TS7,USE TS8,USE TS9,USE TS10,USE TS11, USE TS12,
 USE TS13]

I just don't like that way of writing that sort of stuff, using directOutput TRUE
and all. it is very compact, but I would rather see directOutput FALSE and
include all the interfaces and ROUTE statements explicitly.


Thanks,
Joe

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