Drawing primative triangle without being filled

Problems with Canvas, OpenGL, etc...

Drawing primative triangle without being filled

Postby svhopta » Wed Feb 06, 2013 7:14 am

All

I'm new at openGL programming and I can't seem to find an example of this.

I'm going through some of the tutorials and see how to draw triangles and squares, etc.

Can someone help me with the following:

How can I draw a triangle that is not filled with a color?

Is there a GL parm that I'm not finding that turns off the fill mode of the primative I'm drawing.

Any help or direction would be appreciated.

Thanks

Scott
svhopta
Freshman
Freshman
 
Posts: 2
Joined: Wed Nov 03, 2010 8:03 pm

Top

Re: Drawing primative triangle without being filled

Postby jonbonazza » Tue Feb 12, 2013 5:24 pm

To do this, you'd need to draw three lines individually.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests