QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Portage of Nehe tutorials 1 to 10 for PSPGL (v0.1)

This is a discussion on Portage of Nehe tutorials 1 to 10 for PSPGL (v0.1) within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hi ! You can get the ten first tutorials of Nehe modified to compile with PSPGL there: http://edorul.free.fr/psp/NeheTutorials1-10_v0.1.rar In this ...

Reply
 
LinkBack Thread Tools
Old 05-28-2006, 02:57 AM   #1
 
Join Date: May 2006
Location: France
Posts: 3
Trader Feedback: 0
Default Portage of Nehe tutorials 1 to 10 for PSPGL (v0.1)

Hi !

You can get the ten first tutorials of Nehe modified to compile with PSPGL there:
http://edorul.free.fr/psp/NeheTutorials1-10_v0.1.rar

In this archive you'll find :

- a mini tutorial to install PSPSDK and PSPGL

- "glut.c" which is a modified version of the one in pspgl. In pspgl there is no key repitition, you need to release and push again a key if you want your program to detect it again. With this modified version you can push arrows or triggers (but not start, select, cross, triangle, square and circle) and 'til they remain pushed they are detected and can be used by your program. (used in Nehe07, 08, 09 and 10).
To use it you need to replace the original one, compile pspgl and intall it again.

- Nehe01 : it's not a real Nehe tutorial but a skeleton for your future programs with a working Makefile. It initialises pspgl and give you all the functions in order to use PSP arrows pad, triggers, keys and joystick.

- Nehe02 to Nehe10 : they are adaptation of cygwin version of Nehe tutorials modified in order to run on a PSP.
You will notice in each folder a working Makefile, "psp-setup.c" needed to compile pspgl programs and "copy.sh" that permits to copy directly your program to your PSP without living cygwin, just type "./copy.sh".
All parts I've modified are maked by "@@@".

For the moment they are some bugs :
Nehe08 : if you use blend and light at the same time the cube disapear.
Nehe10 : Idem as Nehe08, and there is a clipping problem (as in all Nehe tutorials I have modified, but here it's very visible) -> if a point of a triangle is out of the clipping area the whole triangle is not drawn. It's specialy significant with the cell and floor.

Your feedbacks are welcome if you find a way to fix those bugs

I hope this archive will be usefull to someone.

Edorul

PS: Many Thanks to lostjared for is MasterPiece3D port to PSP : it gave me a good sample and not the least a working makefile !
Edorul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 05:48 AM   #2

Developer
 
Join Date: Mar 2006
Posts: 1,026
Trader Feedback: 0
Default

As I posted on the ps2dev.org forums Edorul this is excellent stuff and well commented code.

That clipping issue is an annoyance, but I'm sure it will be fixed eventually.
Insert_Witty_Name is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2006, 10:56 AM   #3
 
Join Date: Sep 2005
Posts: 30
Trader Feedback: 0
Default

good work!!
zarkon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
nehe , portage , pspgl , tutorials , v01

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 10:45 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us