» SplinesGPU
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.


effect curve spline line gpu
Credits: http://paulbourke.net


given a set of 3d positions the shader interpolates to a higher resolution and calulates lines/curves/splines/ribbons with phong shading.


  • equal vs and ps version for ati cards
  • fixed texture coordinates
  • fixed thickness calculation for bezier
  • spelling and some code beauty


  • linear interpolation
  • cosine interpolation
  • cubic interpolation
  • b-spline (third degree)
  • tcb-spline (hermite interpolation with tension continuity and bias control
  • bezier (cubic)
  • piecewise bezier (cubic)


SplinesGPU 0.2.zip
11.11.11 [01:28 UTC] by woei | 3927 downloads
SplinesGPU 0.2 bug fixing
Show 1 older revisions

Older Revisions

SplinesGPU 0.1.zip
13.10.11 [03:46 UTC] by woei | 949 downloads
SplinesGPU 0.1 initial version

liquid 13/10/2011 - 05:49

that's huge! thxs for this!

alg 13/10/2011 - 11:27

This is amazing, but can you fix one bug- splines don't work on ATI cards, when PS compiled to 2_0. Just compile PS to 3_0 and it's works on ATI. Also, you need to enable antialiasing by default because without it thin lines looks ugly.

antokhio 13/10/2011 - 11:27

nice! super cool!

everyoneishappy 13/10/2011 - 16:25

These look stunning!
I was about to say moving the renderer on to a 2nd screen seems to stop the effects, but it looks like it's just the mesh subpatch needs reapplying.

Very cool.

lasal 13/10/2011 - 16:36

Thanks Woei, clean and useful as always.

u7angel 13/10/2011 - 18:23

wicked stuff. amazing, absolutely useful.

sanch 13/10/2011 - 19:31


tekcor 15/10/2011 - 15:37

wow this is amazing!

sinus 15/10/2011 - 15:52

thx woei!!!!!! hurra, dd

m4d 17/10/2011 - 20:20

totally missed this. awesomeness indeed!!1

Noir 12/11/2011 - 01:56


chico 24/07/2012 - 08:08

kickass stuff

zeos 25/07/2012 - 02:05

so cool ;) Thanks!

sansui 10/06/2013 - 19:49

this looks very nice.
I copied .fx files to vvvv folder/contributions/effects(root.v4p adding).
and I restarted vvvv.
but no .fx effects added in node browser.
I'm using vvvv45beta30x86. what is problem?

joreg 11/06/2013 - 00:00

sansui: this contribution is a collection of effects so according to nodes and paths you'll have to place the unzipped content into an \effects directory inside your "contribution" directory which you referenced in the root.

also note that this contribution didn't pack its helppatches correctly so you'll not be able to open them by pressing F1 on the respective .fx nodes but you'll rather have to open them manually from the directory.

sansui 11/06/2013 - 12:29

thanks! joreg.
I knew the instruction about paths. lately, because of reinstalling vvvv, I missed targetting contribution directory in root patch.
now after targetting the folder, it works well.

anonymous user login


~1d ago

joreg: absolutely. if it is for a repo that is public, just submit a pullrequest. otherwise please start a forum thread.

~1d ago

benjawmino: @joreg I ended up figuring out BezierSegment yesterday, so nevermind! Tell me, could a user submit a help patch? :)

~1d ago

joreg: @benjawmino please elaborate on this question a bit in a new forum thread. otherwise it is hard to answer..

~3d ago

benjawmino: so are there no splines/curves in gamma yet??

~6d ago

skyliner: wanna do drone shows or applications? then check this super cool project of our man e1n

~10d ago

NoseBleedIndustries: Thanks Joreg! The few minutes I was able to see, very good workshops!

~10d ago

joreg: @NoseBleedIndustries please give us some days, we'll have an announcement soon...

~10d ago

NoseBleedIndustries: I could not assist the Node20 (workshops ) Any Idea when we will have access to the links of the recordings?

~12d ago

bjoern: unity has c# bindings for usd, under apache license: https://github.com/Unity-Technologies/usd-unity-sdk