Jump to content

  • Log In with Google      Sign In   
  • Create Account






More...

Posted by Aph3x, 05 May 2008 · 118 views

More stuffage being done:

- Shaders simplified and unified to use global lighting properly.

- Lots more scripting and debug stuff - I can now execute Lua commands, show results and query data in a console-like debug interface. Had some fun trying to intercept stdout where Lua outputs its stuff, but in the end I just redefined the Lua print function to send me the string instead :P

- Experimented with the POWAH of scripting - in several lines of Lua I can set up a day lighting cycle, with the sun moving across the sky (currently excluding the fixed skybox textures. I'd like to try a procedural skybox render, but that can wait...) All this power will be available for mods (and allow me to develop things faster too.)





Wild!

I'm just curious -- I've always wondered why people go in for Lua over Python or better-known scripting languages. What's Lua's "secret sauce"?
For me it's:
- It's almost the same as C.
- It's more lightweight & faster than Python.
- It has LuaPlus, which makes things 10 times easier on the C-side!
- I use it at work already ;)

July 2014 »

S M T W T F S
  12345
6789101112
13141516171819
20212223 24 2526
2728293031  

Recent Entries

Recent Comments

Recent Entries

Recent Comments

Latest Visitors

PARTNERS