PDA

View Full Version : Lua Player OpenGL for Windows, PSP 1.0/1.5 and PS3



wraggster
December 29th, 2006, 18:29
Shine (http://forums.ps2dev.org/viewtopic.php?t=7303&sid=c312a140f62d99e07f5a4d92c768f399) has posted a new OpenGL Version of Lua Player for the PSP and PS3, heres the full details:


I've started to rewrite Lua Player with the SCons build management and based on OpenGL for all graphics output. For the PSP it uses pspgl, which has some limitations (see #ifdefs in common/LuGL.cpp). I have tested it on a firmware 1.0 and 1.5 PSP, but it doesn't use kernel mode, so it should work with other versions, too.

For Windows and PS3 all OpenGL functions should work (but currently textures are not implemented). The Windows version is compiled with Visual Studio .Net and should not need any Cygwin or other library (except the system libraries and opengl). The PS3 version should work on every 64 bit PS3 linux.

You can download all binaries and source code from http://www.luaplayer.org/LuaPlayer-OpenGL-preview4.zip . A sample animation is included in script.lua, which you can change. This is also very good on Windows or PS3 for learning OpenGL: Open script.lua in an editor, open a command line and after saving the script, restart the program. Hit Escape to exit the program.

Crrently o PSP the 3D rendering is very slow and the graphics looks wrong. Maybe someone has an idea how to fix it.

Would be nice to port it to Linux X11, too. Should be not too difficult: See common/luaplayer.h for the list of functions you have to implement and examples in the psp, ps3 and win32 implementations. On startup you have to call luaplayerMain, then the functions you provide will be called.

Download Here --> http://www.luaplayer.org/LuaPlayer-OpenGL-preview4.zip