fPic news

I have fixed a couple of bugs, and added one interesting feature: fPic.displayImage(). It uses GLUT to open a window and OpenGL to draw the fPic. The code is crude in the sense that it’s mono-image only [create two fPic, display both and watch my code make a pig’s breakfast of your efforts], and doesn’t care much about checking your screen bounds vs the image’s. That’ll come in time. But it’s freaking fast. Like, very. Even on my tired TiBook, the most time-consuming task is creating the window. Copying bits to the buffer is something C code and PowerPC do well and fast.

I am not sure whether a command-line application [the intended target of fPic] is really in need of a GUI solution, even a limited one, but it sure comes in handy for me when checking the execution of new functions in fPic.

Leave a Reply

You must be logged in to post a comment.