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

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



It's an age old problem and I don't think there's a right or wrong
answer when it comes to loading assets synchronously or asynch. However,
I believe it's important for the event model to support the notification
of EXTERNPROTOs so that authors have better control of their worlds. We
rely heavily on EXTERNPROTOs, some of which contain nested EXTERNPROTOs.
Combine this with the variability of loading times over different
networks, and it becomes difficult to predict the exact loading behavior
of your model for different customers.

We also rely heavily on the SAI for our control applications which
stream real-time sensor data, from large scale underground mining
equipment, into our 3D worlds - see attached image. Data is streamed
from over a thousand kilometers through secure VPNs (24 x 7) into these
models which we monitor remotely. It's important to know that the
EXTERNPROTOs have loaded completely before we can start piping data into
the Transforms (via the SAI) of the model. 

I would certainly support the browser object generating events for when
EXTERNPROTOs are loaded. 

Cheers from Down Under.

Con.

-----Original Message-----
From: owner-x3d-public@web3d.org [mailto:owner-x3d-public@web3d.org] On
Behalf Of Tony Parisi
Sent: Friday, 8 December 2006 2:57 AM
To: 'Dave A'; 'Don Brutzman'
Cc: www-vrml@web3d.org; x3d-public@web3d.org
Subject: 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


Attachment: Lis3dModel.jpg
Description: Lis3dModel.jpg