<html>
 <head>
  <meta name="viewport" content="width=device-width">
  <meta http-equiv="Content-Type" content="text/vnd.ui.insecure+html;charset=utf-8">
 </head>
 <body style="overflow-wrap:break-word; word-break: break-word;"><div class="mail_android_message" style="line-height: 1; padding: 0.5em">Hi Andreas,<br/><br/>Just one neuron firing now: what about leaving the decision to the author?<br/><br/>Somehow "nesting" the LoadSensor. One LoadSensor in the scene, reporting about the inline. Another LoadSensor in the inline, reporting about the second level inline. And so on.<br/><br/>--<br/>Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.</div><div class="mail_android_quote" style="line-height: 1; padding: 0.3em"><html><body>Am 21.12.22, 17:51 schrieb Andreas Plesch <andreasplesch@gmail.com>:</body></html><blockquote class="gmail_quote" style="margin: 0.8ex 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  It is useful to be notified after an Inline has completed loading.
  <br> This is especially true for external access to the scene if the Inline
  <br> has exports (or dom style access is used).
  <br> A LoadSensor generates such an event:
  <br>
  <br> <a href="https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#LoadSensor">https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#LoadSensor</a>
  <br>
  <br> "The isLoaded field generates events when loading of the LoadSensor's
  <br> children has completed."
  <br>
  <br> However, in the case that the Inline contains another Inline itself a
  <br> question came up. Is loading considered complete when the outer Inline
  <br> xml/json/.. is completely downloaded but still has only a url
  <br> reference to the inner Inline ? That typically would happen before
  <br> also the inner Inline is completely downloaded. Or should the event be
  <br> generated only after the inner Inline (and all of its content) is also
  <br> completely downloaded ?
  <br>
  <br> The second option is more useful, especially for web use where loading
  <br> generally occurs asynchronously and such events are often used to
  <br> initiate processing of downloaded content.
  <br>
  <br> For generic X3D use, one could imagine a situation where a LoadSensor
  <br> triggers something which assumes that the scene is fully rendered
  <br> before an Inline is actually rendered.
  <br>
  <br> It is also related to how EXPORT/IMPORT works. One could probably
  <br> construct a situation where a LoadSensor triggers access to an
  <br> EXPORTed node from an inner Inline before it is available.
  <br>
  <br> Is a tightening of the language necessary ? Perhaps there is already a
  <br> more precise definition of 'loading' in the spec. somewhere else ?
  <br>
  <br> -Andreas
  <br> --
  <br> Andreas Plesch
  <br> Waltham, MA 02453
  <br>
  <br> _______________________________________________
  <br> x3d-public mailing list
  <br> x3d-public@web3d.org
  <br> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
  <br>
 </blockquote></div></body>
</html>