 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Barts_706

Joined: 24 Jan 2006 Posts: 38
|
Posted: Wed Feb 01, 2006 12:14 pm Post subject: Are there any good tutorials for PSPGL? |
|
|
I have looked for them, but the only things I manged to find so far are the demos on the PSPGL webpage.
Probably that's just the way it is, but if anyone knows a good place that I might have missed (some particulary interesting forum discussion or anything else), I would be grateful for poiting it out to me. |
|
| Back to top |
|
 |
jsgf
Joined: 12 Jul 2005 Posts: 254
|
Posted: Wed Feb 01, 2006 3:27 pm Post subject: |
|
|
There isn't much specific to PSPGL. There's the stuff in pspgl/tests directory, and a couple of other demos, and some real program (rRootage, for example).
But in general my intention is to make PSPGL familiar to OpenGL programmers (if not actually identical to real OpenGL), so lots of the HeNe and other tutorials should work with little modification. And I'm always willing to consider additions to PSPGL to make it more useful. |
|
| Back to top |
|
 |
Barts_706

Joined: 24 Jan 2006 Posts: 38
|
Posted: Wed Feb 01, 2006 5:09 pm Post subject: |
|
|
So you are actually person behind it, right?
[sorry for my lack of knowledge, but I am releatively new to the PSP scene]
Well, I have already used OpenGL in combination with C++ for my visualisation programs, but I used mostly relatively basic and easy elements of it : display lists, basic lighting, basic shading, basic transparencies. No exquisite texturing, no more complicated matters. Objects mostly composed of triangle strips and fans. Generally I cannot claim to be an OpenGL expert.
I have read the information on http://www.goop.org/psp/gl/ and saw that the display lists mechanism (which I always thought of as a manner of speeding things up) is not present in the implementation of GL on PSP, and then a lot of things I mostly haven't even heard of before, so I admit I got a bit scared and was looking for some easy-going source to introduce me to how to use it on PSP.
So I guess I'll just download it, try to add it to my programs, compile examples and learn the hard way.
BTW, are there any particular twists in installing PSPGL? |
|
| Back to top |
|
 |
jsgf
Joined: 12 Jul 2005 Posts: 254
|
Posted: Wed Feb 01, 2006 5:36 pm Post subject: |
|
|
| Barts_706 wrote: | | So you are actually person behind it, right? |
Yup.
| Quote: | | Well, I have already used OpenGL in combination with C++ for my visualisation programs, but I used mostly relatively basic and easy elements of it : display lists, basic lighting, basic shading, basic transparencies. No exquisite texturing, no more complicated matters. Objects mostly composed of triangle strips and fans. Generally I cannot claim to be an OpenGL expert. |
Looks like you're well prepared for PSPGL though...
| Quote: | I have read the information on http://www.goop.org/psp/gl/ and saw that the display lists mechanism (which I always thought of as a manner of speeding things up) is not present in the implementation of GL on PSP, and then a lot of things I mostly haven't even heard of before, so I admit I got a bit scared and was looking for some easy-going source to introduce me to how to use it on PSP.
So I guess I'll just download it, try to add it to my programs, compile examples and learn the hard way. |
Yep. PSPGL is modelled on the OpenGL/ES subset, rather than full OpenGL. Things like display lists are very complex to implement, and even harder to make go fast. In principle a display list could give very high performance, but in general you can get there with other mechanisms.
In PSPGL, the vertex array is your friend. The extensions I've implemented in PSPGL, like vertex buffer objects, are mostly standard (ie, you'll find them on a desktop OpenGL), and you'll be able to get very close to 100% of the PSP's raw capabilities if you use them correctly.
Even plain old vertex arrays will get you better performance than plain old glBegin/End.
| Quote: | | BTW, are there any particular twists in installing PSPGL? |
"make install" should do it, assuming you have a current (SVN) version of the SDK and toolchain installed. |
|
| Back to top |
|
 |
Barts_706

Joined: 24 Jan 2006 Posts: 38
|
Posted: Thu Feb 02, 2006 11:32 am Post subject: |
|
|
Thanks for your replies. I'll try to meddle a bit with it and see what comes out. It is good to know that the author is here, so I already know where to ask my questions (surely there will be some).
Regards, |
|
| Back to top |
|
 |
|
|
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
|