Re: [osg-users] How to draw 3D pipe?

2016-07-13 Thread Trajce Nikolov NICK
Hi, a)-c) is pretty easy and can be a good task to learn a bit of geometry shaders. I did this long time ago and it was not that hard. Might get you some code if I find it in the email archive. That might helps d) can you clarify more. I have seen this thing with physics and there are companies

Re: [osg-users] How to draw 3D pipe?

2016-07-13 Thread Trajce Nikolov NICK
Hi Daven, found the code that might get you started. It uses simple geometry shaders to draw 3D pipeline from a set of points interpolated by catmull rom spline https://groups.google.com/forum/#!topic/osg-users/o8ovoo271lA Havn't checked the code now, but I am sure it will work - it worked then

Re: [osg-users] Speedup simplifire

2016-07-13 Thread Robert Osfield
Hi Christos, The Simplifier was not written with goal of handling 32 million triangles in a single mesh, and not written with performance as a goal, it's goal has been as a basic tool for simplifying the types of meshes normally handled by OSG end users as a pre-processing step when speed to

[osg-users] How to draw 3D pipe?

2016-07-13 Thread Daven Hem
Dear, Sir I’m Daven Hem in Cambodia. Thanks for your reviewing. We are currently developing new mineral prospecting aided software for local workings. I have to develop 3D VIEWER which can render 3D work place realistic on its screen. On our workings, there are many pipes, including internet,

Re: [osg-users] How to draw 3D pipe?

2016-07-13 Thread Chris Hanson
On Wed, Jul 13, 2016 at 10:57 AM, Daven Hem wrote: > We are currently developing new mineral prospecting aided software for > local workings. > I have to develop 3D VIEWER which can render 3D work place realistic on > its screen. > On our workings, there are many pipes,

Re: [osg-users] Odd Text Distortion (Which Does Not Appear to Be Due to the 3.2 Bugfix)

2016-07-13 Thread Sam Jones
Hi, Thanks Robert! Your suggestion was exactly it! I kept trying for a solution involving the camera or something more complicated, completely dismissing that the problem could have been much simpler. Ha. I figured perhaps the text looking strange and also being off-center were related

[osg-users] Line tessellation with osgUtil::Tessellator

2016-07-13 Thread Valerian Merkling
Hi, To make it short, I want to tessellate a line to make it follow a grid. On the attached example, the red line on the top is my starting line, and I want to add every intersection of this line and a grid as vertex of this line. The expected result is the line in the bottom. I know I can do

Re: [osg-users] Osg application not running on window 10 , showing unhandled exception

2016-07-13 Thread Sebastian Messerschmidt
Hi Hi, My application is developed using vs2013 and osg 3.4 on window 8.1 It was working fine on window 8.1 , but when i switch to window 10 , it give run time error that is "unhandled exception was encountered during a user callback " Please help me in this regard why same application

[osg-users] Osg application not running on window 10 , showing unhandled exception

2016-07-13 Thread manish Choudhary
Hi, My application is developed using vs2013 and osg 3.4 on window 8.1 It was working fine on window 8.1 , but when i switch to window 10 , it give run time error that is "unhandled exception was encountered during a user callback " Please help me in this regard why same application running on

Re: [osg-users] Line tessellation with osgUtil::Tessellator

2016-07-13 Thread Sebastian Messerschmidt
Hi Valerian Ok thanks. One more question then if I can. My grid is textured and has elevation, and my goal is to nicely draw the line on my textured grid and make it follow the elevation. Resampling is what came first to my mind. There is also the osgSim::OverlayNode which seems to be

Re: [osg-users] Line tessellation with osgUtil::Tessellator

2016-07-13 Thread Valerian Merkling
Ok thanks. One more question then if I can. My grid is textured and has elevation, and my goal is to nicely draw the line on my textured grid and make it follow the elevation. Resampling is what came first to my mind. There is also the osgSim::OverlayNode which seems to be useful too, but i

[osg-users] Any recommendation on displaying spline surfaces?

2016-07-13 Thread Werner Modenbach
Hi all. I have to visualize objects defined by parametric spline surfaces. Is there any recommended way to do this in osg? Thanks for any hint - Werner - ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Speedup simplifire

2016-07-13 Thread Christos Chatzivagias
Hi, I have a geometry with 32 milion trias and i run a simplifier in order to simplify it. It takes to long to simplify the mesh is there any techinque to speed up this process? ... Thank you! Cheers, Christos -- Read this topic online here:

Re: [osg-users] Line tessellation with osgUtil::Tessellator

2016-07-13 Thread Glenn Waldron
Valerian, I recommend you look into the osgUtil::PlaneIntersector. For each segment of your line, construct a plane that is orthogonal to the grid. The PlaneIntersector will generate a Polyline containing all the points in that plane that intersect the grid. Glenn Waldron On Wed, Jul 13, 2016

Re: [osg-users] Line tessellation with osgUtil::Tessellator

2016-07-13 Thread Robert Osfield
HI Valerian, osgUtil::Tessellation if for tessellation not resampling. What you are asking for is a line resampling with very specific rules. The OSG doesn't have any such tool so you'll need to write this yourself. Robert. On 13 July 2016 at 10:24, Valerian Merkling