I’m developing an application in which I need to use GPU to quickly draw tub-like pipelines.
The application I am working on is mainly used for the layout of urban underground pipelines. So for me, too many triangles will only cause the decrease of fps. It is very important to draw a line and tube with volume by passing a series of coordinate points through shader.
when you say draw it with the shader do you mean you want to raymarch it or you want to use physical geometry like the example and just use a displacement algo on the vx?
Here would be a more traditional setup which is more or less what I was thinking you would need.
Pretty sure I could get a couple thousand pipes on here before you would notice any performance issues.
i am here for learning and i learn a lot from you and others @Rah if you wanna do faster you need think like GPU
it is important
thinking per vertex in vertexShader and per Pixel in FragmentShader
and imaging your in that point and have only that data that is all shader secret
Thank you for your reply. The application I’m working on involves millions of root canal data. I started to try to use LOD to optimize it, but the huge data will only cause the decline of fps, so I can only find out if one draw call can be processed directly through GPU.
not until we get tessellation shaders I don’t think.
Do you have a sample of the dataset I could see? I’m pretty sure a traditional set up could handle most things you will need to do as long as its set up correctly and optimized. The big fight you will have to do is make sure you keep your draw calls to a minimum.