w23 / jetlag_appear

appear by jetlag 4k intro sources
https://www.pouet.net/prod.php?which=75750
MIT License
40 stars 3 forks source link
4k demoscene glsl raymarching scattering

appear by jetlag

4k intro

FINAL VERSION

party version took 12th place at Revision 2018

Screenshot

Links

Credits

music, direction: keen

code, shaders: provod

Third-party tools and libraries used

Building and exploring

NOTE: requires beefy GPU. Expect 10-30fps on NVidia GTX Titan (~2013) or 20-60fps on AMD Radeon Fury X.

Tool

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.

On Windows

On Linux

Intro

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.

On Windows

Select yo29_asm project and desired configuration and build it.

On Linux

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.

Making video capture

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).

Greetings

License

MIT for tool and intro code. All third-party dependencies have their own licenses, go check them out.