Drawing “point-like” shapes in OpenGL, indifferent to zoom

前端 未结 3 1759
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-21 03:00

I\'m working with Qt and QWt3D Plotting tools, and extending them to provide some 3-D and 2-D plotting functionality that I need, so I\'m learning some OpenGL in the process.

3条回答
  •  无人及你
    2021-01-21 03:28

    What you want is called a "point sprite." OpenGL1.4 supports these through the ARB_point_sprite extension.

    Try this tutorial

    http://www.ploksoftware.org/ExNihilo/pages/Tutorialpointsprite.htm

    and see if it's what you're looking for.

提交回复
热议问题