<p dir="ltr"><br></p>
<p dir="ltr">> Message: 3<br>
> Date: Tue, 25 Oct 2016 21:00:28 +0000<br>
> From: doug sanden <<a href="mailto:highaspirations@hotmail.com">highaspirations@hotmail.com</a>><br>
> To: X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>><br>
> Subject: Re: [x3d-public] ProtoDeclarations via SAI ?<br>
> Message-ID:<br>
>         <<a href="mailto:BN6PR14MB1778C950E83D17BD6769581AB6A80@BN6PR14MB1778.namprd14.prod.outlook.com">BN6PR14MB1778C950E83D17BD6769581AB6A80@BN6PR14MB1778.namprd14.prod.outlook.com</a>><br>
><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> Doesn't look promising.<br>
> I find the javascript SAI doc easier to read.<br>
> <a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/index.html">http://www.web3d.org/documents/specifications/19777-1/V3.3/index.html</a><br>
> x no way to create a protodeclare that I can see<br>
> x even if you created a blank one, doesn't look like there's a way to create fields and add them<br>
> Q. how do scene design tools do it?<br>
> H:  through a modified design-time SAI<br>
> -Doug</p>
<p dir="ltr">Ok, I think this is then not a priority.</p>
<p dir="ltr">There may be DOM strategies to achieve functionality similar to ProtoDeclare and ProtoInstance such as templating engines.</p>
<p dir="ltr">Should it be a design goal of the SAI standard to actually enable a fully featured scene authoring tool which only uses SAI methods ?</p>
<p dir="ltr">Andreas </p>
<p dir="ltr"> ________________________________________<br>
> From: x3d-public <<a href="mailto:x3d-public-bounces@web3d.org">x3d-public-bounces@web3d.org</a>> on behalf of Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">andreasplesch@gmail.com</a>><br>
> Sent: October 25, 2016 2:31 PM<br>
> To: X3D Graphics public mailing list<br>
> Subject: [x3d-public] ProtoDeclarations via SAI ?<br>
><br>
> I am working on adding Proto support for cobweb_dom. While adding/modifying ProtoInstances via the DOM is very useful (and seemingly working in a dev. branch), I am unsure about the possibility of adding/modifying(?) ProtoDeclarations via the DOM.<br>
><br>
> The SAI spec. seems to specify that this should be possible:<br>
><br>
> <a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#ProtoDeclarationHandling">http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#ProtoDeclarationHandling</a><br>
> <a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-ExecutionContextProperties">http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-ExecutionContextProperties</a><br>
><br>
> Wait ..<br>
><br>
> <a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#PrototypeServices">http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#PrototypeServices</a><br>
><br>
> says that ProtoDeclarations cannot be instantiated (by SAI methods).<br>
><br>
> Does that mean it should not be possible to add/update ProtoDeclarations within a scene by an x3d script ? Is there an example script somewhere ? All ProtoDeclarations a scene can ever expect to use should be available when the scene is first loaded by the x3d browser ?<br>
><br>
> If not, it probably means that cobweb_dom should not try to do that as well (although it may be possible).<br>
><br>
> Any feedback welcome,<br>
><br>
> -Andreas<br>
><br>
> --<br>
> Andreas Plesch<br>
> 39 Barbara Rd.<br>
> Waltham, MA 02453<br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Message: 4<br>
> Date: Tue, 25 Oct 2016 21:16:10 +0000<br>
> From: doug sanden <<a href="mailto:highaspirations@hotmail.com">highaspirations@hotmail.com</a>><br>
> To: X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>><br>
> Subject: Re: [x3d-public] ProtoDeclarations via SAI ?<br>
> Message-ID:<br>
>         <<a href="mailto:BN6PR14MB177807D79E386ADB2AD5CF2DB6A80@BN6PR14MB1778.namprd14.prod.outlook.com">BN6PR14MB177807D79E386ADB2AD5CF2DB6A80@BN6PR14MB1778.namprd14.prod.outlook.com</a>><br>
><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> freewrl stores its protoDeclares and externProtoDeclares in binary proto (aka broto) form - almost the same as a protoInstance, except with a flag saying its 'not live' and with any contained protoInstances 'shallow copied' meaning they have no body.<br>
> ProtoDeclare name=A<br>
> Body {<br>
>   ProtoInsance name=B Body { -nada / blank / ziltch- }<br>
> }<br>
> }<br>
> Then when instancing an A, the body for contained instance name= B is filled in / deepened.<br>
> That keeps declares light with lazy/delayed recursive instancing.<br>
> That also implies if new SAI functions are designed for hacking Instances or Declares, they would work on either/both.<br>
> One idea is for browsers to have a built in 'stub' protodeclare, and a function to create it with a new name=, and add to the list of protodeclares.<br>
> Then a few functions for creating fields on it, and ISing, and shallow-instancing.<br>
><br>
><br>
> ________________________________________<br>
> From: x3d-public <<a href="mailto:x3d-public-bounces@web3d.org">x3d-public-bounces@web3d.org</a>> on behalf of doug sanden <<a href="mailto:highaspirations@hotmail.com">highaspirations@hotmail.com</a>><br>
> Sent: October 25, 2016 3:00 PM<br>
> To: X3D Graphics public mailing list<br>
> Subject: Re: [x3d-public] ProtoDeclarations via SAI ?<br>
><br>
> Doesn't look promising.<br>
> I find the javascript SAI doc easier to read.<br>
> <a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/index.html">http://www.web3d.org/documents/specifications/19777-1/V3.3/index.html</a><br>
> x no way to create a protodeclare that I can see<br>
> x even if you created a blank one, doesn't look like there's a way to create fields and add them<br>
> Q. how do scene design tools do it?<br>
> H:  through a modified design-time SAI<br>
> -Doug<br>
> ________________________________________<br>
> From: x3d-public <<a href="mailto:x3d-public-bounces@web3d.org">x3d-public-bounces@web3d.org</a>> on behalf of Andreas Plesch <<a href="mailto:andreasplesch@gmail.com">andreasplesch@gmail.com</a>><br>
> Sent: October 25, 2016 2:31 PM<br>
> To: X3D Graphics public mailing list<br>
> Subject: [x3d-public] ProtoDeclarations via SAI ?<br>
><br>
> I am working on adding Proto support for cobweb_dom. While adding/modifying ProtoInstances via the DOM is very useful (and seemingly working in a dev. branch), I am unsure about the possibility of adding/modifying(?) ProtoDeclarations via the DOM.<br>
><br>
> The SAI spec. seems to specify that this should be possible:<br>
><br>
> <a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#ProtoDeclarationHandling">http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#ProtoDeclarationHandling</a><br>
> <a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-ExecutionContextProperties">http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#t-ExecutionContextProperties</a><br>
><br>
> Wait ..<br>
><br>
> <a href="http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#PrototypeServices">http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#PrototypeServices</a><br>
><br>
> says that ProtoDeclarations cannot be instantiated (by SAI methods).<br>
><br>
> Does that mean it should not be possible to add/update ProtoDeclarations within a scene by an x3d script ? Is there an example script somewhere ? All ProtoDeclarations a scene can ever expect to use should be available when the scene is first loaded by the x3d browser ?<br>
><br>
> If not, it probably means that cobweb_dom should not try to do that as well (although it may be possible).<br>
><br>
> Any feedback welcome,<br>
><br>
> -Andreas<br>
><br>
> --<br>
> Andreas Plesch<br>
> 39 Barbara Rd.<br>
> Waltham, MA 02453<br>
><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of x3d-public Digest, Vol 91, Issue 65<br>
> ******************************************<br></p>