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

Re: [pygame] OpenGL (was blitting...)



>> >> One other thing that nobody ever told me, nor did I see on any
>> >> website, is that OpenGL is really really similar to Postscript in
>> >> some ways. If someone had told me that going in, I would have picked
>> >> it up faster because I monkeyed around with scratch-writing Postcript
>> >> by cribbing from the PS Blue and Red books back in the day.
>> 
>> > Thanks for that, Alan!  You just gave me my first OpenGL "Aha!" moment. So 
>> > with an OpenGL program, I am effectively writing a program that writes 
>> > another program.
>> 
>> I'm not so sure about that aspect, which isn't all that similar to
>> opengl. I was thinking of the commands like moveto, lineto, rotate,
>> showpage and postscript's graphics state stack.

> Well, maybe not so much a "program", but I'm manipulating a stateful 
> "thing" that accepts commands, which is kind of a dumb kind of 
> programming, yes?

Exactly!

Alan