Ticket #363 (enhancement)
Opened 2 years ago
Last modified 2 years ago
Function for free, OSLib
Status: closed (fixed)
| Reported by: | pspuser | Assigned to: | fraca7 |
|---|---|---|---|
| Priority: | minor | Component: | psp2d |
| Version: | current | Keywords: | oslib |
| Cc: |
Hello I've checked the OSLib functions and I honestly do not see the big advantages using it in place of psp2d/pspsnd. Well you can lock images, etc. but I cant see any more graphical functions to make a change. Is it that much faster or so? I keep using psp2d/pspsnd. Im also working on a Pygame game and I let create a trapezoid function. Its written in C and in general it allows to transform a rectangle into a trapezoid. You can pass over the amount of pixel one of the four rectangle corner should be moved into the rectange. The image will then be stretched based on the new shape. That way you can f.e. move a 2D wall into a 3D wall showing perspective. I have that funtion as source code and also compiled working inside Pygame (Windows, Linux, Mac). If you want to include this routine in psp2d I can give/upload this routine here if you tell me where and how. You can also send me a quick email so I can send it to you if interested (my mail: fash at hispeed dot ch). Greetings Tyger
Change History
04/22/07 10:39:56: Modified by fraca7
- status changed from new to closed.
- resolution set to fixed.

OSLib is probably faster since its author knows PSP graphics programming way better than me. It also has additional features, like rotation.