<div dir="ltr"><div><div><div>Hi Daniel,<br><br></div>there is the vague hint on <span class="im"> <a href="http://www.x3dom.org/?page_id=158" target="_blank">http://www.x3dom.org/?page_id=158</a> to use DOM/HTML techniques, and there is a discussion on the x3dom developer mailing list suggesting to use the component system:<br><br><a href="http://sourceforge.net/p/x3dom/mailman/message/30219569/">http://sourceforge.net/p/x3dom/mailman/message/30219569/</a><br><br><a href="https://x3dom.readthedocs.org/en/latest/components/index.html#extending-x3dom">https://x3dom.readthedocs.org/en/latest/components/index.html#extending-x3dom</a><br><br></span></div><div><span class="im">This talks about to how to define your own nodes, essentially in parallel to how x3dom.js defines nodes. Unfortunately, the example is a bit too basic and one would need to look at x3dom source to understand better how to do that. See for example <a href="https://github.com/x3dom/x3dom/blob/master/src/nodes/Geometry3D/Box.js">https://github.com/x3dom/x3dom/blob/master/src/nodes/Geometry3D/Box.js</a> .<br></span></div><div><span class="im"><br></span></div><span class="im">Another basic idea is to create and manipulate nodes procedurally, not declaratively. The scene API helps with that: <a href="http://doc.x3dom.org/author/index.html">http://doc.x3dom.org/author/index.html</a>. So one could image a javascript function which inserts a series of nodes into the DOM based on provided parameters. This approach may be more accessible and there some basic examples on <a href="http://examples.x3dom.org/simpleExamples.html">http://examples.x3dom.org/simpleExamples.html</a> which provide pointers in that direction.<br><br></span></div><div><span class="im">Hope this helps,<br><br>Andreas<br><br><br></span></div><span class="im"></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 7, 2014 at 3:42 AM, Daniel Vera <span dir="ltr"><<a href="mailto:d.a.vera@warwick.ac.uk" target="_blank">d.a.vera@warwick.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-family:Calibri;font-size:12pt" bgcolor="#FFFFFF" text="#000000"><div style="font-size:12pt;font-family:Calibri"><span style="font-family:Calibri">Hi 
Andreas,</span><br><span style="font-family:Calibri"><span class=""><blockquote type="cite"><span>my impression is that this not a priority since there 
may be other ways to achieve similar functionality </span></blockquote></span>Do
 you have anything specific in mind? Is there anything that can be used 
currently to achieve </span><span><span style="font-family:Calibri">functionalities
 similar to </span></span><span style="font-family:Calibri">PROTO/EXTERNPROTO
 in X3DOM? <br><br>Best regards, <br><br></span><span>--<br>
<div style="line-height:16px;margin:6px 0;padding:8px 8px 8px 8px;border-top:1px #aeb1a6 dotted;border-bottom:1px #aeb1a6 dotted;font-family:'Lucida Sans',Lucida Grande,Verdana,Arial,Sans-Serif;font-size:11px;color:#555555">

<p style="font-family:Helvetica,Arial,sans-serif;font-size:11px;color:#424242;line-height:14px">
        <span style="font-size:13px">Daniel Vera</span>
        <br><span style="font-size:13px"></span></p></div> </span><br><span style="font-family:Calibri"><br></span><br><blockquote style="border:0px none" type="cite"><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">     <div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part1.01090103.08040106@warwick.ac.uk" name="148e98f1a06c32d6_compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a href="mailto:andreasplesch@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Andreas Plesch</a></div>   <div style="display:table-cell;white-space:nowrap;vertical-align:middle">   
  <font color="#9FA2A5"><span style="padding-left:6px">05 October 2014 
22:03</span></font></div></div></div><div style="color:#888888;margin-left:24px;margin-right:24px"><span class=""><p dir="ltr">Hi Joe,</p>
<p dir="ltr">x3dom does not support proto nodes, see <a href="http://www.x3dom.org/?page_id=158" target="_blank">http://www.x3dom.org/?page_id=158</a></p>
<p dir="ltr">You could ask on the x3dom developer mailing list about 
plans but my impression is that this not a priority since there may be 
other ways to achieve similar functionality.</p>
<p dir="ltr">Andreas</p>


</span><div>_______________________________________________<span class=""><br>X3D-Public 
mailing list<br><a href="mailto:X3D-Public@web3d.org" target="_blank">X3D-Public@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br></span></div></div></blockquote></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453
</div>