[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] GLSL Texturing example ? (and ctypes...?)



Hi Simon

An example of how to get texturing happening in GLSL, using Python ctypes.
This includes the setting active texture.

(Yes I'm a beginner, though I have got texturing working in 'normal' python opengl).

Cheers
Jon


Quoting Simon Wittber <simonwittber@xxxxxxxxx>:

> On 10/17/06, JoN <jon@xxxxxxxxxxxxxxxxxx> wrote:
> >
> >
> > Hello
> >
> > Any chance that these excellent demos:
> >
> > http://www.pygame.org/wiki/GLSLExample
> >
> > - could possibly be supported with a Texturing example in GLSL using python
> ctypes?
> >
> > I'm floundering a bit here.
> 
> What exactly are you after? An example shader program which does
> texturing, or an example of normal texturing in OpenGL?
> 
> -Sw.
> 




--------------------------------------------------------------------
Come and visit Web Prophets Website at http://www.webprophets.net.au