Page 1 of 1

[Tutorial PSP] - GL Support in PSPQuake - PSPGL

Posted: Fri Jan 29, 2010 4:42 pm
by Team Xlink
Hello.

Today I learned how to do something that is very nice and useful.

I learned how use GL when compiling anything (Quake for example) for the psp.

it is very useful for anyone working with PSP Quake.

Step 1.

Make sure you can compile for the PSP if not go to this link and follow the tutorial.

http://forums.inside3d.com/viewtopic.php?t=1667


Step 2.

Launch Cygwin and type this in:

svn co svn://svn.pspdev.org/psp/trunk/pspgl

When it finishs move onto Step 3.

Step 3.

Type this:

cd pspgl

Step 4.

Type make

When it finishes move onto Step 5.

Step 5.

Type make install

When it finishes your done. But there is more info here.

Optional Stuff.

Step 6.

Now if you want to know how to use it then download this:

http://edorul.free.fr/psp/NeheTutorials1-10_v0.1.rar

^Credit for the link goes to edorul.free.fr^

That includes 10 tutorials on using PSPGL.

Thank you for reading.

Credit
Nehe for the tutorials
PSPGl Author
Team Xlink

Posted: Fri Jan 29, 2010 5:45 pm
by Baker
Sounds cool. It doesn't worry me a little that PSPGL might not be totally "OpenGL" compatible. I wonder about the performance differences between it and PSPGU (the native PSP 3D API for those that do not know).

Either way this is great information to have available. Thanks!

Posted: Fri Jan 29, 2010 11:11 pm
by Downsider
PSPGL is just a wrapper that calls the same functions PSPGU does. It's for the ease of programmers that are more familiar with OpenGL than the PSP's GU.

Posted: Thu Jun 03, 2010 11:06 pm
by Mexicouger
I'm probably asking a dumb question, But How Do I tie this in with kurok?

And Can I add hlbsp to the psp engine after I do this tutorial?

Posted: Fri Jun 04, 2010 3:36 am
by Downsider
There's no reason to use this unless you have prior OpenGL experience and are too lazy to learn PSPGU.

And you clearly have zero experience.

Posted: Fri Jun 04, 2010 8:43 am
by mh
hlbsp has absolutely nothing to do with the rendering API chosen, you can add it right now if you want.

Posted: Fri Jun 04, 2010 6:39 pm
by Baker
And Can I add hlbsp to the psp engine after I do this tutorial?
Most graphics tutorials don't directly translate to the PSP very well due to hardware contraints and working within a framework of memory limitations.

Posted: Sat Jun 05, 2010 1:50 am
by Downsider
If you want to have the most optimal experience with HLBSP on the PSP, you must:

1) Upload them as 8 BPP instead of 32 (Baker's tutorial does 32)
2) Compress them to one of the DXT formats upon loading them.

Posted: Sat Jun 05, 2010 10:19 am
by Mexicouger
Hmm, Well that's one step closer to Getting hlbsp I guess.

And I do have 0 experience, But I'm willing to learn. I am not a lazy modder, If I need to do something, I will get up and do it.

So I am gonna try my best to mod the kurok engine a bit. And Baker, Whatever happened to that awesome PSP engine you were working on that Combined all the engines?

Posted: Sat Jun 05, 2010 6:06 pm
by Baker
Mexicouger wrote:And Baker, Whatever happened to that awesome PSP engine you were working on that Combined all the engines?
Time limitations mostly. From February until about a week ago, I had very little free time and the quality was low. This week was different and I got to actually do some stuff for a change ;)

Maybe the trend will continue, I hope so ...

Posted: Sat Jun 05, 2010 9:10 pm
by Mexicouger
I hope will all my hopes that You will come through with this PSP engine...

It would make the psp quake 1 community like so much better and easier

Posted: Sun Jun 06, 2010 12:28 pm
by Spirit
The bar already seems pretty low.