Skip to content

Instantly share code, notes, and snippets.

View letoram's full-sized avatar
💭
Migrating away from GitHub.

Bjorn Stahl letoram

💭
Migrating away from GitHub.
View GitHub Profile
function vrtest()
camera = null_surface(1, 1);
camtag_model(camera, 0.1, 100.0, 45.0, 1.33, 1, 1);
forward3d_model(camera, -10.0);
local cp = target_alloc("vrtest", function(source, status)
if (status.kind == "preroll") then
target_displayhint(source, 1024, 1024);
end
end);
Launching clients in arcan:
The main ways to use other applications are:
1. Xarcan xorg server
2. arcan-wayland protocol service
3. specialized Qemu/kvm backend
4. emulators via libretro
5. games via LD_PRELOAD hack on SDL1.2
6. games via specialized SDL2.0
7. custom arcan applications via arcan_lwa.