LuaJIT
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
LuaJIT
LuaJIT was previously working in 32bits mode only, but LuaJIT 2.0 now supports 64bits platforms too so I am willing to replace (when built in release mode at least) the standard LuaVM with it.
It seems to be 100% API and ABI compatible with standard Lua distribution. (cf http://luajit.org/changes.html).
Also it's much faster than Lua VM (cf http://shootout.alioth.debian.org/u32/b ... &lang2=lua). This can give a performance boost when there are lots of units in the game simulation .
It seems to be 100% API and ABI compatible with standard Lua distribution. (cf http://luajit.org/changes.html).
Also it's much faster than Lua VM (cf http://shootout.alioth.debian.org/u32/b ... &lang2=lua). This can give a performance boost when there are lots of units in the game simulation .
=>;-D Penguin Powered
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Re: LuaJIT
Good news When the new release with folder-bug fix will be available?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: LuaJIT
By "folder bug" you mean the bug that makes cache unwritable ? Well I don't even know what's preventing it from working ...
=>;-D Penguin Powered
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Re: LuaJIT
Nope, i mean the bug, that prevents using of unpacked resources on windows.
Re: LuaJIT
greeting
And in this case we need a
lib or header pack for lua writer..
Re: LuaJIT
Oooh thank you! now i can make 300 PeeWees vs 1000 A.K.s army!
Re: LuaJIT
i don't know how it affects gameplay, but i've tested current svn with current git of mesa gallium drivers.
works like a charm, but i cannot see nanolathe particles. is that a known issue, or maybe it's a problem with current mesa?
works like a charm, but i cannot see nanolathe particles. is that a known issue, or maybe it's a problem with current mesa?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: LuaJIT
It's the first report we have with a regular mesa driver so if particles are enabled and aren't rendered then it's a bug. Check if particles are enabled in config menu, settings are initialized based on detected hardware and platform, maybe there are disabled.
Also nanolathe particles are rendered using point sprite, if this is not supported on your system, it won't render nanolathe particles. I'll definitely have to add an alternative path when point sprite is not supported.
Also nanolathe particles are rendered using point sprite, if this is not supported on your system, it won't render nanolathe particles. I'll definitely have to add an alternative path when point sprite is not supported.
=>;-D Penguin Powered
Re: LuaJIT
well, not quite the regular one.It's the first report we have with a regular mesa driver
it's the new gallium driver, from the experimental branch. it finally advertises opengl 2.1 support, while classic mesa has 1.3/1.4.
it still has its quirks.
if you can give some more technical info on those nanolathe shaders, i'll try to forward the info to mesa devs.
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Re: LuaJIT
Nanolathe particles are not shaders, they are simply quad polygons
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: LuaJIT
More precisely nanolathe particles are point sprites : points rendered as textured quads, we use this because you only have to send one vertex per particle to OpenGL.
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 17 guests