View Full Version : Quantique vertex shader Oo

03-11-2005, 05:53 AM
I want to build a generalized tube using GLSL.
I just create some vertex with glVertex(0, 0, 0) into a for loop and a vertex shader must to set the right position of points on the tube.

My problem is that I count more point on screen that I draw ... In fact, my program draw 2 points for each points I create with glVertex. One on the tube and one on the spline generate the tube. :eek:

It's really strange for me, so I have release a little demo that show the problem. Please download it at http://groove.g-truc.net/0003.zip and explaint me what append.

Thanks ;)