drawing a triangle


#1

I was just wondering how to draw a surface in openGL…? Is it always either a triangle or square…? What if I wanted to draw a B spline triangle surface or somthing. Is that possible?
Thanks in advance.

cheers,
-Will-


#2

See the GLU library for NURBS/B-Spline functions … for documentation see, "OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 1.4, Fourth Edition
" http://www.amazon.com/exec/obidos/tg/detail/-/0321173481/qid=1095242205/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/103-5565892-2419845?v=glance&s=books&n=507846

A great reference for everybody touching OpenGL code. Do a search on Google for tutorials if you dont want to wait or spend the money.

Best,

mk


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.