Hey people,

I'm trying to soya.opengl.glEnable(soya.opengl.GL_POINT_SMOOTH) to
gain smooth points, but they still appear as squares. Is this a
hardware problem or a feature not implemented (soya 0.13).

Thanks,
Matti

### Example situation

class point(soya.PythonCoordSyst):
    def __init__(self,parent=None):
        soya.PythonCoordSyst.__init__(self,parent)
 def batch(self):
        return 2, self.get_root(), soya.DEFAULT_MATERIAL

    def render(self):
        root = self.get_root()
        pos = root.transform(self)
        color = list(soya.DEFAULT_MATERIAL.diffuse)
        soya.DEFAULT_MATERIAL.activate()
        soya.opengl.glEnable(soya.opengl.GL_POINT_SMOOTH)
        soya.opengl.glPointSize(50)
        soya.opengl.glBegin(soya.opengl.GL_POINTS)
        soya.opengl.glColor4f(*color)
        soya.opengl.glVertex3f(*pos)
        soya.opengl.glEnd()

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to