[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] OpenGL (was blitting...)
On Mon, Nov 28, 2005 at 06:42:54PM -0500, R. Alan Monroe wrote:
> >> 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?
--
Randy Kaelber randy@xxxxxxxxxxxx
Scientific Software Engineer
Mars Space Flight Facility, Department of Geological Sciences
Arizona State University, Tempe, Arizona, USA