title: How can I draw single 3D points?
body: <p>I am using Python 3 with PyOpenGL and I need to draw single points in space. I know a point does not have volume, but I do not know if there is an easy way of drawing a point/sphere at certain coordinates. 
  Edit: I am using opengl inside of pygame and inside a tkinter gui</p>
  
  <p>I have tried the following code:</p>
  
  <pre class="lang-py prettyprint-override"><code>glEnable(GL_POINT_SMOOTH)
  glBegin(GL_POINTS)
  glColor3d(1, 1, 1)
  glPointSize(200)
  glVertex3d(1, 1, 1)
  glEnd() # This throws an error
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Exception in Tkinter callback
  Traceback (most recent call last):
    File "C:\Program Files (x86)\Python37-32\lib\tkinter\__init__.py", line 1702, in __call__
      return self.func(*args)
    File "C:/Users/reas/Desktop/Programación/Dibujo/Dibujo.py", line 65, in vista_alzado
      glEnd()
    File "C:\Program Files (x86)\Python37-32\lib\site-packages\OpenGL\latebind.py", line 61, in __call__
      return self.wrapperFunction( self.baseFunction, *args, **named )
    File "C:\Program Files (x86)\Python37-32\lib\site-packages\OpenGL\GL\exceptional.py", line 45, in glEnd
      return baseFunction( )
    File "C:\Program Files (x86)\Python37-32\lib\site-packages\OpenGL\platform\baseplatform.py", line 409, in __call__
      return self( *args, **named )
    File "C:\Program Files (x86)\Python37-32\lib\site-packages\OpenGL\error.py", line 232, in glCheckError
      baseOperation = baseOperation,
  OpenGL.error.GLError: GLError(
      err = 1282,
      description = b'operaci\xf3n no v\xe1lida',
      baseOperation = glEnd,
      cArguments = ()
  )
  </code></pre>