dante-1

|
I programmed for at least 34 of the last 48 hours and made quite some progress. Here's a pic:
http://members.chello.at/robert.thoman/various/verge/dx8plugin.jpg
Those color distortion problems should be quite easy to fix, and everything else looks kinda OK as well. (note the 2 SetPixels in the upper left corner ;))
Two questions for tsb:
I could easily support
gfxRotScaleImage(handle img,int cx,int cy,float angle,int scale,bool transparent)
but it isn't in the Python docs and therefore I don't know if cx and cy are rotation centers or blitting coordinates... IMHO another coordinate pair is necessary (x,y).
In your Opengl plugin you use a LINEAR_NEAREST filter. Why? when scaling it's just plain ugly... However, I decided to stick with that "standard" for now.
Give someone a program and you'll frustrate them for a day,
teach someone how to program und you'll frustrate them for a lifetime.
Posted on 2001-08-21 12:26:13
|
andy

|
cx and cy are the centre of the image. angle is the amount of rotation. (0 being right-side up), scale.... should be a float too. @_x
You can handle the filtering any way you want, really. The whole idea is that the drivers are permitted to pursue any implementation they wish.
"Ignorance is its own reward" -- Proverb
Posted on 2001-08-21 18:54:31
|