Loading OBJ Models File Format

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

Moderators: cheriff, TyRaNiD

Post Reply
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Loading OBJ Models File Format

Post by Dariusc123456 »

Well, I am tired of using .RAW file to load models for my game, so what sdk can I use to load OBJ files that I can use in C? I dont know if triEngine works with loading OBJ, but I will try it soon. I dont know if the psp will work with OpenGL, but I just need a small answer.
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

.obj is a simple format to parse, so you should probably search for the file specs rather than looking for a library.

Jim
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

You may say that, but it cause many problems with me parsing by my self.
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

There's lots of OBJ loading code out there. A simple google search turned this up:

http://www.gamedev.net/community/forums ... _id=490300

which points you to this example viewer program with source:

http://www.dhpoware.com/demos/glObjViewer.html
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

Thanks
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
Pihas
Posts: 53
Joined: Sat Oct 25, 2008 10:26 pm
Location: Lithuania
Contact:

Post by Pihas »

Maybe this will be helpfull:

Image

http://www.ghoti.nl/PSPtutorial12.php
Image
Cooming Soon
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

Its in C++, but I think I can transfer it to C.

I use 3D Studio Max... Its very expensive product, MilkShape 3D cost way less than this.
PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ?
steviedisco
Posts: 3
Joined: Tue Jun 09, 2009 10:47 pm
Location: London

Post by steviedisco »

For a good low-cost polygon modeller, you can't go wrong with Silo. Just my tuppence.
[wl]
Posts: 13
Joined: Fri May 05, 2006 2:16 am

Post by [wl] »

Dariusc123456 wrote:Its in C++, but I think I can transfer it to C.
what's wrong with c++? many commercial psp games uses c++ F.Y.I.
Post Reply