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 

Portage of Nehe tutorials 11 to 20 + PSPGL modified

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



Joined: 27 May 2006
Posts: 7
Location: France

PostPosted: Wed Jul 19, 2006 9:30 pm    Post subject: Portage of Nehe tutorials 11 to 20 + PSPGL modified Reply with quote

Hello,

I've continued my portage of Nehe tutorials to PSPGL.
You can find it here:
http://edorul.free.fr/psp/NeheTutorials11-20.rar

In this archive you will not find Nehe tutorials 13, 14, 15 and 18.
Because for 13, 14, 15 we need a font system and for the 18 we need too many functions not implemented in PSPGL.

---

In order to port some of those tutorial I needed to modify PSPGL. You will need this version in order to compile and run all the tutorials.
You'll find my modified version of PSPGL here:
http://edorul.free.fr/psp/pspgl_modified.rar

The modifications are (you can also read "_change.txt" in the archive for a more detailled list):
- you can modify the keys repeating with function "glutKeyRepeat" (beware this function doesn't exit in real OpenGL)
- a bug in glFog is fixed
- I made Display Lists "flavour" functions: it's not as efficient as the real one but (at least) it's compatible. Not all PSPGL functions are supported in Display lists but you can modify them easily (glTexCoord4f IS THE PERFECT SAMPLE FOR DISPLAY LISTS MODIFICATION but don't forget to add function's prototype and an enum element at the end of "pspgl_internal.h", add function code in "glDisplayList.c" and function's name in __pspglFunctionToCall array allways in "glDisplayList.c")

---

Some last words :
- I do not plan to port much more Nehe tutorials.
- I hope if you modify some fuctions to make them compatible with display lists you'll send me the code (write PSPGL in the subject of the mail else it will be automatically erased)
- I hope someone will fix the clipping problem in PSPGL!!!!!
- if you make some cool stuff PLEASE SHARE it with the PSP community and post your code :)
Back to top
View user's profile Send private message Visit poster's website
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Thu Jul 20, 2006 7:09 pm    Post subject: Reply with quote

Thanks again! This has been such a great help to me so far ... And as you see I have already been sharing my code. ;)

I hope someone (jsgf?) picks this up with you so you can merge the PSPGL source tree in SVN with the new functionality properly.
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