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

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



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
--
Don Brutzman  Naval Postgraduate School, Code USW/Br       work +1.831.656.2149
             MOVES Institute, Monterey CA 93943-5000 USA  fax  +1.831.656.7599
Virtual worlds/underwater robots/X3D/XMSF     http://web.nps.navy.mil/~brutzman


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