How can I?

BlitzMax Modules Forums/MiniB3D/How can I?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

you would enable GL_POINTS

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)