A few question about 3D and psp gu (C/C++)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Poison_xtreamlua
Posts: 12
Joined: Fri Aug 10, 2007 2:03 am

A few question about 3D and psp gu (C/C++)

Post by Poison_xtreamlua »

Hi there,

After creating some homebrew coded in C and C++ , I would like to code 3D application. But I don't know how to start ???

First : What is the 3d filename extension used by the psp, is it .raw ?
Second : I use Blender to create my objects, so how can I create this kind of extension with it ?

To begin I just would like to print a real 3d square on my psp (I think it's not very hard...)

I've looking for on lot of forum (xtreamlua.com, playeradvance.org, psp-programming), google too. And in this forum, but no match/topic found about 3d ???

You're my last hope.

Thanks a lot to read me, i hope you'll can help me.

PS : I don't know if it's important or not, but I'm programming on linux (ubuntu)...

Thanks ;-)
rapso
Posts: 140
Joined: Mon Mar 28, 2005 6:35 am

Re: A few question about 3D and psp gu (C/C++)

Post by rapso »

Poison_xtreamlua wrote: First : What is the 3d filename extension used by the psp, is it .raw ?
Second : I use Blender to create my objects, so how can I create this kind of extension with it ?
I think there no standard 3d fileformat for the homebrew-psp stuff.
you are free to make a loader for whatever fileformat you would like to use.
Ghoti
Posts: 288
Joined: Sat Dec 31, 2005 11:06 pm

Post by Ghoti »

Hiya at the moment I am busy with 3D programming, as for your questions: as far as I know there is no native 3D object file which the psp handles such as the x file for directx or something like that. I created my own 3D file reader, I use .obj files which I find very easy to read but for animating and more complex stuff it is not the best choice, you should check the md2 format or whatever other are great for that if you need animations and more difficult stuff. Obj files however are very simple and it may be a good choice, just to get the hang of things, before getting to work with some more difficult formats.

as for your second question well it really depends on what file format you want to use. There are also alot of 3D engine available if I am not mistaken so you can use that also if you don't want to create your own.

hope this info helps a bit

ghoti
Poison_xtreamlua
Posts: 12
Joined: Fri Aug 10, 2007 2:03 am

Post by Poison_xtreamlua »

Ok, then we can load a lot extension filename :) , thanks for your answer
Post Reply