pspgl
Moderators: Shine, Insert_witty_name
pspgl
Looks like the pspgl library is more mature than last time I tried it and it works even on my 1.00 firmware PSP (at least this is what I've read from some SVN commit emails). And it has some extensions for the PSP special GU functions, so what do you think when I discard the 3D-GU support and add pspgl to Lua Player (again)? I'm not sure how the 2D operations integrates, but I think there are line operations and rectangles can be simulated with triangles, so perhaps this means that it would be even faster than now, because e.g. fillRect is currently implemented in software instead of using GU. Another advantage: it should be portable very easy to Windows and other systems and you can use standard OpenGL tutorials and sample code instead of the proprietary GU library.
Ok, looks like this is not really a question, only the implementation details needs to be discussed :-)
Ok, looks like this is not really a question, only the implementation details needs to be discussed :-)
what about leavin' the gu routines you already added and add gl?
so ppl can choose what to use?
note: Gu seems quite similar to gl so why throw away (ok the porting part makes sense!)
greets
lumo
PS: its like trying to hit a veloceraptor...
when my code is nearly finished luaplayer changes formats *argh*
so ppl can choose what to use?
note: Gu seems quite similar to gl so why throw away (ok the porting part makes sense!)
greets
lumo
PS: its like trying to hit a veloceraptor...
when my code is nearly finished luaplayer changes formats *argh*
This is difficult, because you can't linking both libraries in one program without problems.LuMo wrote:what about leavin' the gu routines you already added and add gl?
so ppl can choose what to use?
I'm sorry, but do you really have much code, which can't be converted to OpenGL in some minutes? And the current Lua Player GU support is very incomplete, I've mapped only those functions, which were needed for the 3D cube :-) But perhaps we should implement the loadable module support, first, then 2 graphics libraries could be loaded (exclusiv or): traditinal Gu based and pspgl based or even another self written lib.LuMo wrote:PS: its like trying to hit a veloceraptor...
when my code is nearly finished luaplayer changes formats *argh*
Shine asked us a valid question:
Shine's reason to replace GU Library with PSPGL:
Many of the replies to this topic suggest to keep both GU and PSPGL as an option. I am concerned with Lua Player being bloated with the option. Moreover, the co-existance might be too much confused to some new coders and even us.
I don't see any Lua scripts were written with using GU Library by anyone other than Shine and maybe a couple of guys. The more likely reason: GU is too scary for us to develop 3-D games. So, why bother to keep both libraries.
In fact, I am working toward to the implementation of OpenGL to Lua as an extension for any systems (currently, Windows.) If you are interested in joining with me, PM me.
Support OpenGL and PSPGL.
I highly recommend the replacement. I believe PSPGL is much closer to widely known OpenGL Library which has been with us for years.what do you think when I discard the 3D-GU support and add pspgl to Lua Player (again)?
Shine's reason to replace GU Library with PSPGL:
I hate the word "proprietary". That's why I am very much in favor of the replacement. You can find tons of documentation for OpenGL on Web network. Pray tell us where is a single document for GU Library.Another advantage: it should be portable very easy to Windows and other systems and you can use standard OpenGL tutorials and sample code instead of the proprietary GU library.
Many of the replies to this topic suggest to keep both GU and PSPGL as an option. I am concerned with Lua Player being bloated with the option. Moreover, the co-existance might be too much confused to some new coders and even us.
I don't see any Lua scripts were written with using GU Library by anyone other than Shine and maybe a couple of guys. The more likely reason: GU is too scary for us to develop 3-D games. So, why bother to keep both libraries.
In fact, I am working toward to the implementation of OpenGL to Lua as an extension for any systems (currently, Windows.) If you are interested in joining with me, PM me.
Support OpenGL and PSPGL.
Geo Massar
Retired Engineer
Retired Engineer
Didn't notice that comment before, but I have to challenge that. PSPGU is NOT proprietary. Look in the PSPSDK, it's sitting there BSD licensed, no secrets. Documentation for all the calls are available through doxygen, or if you're even lazier than that, through pspgl.h which every program that uses GU has to include. Sure it's not complete yet, but it's a work in progress, as a lot of other stuff is.KawaGeo wrote:Shine asked us a valid question:
Shine's reason to replace GU Library with PSPGL:I hate the word "proprietary". That's why I am very much in favor of the replacement. You can find tons of documentation for OpenGL on Web network. Pray tell us where is a single document for GU Library.Another advantage: it should be portable very easy to Windows and other systems and you can use standard OpenGL tutorials and sample code instead of the proprietary GU library.
GE Dominator
Ah, yes, from that aspect you are correct. I have played with the thought implementing it on PS2 though. :)Shine wrote:With "proprietary" I meant it's a Sony invention, used by PSP, only. OpenGL in contrast is available on nearly every system.chp wrote:Didn't notice that comment before, but I have to challenge that. PSPGU is NOT proprietary.
GE Dominator
What is "it"? Is Lua Player what you were thinking of? If so, please go ahead and with OpenGL, yes?. The more systems, the merrier it would be. :)chp wrote: I have played with the thought implementing it on PS2 though.
So far I have known DreamCast, GBA and Palm on that "Lua Player" was implemented whether completely or not.
Geo Massar
Retired Engineer
Retired Engineer
I just have a few questions about PSP GL. Considering that blit as well as drawing lines in PSP LUA are sort of slow will there be a considerate speed increase useing this system vs old system?
Another question is does it support object oriented layers allowing for a layer to be drawn below an object and be updated if that object is shown?
Oh and I would love to see some documentation on the LUA Tutorial about OGL and atleast an example on how to draw rudementry 2d objects.
Those are my 2 cents.
Another question is does it support object oriented layers allowing for a layer to be drawn below an object and be updated if that object is shown?
Oh and I would love to see some documentation on the LUA Tutorial about OGL and atleast an example on how to draw rudementry 2d objects.
Those are my 2 cents.