PSP-Hacks.com

Join the Dashhacks Fan Club on FacebookFollow Dashhacks on TwitterDashhacks YouTube ChannelPSP-Hacks RSS Feed

Hack your Sony PSP

Forums | Tutorials | Custom Firmwares | PSP Themes | Search


 

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.

Share This With...
  • Facebook
  • Digg
  • Twitter
  • RSS
  • Slashdot
  • Technorati
  • del.icio.us
  • Reddit
  • Blogosphere News
  • HackerNews
  • StumbleUpon
  • Google Bookmarks
  • email
Comments (12)

Tagged:

RSS feed | Trackback URI

12 Comments »

Comment by evolsoulx
2005-06-21 17:52:35

Haha, i have no idea what that means.

I’ll be sure to try to try it out tho. ^_^

 
Comment by Jayque
2005-06-21 18:02:31

downloading now , ill post results of what i get going

 
Comment by goodnews
2005-06-21 19:06:33

Would we see a DS emulator for the psp. Or is it to powerful for the psp to emulate.

 
Comment by wiley
2005-06-21 19:12:19

would probly be a bit hard to control. dont ya think?

 
Comment by Jared
2005-06-21 20:49:18

The PSP is a ton more powerful than the DS. A DS emulator will probally show up;thier is already one for Windows

 
Comment by Raven
2005-06-21 21:02:16

N64 BABY!!! ^_^

 
Comment by danee92
2005-06-21 21:17:22

there will be no ds emu cause there is a toch screen
and no n64 cause there is to many botons

 
Comment by fLuffer nutteRz
2005-06-21 21:29:02

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

 
Comment by goodnews
2005-06-21 22:37:36

No all bottons are used when playing N64 games. So I think they might make one but it will be slow.

 
Comment by 1smurf
2005-06-22 00:43:49

fuq n64, we want dreamcast, and sega saturn!! bishes!!!

 
Comment by Smart
2005-06-22 06:38:45

STFU asshole you don’t know what you’re talking about, playing N64 on the PSP is impossible so just keep on dreaming

 
Comment by dave
2005-06-22 19:53:26

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

 
<< Login :: Register >>
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)


Affiliates



Video Games






PSP Hacks Archives