Page 1 of 1

3D curve with gradient color

Posted: Wed Jun 03, 2020 3:42 am
by Frank Matyas
Hello I would like to draw 3D curves(polylines) using a linear gradient pattern, is it possible with dgkernel?

Re: 3D curve with gradient color

Posted: Thu Jun 04, 2020 2:50 am
by Michael_777
Have a look at the Lines sample. It has per vertex check box and allows changing colors.
If your curve is parametric and you need it for something else you can add the sampled line for rendering only (as a child perhaps) and make the original one invisible.
regards