Current state of DirectX8 plugin.....
Displaying 1-4 of 4 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
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

dante-1

http://members.chello.at/robert.thoman/various/verge/dx8plugin2.jpg

next up: that strange image corruption AND alpha blended primitives.



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 14:07:12

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

dante-1

:)



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 19:32:52


Displaying 1-4 of 4 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.