<p dir="ltr">We could probably one or more PositionInterpolators with DEF/USE to position cones along a path. We could use a stretch float or interpolator and a direction to specify the percentange stretched between the two transforms.  We do need to remember our original goal too.  The primitive could be used for showing an airplane's travel along an air route or liquid filling a tube. We'd probably have a Geo version.  I'm open to existing solutions too.</p>
<div class="gmail_quote">On Feb 23, 2016 3:52 AM, "Yves Piguet" <<a href="mailto:yves.piguet@gmail.com">yves.piguet@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Useful, yes, but since it looks very much like a new kind of Transform, it might be more powerful to have a ConnectingTransform instead:<br>
<br>
ConnectingTransform {<br>
   end1 DEF-name1<br>
   end2 DEF-name2<br>
   children [...]<br>
}<br>
<br>
Then you can put other kinds of nodes in children, such as sensors, viewpoints, lights etc. With a PlaneSensor, for instance, you can move a shape between two other shapes.<br>
<br>
I guess ConnectingShape or ConnectingTransform would usually stretch the geometry. But sometimes we just want to put something in the middle (e.g. a small Sphere which remains spherical between two shapes), or multiple shapes (small cones to show a direction, could probably be achieved with USE in children and appropriate translations). We could add an SFBoolean field "stretch" to control that.<br>
<br>
Yves<br>
<br>
On 20 févr. 2016, at 02:14, Leonard Daly wrote:<br>
<br>
> Having a node that creates geometry between two other Transforms is potentially very useful. I think it is part of the layering component, though I never investigated that.<br>
><br>
> Would it server your purpose if the structure was part of X3D V4?<br>
><br>
> IOW, something like:<br>
><br>
> ConnectingShape {<br>
>    end1: DEF-name of one node (probably Transform)<br>
>    end2: DEF-name of another node (probably Transform)<br>
>    geometry {...}<br>
>    appearance {...}<br>
> }<br>
<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" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div>