DX9 / DX10 / DX11 - Smallest 1k / 4k intro framework?
category: code [glöplog]
yeah, i could heavily reduce the uncompressed code size by using asm (which also shows how bloated compiler output is), but of course also the compressed size initially.
but i used the free space to include additional code for controlling the few added effects and enabled crinklers safeimport again which may explain why the compressed size is slightly bigger in the final (and as posted previously i could reduce the music data by ~15 byte, so this compensates for the grown code)
finally i used the remaining space to reduce the crinkler hash size from 350 to 200MB, thats correct
but i used the free space to include additional code for controlling the few added effects and enabled crinklers safeimport again which may explain why the compressed size is slightly bigger in the final (and as posted previously i could reduce the music data by ~15 byte, so this compensates for the grown code)
finally i used the remaining space to reduce the crinkler hash size from 350 to 200MB, thats correct
I'd like to push this one. Is there a dx10/11 4k framework out there?
Search for "ultra lightweight" on the bbs... You will find an almost empty thread on that topic ;)
At least some guys are using dx10/11 for 4k.
At least some guys are using dx10/11 for 4k.
Hmm, good news: ARB_separate_shader_objects has Status:
http://www.opengl.org/registry/specs/ARB/separate_shader_objects.txt
That means, no nVidia only thing, which would make OGL 4ks way smaller than dx9 ones, right?
Quote:
Complete. Approved by the ARB on June 9, 2010.
Approved by the Khronos Board of Promoters on July 23, 2010.
http://www.opengl.org/registry/specs/ARB/separate_shader_objects.txt
That means, no nVidia only thing, which would make OGL 4ks way smaller than dx9 ones, right?
even better! http://www.opengl.org/sdk/docs/man4/xhtml/glCreateShaderProgram.xml this allows for several shader-source strings, allowing a nice code reuse!
Both nice indeed!
They didn't really do that?! WTF.
That's more or less a pure 4k hacker extension, there must be 4k coders @Khronos Board.
That's more or less a pure 4k hacker extension, there must be 4k coders @Khronos Board.
Already saved a LOT of space from my next 4k :D *full of joy*
(how does the alot of space look like?)
huge success.