4k intro
FINAL VERSION
party version took 12th place at Revision 2018
music, direction: keen
code, shaders: provod
NOTE: requires beefy GPU. Expect 10-30fps on NVidia GTX Titan (~2013) or 20-60fps on AMD Radeon Fury X.
Sources contain the tool that this intro was made in. Tool is in fact a really minimalistic file-monitor-shader-reloader.
Tool uses atto for window creation/OpenGL init/user input. So do git submodule update --init
first.
Hit e
to export current version of shader as main.shader.glsl
file. It requires manual editing to be usable for intro compilation, see comments inside the file.
Tool also supports wsad+mouselook camera, but you'll need to uncomment this line in shader (don't forget to comment it back when exporting): //O = $(vec3 cam_pos) * 3.; D = -normalize($(vec3 cam_dir));
Hit p
to print current camera coordinates into console window.
intro.sln
dump_audio
project to generate audio.raw
file. Beware that 4klang/track is kind of unstable and may crash. There's no known fix for that.tool
project using Debug
configurationrun_tool.bat
make
. It will automatically pregenerate audio.raw
(takes about a minute) and then run the tool.There are a few options to make intro executable:
All dependencies (e.g. GLSL minification) are handled automatically.
There are also separate C and assembly versions. They are functionally very similar, but asm compresses better.
Select yo29_asm
project and desired configuration and build it.
make win32-fast
will build Release as appear-fast.exe
make win32-slow
will build ReleaseSlow as appear-slow.exe
NOTE that for some reason Windows and Linux will produce different exes with different sizes for same targets (up to 20 bytes difference was observed, without any stable preference). Reason for this is not known, but they both run on Windows just fine.
There are also appear.sh
and appear.dbg
Linux targets, but they crash due to 4klang instability.
Perfect 720p60 video capture can be made on Linux by running make capture
. It will take quite some time to generate and encode the resulting video (about 30 minutes on my machine, but YMMV).
MIT for tool and intro code. All third-party dependencies have their own licenses, go check them out.