forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Poison_xtreamlua



Joined: 10 Aug 2007
Posts: 12

PostPosted: Fri Aug 10, 2007 2:31 am    Post subject: A few question about 3D and psp gu (C/C++) Reply with quote

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 ;-)
Back to top
View user's profile Send private message
rapso



Joined: 28 Mar 2005
Posts: 147

PostPosted: Fri Aug 10, 2007 3:10 am    Post subject: Re: A few question about 3D and psp gu (C/C++) Reply with quote

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.
Back to top
View user's profile Send private message
Ghoti



Joined: 31 Dec 2005
Posts: 288

PostPosted: Fri Aug 10, 2007 7:02 am    Post subject: Reply with quote

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
_________________
My PSP games:

Boxy II: http://www.ghoti.nl/boxyii.php
Elementals: http://www.ghoti.nl/Elementals.php
Back to top
View user's profile Send private message
Poison_xtreamlua



Joined: 10 Aug 2007
Posts: 12

PostPosted: Fri Aug 10, 2007 8:46 pm    Post subject: Reply with quote

Ok, then we can load a lot extension filename :) , thanks for your answer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group