<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 13, 2016 at 10:57 AM, Daven Hem <span dir="ltr"><<a href="mailto:osgforum@tevs.eu" target="_blank">osgforum@tevs.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We are currently developing new mineral prospecting aided software for local workings.<br>
I have to develop 3D VIEWER which can render 3D work place realistic on its screen.<br>
On our workings, there are many pipes, including internet, power, compressed air, water, phone …<br>
I am rendering 3D pipe in our 3d viewer.<br>
</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My problem is as following:<br>There are some points which define shape of pipe.<br>
a)      Draw line which pass through their points.<br>
b)      Draw curve which smooth the line, with line interpolation segments.<br>
It may be smooth line or spline or bezier.<br>
c)      Draw 3D pipe from this curve with parameters such as radius, section interpolation segments.<br>
Please review my attached image file.<br></blockquote><div><br></div><div>  I didn't see the attached file. I did some work like this previously for a petro-geophysical subsurface viewer depicting wells and such. We used all FFP because it needed to run onder Windows' Terminal Server environment where there was no OpenGL 2.x/shaders available. But As Nick says, today it would be best to use shaders to construct the polygons on the fly from the pipe centerlines.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">d)      Finally, simulate real-time animation of 3D pipe follows excavator.<br></blockquote><div><br></div><div>  So, you want to make a progressive animation of the excavator laying the pipe into the ground? With pipe deformation and stuff as it unrolls from a spool or something? It could be done, probably with only basic physics and not a full physics engine. how critical is this, because it's as much work as the rest of it put together, probably, and it sounds like it's just for show, not for a super necessary requirement.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please let me know the easy and fast solution! I hope your detailed advice.<br></blockquote><div><br></div><div>  There may not be an easy and fast solution that someone can just tell you by email.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks again.<br>
Kind reply.<br></blockquote></div><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8000001907349px">Legal/IP •</span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">Code Forensics •</span><span style="font-size:12.8000001907349px"> </span>Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]</div></div></div></div></div>
</div></div>