I am relatively new in the OpenGL scene, so I went straight for the beginner section…
I use OpenGL to code a scientific visualization piece of software… mostly 2D visu for now
I stumbled upon an issue when trying to implement a line fill type of plotting ability (something of this type: http://gnuplot.sourceforge.net/demo_4.3/fillbetween.1.png)
Of course I am thinking of writing an algorithm to map this space with triangles…but I am sure this is a classic task, some maybe there something ready-made for this?
I was wondering if a fragment shader would help…change the color of something based on where they lie in space? something like that…
On a similar topic, if I want to draw 1000 lines (filled) of 5000 points… I calculate roughly that I would need 7.5 millions triangles…
I see in the technical spec of my card (quadro fx1700) that it can render 191 millions triangles/sec, does that mean that
that I can render my scene 25 times / sec at max = rendering that scene would take 1/25 sec…?
Thanks for any answer!