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

RE: [x3d-public] LoadSensors: create via SAI? Monitor an ExternProto?



I remember discussing with Justin the possibility of the Browser object
generating events for when EXTERNPROTOs are loaded. However I'm not sure
anything came of that?

I also recall that we removed the restriction requiring the EXTERNPROTO to
be loaded synchronously before continuing processing the world. This in fact
is the source of Dave's current dilemma. However I just took a look at the
spec again, and I don't see any specific language defining whether
EXTERNPROTO loading is synchronous, asynchronous or browser-defined.

Anybody have any clues?

Tony



> -----Original Message-----
> From: owner-x3d-public@web3d.org [mailto:owner-x3d-public@web3d.org] On
> Behalf Of Dave A
> Sent: Wednesday, December 06, 2006 11:49 PM
> To: Don Brutzman
> Cc: www-vrml@web3d.org; x3d-public@web3d.org
> Subject: Re: [x3d-public] LoadSensors: create via SAI? Monitor an
> ExternProto?
> 
> Thanks, I'll see what I can do, great suggestion!
> 
> Dave A
> 
> Don Brutzman wrote:
> > Dave A wrote:
> >> I've futzed with this a bit, getting nowhere.
> >>
> >> Is there a way to use a LoadSensor to monitor the progress of an
> >> ExternalProto?
> >
> > Here are two possibilities implementable today.
> >
> > - put a Script in the ProtoDeclare.  solely give it an initialize()
> >  method that outputs an event.  this is triggered once the ProtoInstance
> >  is loaded.  the output event can be IS/connected to the proto interface
> >  for use in the scene.
> >
> > - depending on the resource involoved, might also use a LoadSensor
> within
> >  the ProtoDeclare itself and similarly expose that output.
> >
> >> And more to the point, how would I create such a thing using SAI?
> >
> > no help here..  we really do need a lot more examples using SAI.
> >
> > all the best, Don
> -------------------------------------------------------------------------
> for list subscription/unsubscription,
> go to http://www.web3d.org/cgi-
> bin/public_list_signup/lwgate/listsavail.html
> 



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