I'm new to openGl and I need some help. I've draw a tree thanks to glLineWidth() like that :
It works well but I want to use cylinders or quads to obtain something more "realistic".Code :glLineWidth(2); glBegin(GL_LINES); //créer une ligne glVertex3f(0,0,0); glVertex3f(0.0,2,0.0); glEnd(); glTranslatef(0.0,2,0.0);
The question is which object can I use to do this ? I think cylinders but I'm not sure. I've tried cylinders
but they are all distant from each others.
Thanks in advice !