Preview for mesh pipe via custom curve preview

Hi,

I am looking for a way to visually approximate a mesh pipe via display conduit in a c# compiled component. My goal is to have a lightweight stand-in that is fast to calculate and render as calculating a mesh pipe for a very detailed path is too slow in my case.

is there a way to apply a gradient across (not along) a curve? this illustrator effect shows what I mean:

If this is not possible, are there any other methods for faking a bit of shading on a curve? Thanks!

Check out the GHGL project, this with a bit of shaders might do the job for you :slight_smile: