Opengl object extrusion

前端 未结 2 1016
时光取名叫无心
时光取名叫无心 2020-12-18 17:32

I\'ve got a 3d box drawn in opengl, can someone explain how to extrude objects in opengl? do i just translate further back in the z axis for each box?

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 18:10

    how to extrude objects in opengl

    You don't. OpenGL is a drawing API, not a geometry processing library. Look at libraries like GTS http://gts.sourceforge.net/

提交回复
热议问题