<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">John,<br>
      <br>
      You wrote that you do not want a line, but a cylinder.<br>
      <br>
       * Is there a reason you need 3D geometry? <br>
      <br>
       * If you do need 3D geometry, I think what would generally be
      useful is a connecting geometry node that goes from the origin of
      one Transform to the origin of another. <br>
      <br>
       * The disadvantage of a cylinder is the triangulation that is
      required to produce a nice surface can vary depending on the
      perceived curvature from your viewpoint. This may cause the need
      for additional resolution of the triangle mesh. That can be
      expensive if the cylinder is animated.<br>
      <br>
      <br>
      Leonard Daly<br>
      <br>
      <br>
    </div>
    <blockquote
      cite="mid:F7743683-B111-4C03-8777-7F3490064B1E@gmail.com"
      type="cite">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">On Feb 18, 2016, at 10:58 PM, Leonard Daly <a class="moz-txt-link-rfc2396E" href="mailto:Leonard.Daly@realism.com"><Leonard.Daly@realism.com></a> wrote:

On 2/14/2016 9:03 PM, John Carlson wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
3.  Leonard, can you render this in X3DOM?  I’m curious to know how to do this with Inline’s and not Proto’s.
</pre>
        </blockquote>
        <pre wrap="">
Simple answer is No. The PROTOs use Scripts. There are no scripts in X3DOM.

That does not mean it cannot be done. You have 4 sphere's randomly moving in a region. You have connected three of them to a "central" hub. The most difficult part is maintaining the connection between the spheres. Using a transform on a cylinder is really messy because you need to scale, rotate, and translation the center of each cylinder for each animation frame.

A better way to go might be to modify the existing IndexedLineSet node to produce a line with a width. Then you are just transforming the end points of a 2-point line. Note that if you arrange the Transforms properly the "hub" sphere is always at the origin of the hierarchy that contains the 4 spheres and cylinders.
</pre>
      </blockquote>
      <pre wrap="">
I do not want a line, I want a cylinder or extrusion—think Tinker Toys.  I think what you are saying is there’s a good use case for Extrusion, or a different definition of Cylinder?  That is all I’ve been asking for all along...

There may not be a ‘hub’ in the final product.

Thanks,

John


</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <font class="tahoma,arial,helvetica san serif" color="#333366">
        <font size="+1"><b>Leonard Daly</b></font><br>
        3D Systems & Cloud Consultant<br>
        X3D Co-Chair on Sabbatical<br>
        LA ACM SIGGRAPH Chair<br>
        President, Daly Realism - <i>Creating the Future</i>
      </font></div>
  </body>
</html>