you would enable GL_POINTS
something like this:
glpolygonmode can be points, line or fill. I hacked the miniB3D source to make a polymode for each entity (rather than a global one) it was just a matter of adding a field to tmesh
and putting the modechange withing the render loop.
I think Klepto and/or Simon are going to do that eventually anyway. (this way you can mix wireframe, filled and point meshes in the same scene and you do not need to Render the scene twice---you could just have a polycube and a wire cube together)
something like this:
Function Points_Mode(enable) If enable = 1 glEnable GL_POINT_SMOOTH glPointSize(8) glPolygonMode(GL_FRONT,GL_POINT) EndIf End Function
glpolygonmode can be points, line or fill. I hacked the miniB3D source to make a polymode for each entity (rather than a global one) it was just a matter of adding a field to tmesh
Field polymode:int
and putting the modechange withing the render loop.
I think Klepto and/or Simon are going to do that eventually anyway. (this way you can mix wireframe, filled and point meshes in the same scene and you do not need to Render the scene twice---you could just have a polycube and a wire cube together)