FYI: OpenGL for Lua

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
anigreator
Posts: 36
Joined: Tue Mar 22, 2005 11:47 am

FYI: OpenGL for Lua

Post by anigreator »

Found this on my quest for better 2.5D lighting. Will be testing when I've finished my current projjy.

http://luagl.sourceforge.net/

Btw LM, I read somewhere that you were experimenting with OpenGL for UI and rendering previews in Moho... was this what you're using? The license is free for personal and commercial use, which is nice of those chaps over at MIT! :)

Cheers,

Chris
User avatar
Lost Marble
Site Admin
Posts: 2354
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Re: FYI: OpenGL for Lua

Post by Lost Marble »

anigreator wrote:was this what you're using?
No - all the drawing code in Moho is written in C++. Lua is only used for the tool and menu scripts that you see in the scripts directory.

The OpenGL experiments didn't go so well, by the way. It would sure be nice to get hardware acceleration, but there are things in Moho that really don't map well to the OpenGL way of thinking.
Post Reply