Hi I have code similar to this:
class Input(object):
def __init__(self, val):
self.value = val
def __get__(self, obj, objtype):
return self.value
def __set__(self, obj, val):
# do some checking... only accept floats etc
self.value = val
class
George Sakkis wrote:
> [EMAIL PROTECTED] wrote:
>
>
>>George Sakkis wrote:
>>
>>>Simon Bunker wrote:
>>>
>>>
>>>>Hi I have code similar to this:
>>>>
>>>>class Input(object):
>>>>
>>>
Carl Banks wrote:
> Simon Bunker wrote:
>
>>Hi I have code similar to this:
>>
>>class Input(object):
>>
>> def __init__(self, val):
>> self.value = val
>>
>> def __get__(self, obj, objtype):
>> return self.value
Hi
I was wondering if there is a Python module for running GLSL (OpenGL
shader language) in OpenGL through Python.
I think that Cg is available through PyCg - most likely using PyGame for
the OpenGL.
Has anyone done this with GLSL shaders?
thanks
Simon
--
http://mail.python.org/mailman/list