<div dir="ltr"><div><div><div>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></div>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></div><div>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></div><div>says that ProtoDeclarations cannot be instantiated (by SAI methods).<br></div><div><br></div>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></div>If not, it probably means that cobweb_dom should not try to do that as well (although it may be possible).<br><div><br><div><div><div>Any feedback welcome,<br><br></div><div>-Andreas<br clear="all"></div><div><br>-- <br><div class="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div></div></div></div></div>