On Mon, Dec 29, 2008 at 1:51 AM, Aaron <[email protected]> wrote:

>
> I poked at this for a while and stumbled into making it work on my
> machine with GL_TEXTURE_RECTANGLE_ARG. Here is my modified file:
> http://pastebin.com/f160e4760 Also I was able to make a label display
> on the screen.


Nice job, that looks good.


> However my goal is to have a shader program that operates on two input
> textures, and also display labels to the same screen. Two things I
> can't seem to get working at the same time. I tried to modify your
> program so that the shader has a second input texture (tex1) but I
> don't think the shader is seeing the texture data. Any obvious mistake
> jump out to you?



The only thing I see that might be a problem, is that you haven't set a
filter mode for the second texture (not sure if pyglet sets one by default).

thanks,
> Aaron
>
> On Dec 25, 11:44 am, "Tristam MacDonald" <[email protected]> wrote:
> > On Thu, Dec 25, 2008 at 6:38 AM, Tristam MacDonald <[email protected]
> >wrote:
> >
> > > On Thu, Dec 25, 2008 at 3:34 AM, Aaron <[email protected]>
> wrote:
> >
> > >> I am interested in using this for my falling sand type game I have
> > >> another post about. However I was unable to get your game of life
> > >> example working on my macbook pro with an ati gpu. It showed a
> > >> constant black screen, even when resized. I'm pretty inexperienced
> > >> with debugging opengl so that's all the info I have right now.
> >
> > > I happen to have access to one of those machines this week, so I will
> test
> > > it our myself, and get back to you in a few days.
> >
> > All right, just had a chance to test this quickly, and it turns out that
> the
> > ATI X1600 in those models does not actually support non-power-of-two
> > textures. I wasn't able to get the texture_rectangle extension to do the
> > trick either, but I will give it another bash in a few days.
> >
> > As a side not, I owned one of those machines for over 2 years, and the
> > graphics card/drivers gave me more trouble than any other machine I have
> > ever owned. If you are serious about graphics programming, I advise
> > upgrading ASAP - even my anaemic Intel X3100 integrated is less trouble.
> >
> > Season's Greetings to all!
> >
> > --
> > Tristam MacDonaldhttp://swiftcoder.wordpress.com/
> >
>


-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to