Software 3D Graphics Library for Sony PSP
greg | June 21, 2005
Rek from PS2NFO.com has released a library to try and help homebrew writers create 3D graphics in their programs. You can grab it from our downloads section or just click here.
what works:
Raster lines
Raster polygons
Filled raster polygons
3d lines
3d wireframe polygons
3d filled polygons
What’s still to be done:
Backface culling
Z-Buffering
Text rendering
User input library
The render library was designed to resemble OpenGL, but seriously stripped down. It does what it should, draw (flat) polygons. The raster library may also be of interest. Anyway, this is still very early and probably has a few bugs… Post them here and I’ll try to fix them up for the next release. The only problem that comes to mind at the moment is that the axis passed to rend_rotate must be normalized, since I haven’t got an implementation of sqrt() yet and can’t do it there.
trig.rb is a Ruby script that generates my precalculated sin, cos and tan tables.
All the library code (render.*, matrix.*, raster.*, test.c, trig.*) is under the BSD license. The rest (startup.S, param.sfo, icon0.png, etc) were taken from nemnem’s helloworld.
The demo program (eboot.pbp, test.c) is a sample of how to draw stuff. left, right, up, down, triangle, X, R and L to move the triangle around.
Comments (12)Affiliates
Video Games
PSP Hacks Archives
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005




Haha, i have no idea what that means.
I’ll be sure to try to try it out tho. ^_^
downloading now , ill post results of what i get going
Would we see a DS emulator for the psp. Or is it to powerful for the psp to emulate.
would probly be a bit hard to control. dont ya think?
The PSP is a ton more powerful than the DS. A DS emulator will probally show up;thier is already one for Windows
N64 BABY!!! ^_^
there will be no ds emu cause there is a toch screen
and no n64 cause there is to many botons
u never know..
if you can make a PSP 1/3 the size of a PSTwo i think we could get things going..
maybe in a couple years or so
No all bottons are used when playing N64 games. So I think they might make one but it will be slow.
fuq n64, we want dreamcast, and sega saturn!! bishes!!!
STFU asshole you don’t know what you’re talking about, playing N64 on the PSP is impossible so just keep on dreaming
although the psp is more powerful then the ds and n64 it take a whole lotta power to emulate the other systems so if they di get emu out for them it would be running at like 3 fps with 500 bps