<p dir="auto">r96 Chrome MacOS</p>
<p dir="auto">var path = new CurvePath();<br>
path.add( new LineCurve3( new Vector3( 0, 0, - distance / 2 ), new Vector3( 0, 0, distance / 2 ) ) );<br>
var tube = new TubeGeometry( path, 64, this.radius, 32, true );</p>
<p dir="auto">if closed is true, length is error.</p>
<p dir="auto">if closed is false, result is ok.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4333197/46579894-8a373800-ca4c-11e8-9117-3f9a369fc1fb.png"><img width="1125" alt="wx20181007-161702 2x" src="https://user-images.githubusercontent.com/4333197/46579894-8a373800-ca4c-11e8-9117-3f9a369fc1fb.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4333197/46579896-8dcabf00-ca4c-11e8-8c7c-e04149790189.png"><img width="317" alt="wx20181007-161719 2x" src="https://user-images.githubusercontent.com/4333197/46579896-8dcabf00-ca4c-11e8-8c7c-e04149790189.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4333197/46579897-8e635580-ca4c-11e8-93e6-a0893fc10b03.png"><img width="396" alt="wx20181007-161732 2x" src="https://user-images.githubusercontent.com/4333197/46579897-8e635580-ca4c-11e8-93e6-a0893fc10b03.png" style="max-width: 100%;"></a></p>
<p dir="auto">I'm reviewing the <a href="http://threejs.org/examples/#vr_video" rel="nofollow">http://threejs.org/examples/#vr_video</a> and there are two scenes to render a different part of the video corresponding to the left and right eye shot. But I thought if I will need to add some HUD elements, this option would make me hard to include 3D elements over this stereoscopic background.<br>
<strong>In this case, the right way would be included in a third scene? or duplicate in both scenes?</strong></p>
<p dir="auto">What I did (with an image instead a video) is to create 2 meshes (one for each eye) and changed StereoEffect and VREffect to make visible or hide each mesh on every render before "paint" every part of the scene.<br>
<strong>Makes sense? or will have a worse performance?</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5744112/7254440/5e595676-e843-11e4-9141-e18413a6e3d4.png"><img src="https://cloud.githubusercontent.com/assets/5744112/7254440/5e595676-e843-11e4-9141-e18413a6e3d4.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Example working &gt; <a href="http://www.unboring.net/lab/image3DPano" rel="nofollow">www.unboring.net/lab/image3DPano</a> (Cardboard &amp; Oculus)<br>
Source code &gt; <a href="http://www.unboring.net/lab/image3DPano/image3DPano.zip" rel="nofollow">www.unboring.net/lab/image3DPano/image3DPano.zip</a></p>