Repository navigation
Releases
v0.2.6 - True-3D world + upside-down fix
v0.2.6 - True-3D world geometry + upside-down fix (instrumented)
Two confirmed root causes fixed in this build:
- Upside-down image: GL writes swapchain images bottom-up while the
OpenXR compositor samples them top-left-origin. Projection Y is now
negated for all view-transformed content and the clip-space quad samples
the framebuffer unflipped — every render path presents upright. - No 3D room visible: the attract demo runs under
GS_LEVELwith
demoplayback, which the old gate excluded — so the app stayed on the
2D panel. The 3D world path now engages on anyGS_LEVELframe with a
player mobj, so the demo itself renders as real geometry at boot.
Prove it on-device
adb logcat -s QuestDOOM DoomCore now prints:
=== quest-doom v0.2.5+3dworld starting ===— build stampQuestDOOM: RENDER_MODE: 3D_WORLD— real geometry is being drawnQuestDOOM: RENDER_MODE: 3D_WORLD (drawn N walls, M flats, K sprites ...)
periodically — actual triangle/polygon counts, not a framebuffer quadQuestDOOM: RENDER_MODE: WORLD_PANELon title/menus (expected — 2D
content stays on a world-locked quad by design)QuestDOOM: RENDER_MODE: 3D_WORLD fallback -> SOFTWARE_QUAD, reason: ...
if geometry could not be built, with the exact cause
Renderer
Wall quads from BSP segs (upper/lower/masked-mid by sector heights),
floor/ceiling fans from subsector rings, billboard sprites from mobj
thinkers with 8-way rotations, PLAYPAL-decoded textures, sector lighting —
all through real per-eye view+FOV with 6DOF (true pitch/roll). Hand
skeletons share the same space/depth. Gameplay, input, WAD handling
unchanged.
Still a prototype — not "full 3D"
No HUD/status bar or weapon viewmodel in the 3D view, no sky dome, no
per-column sprite clipping, no mipmaps, texture pegging approximated.
Install
adb install -r quest-doom-debug.apk — verify the build stamp in logcat to
confirm the device is really running this APK.
v0.2.5 - True-3D world geometry prototype
v0.2.5 - True-3D level geometry renderer (prototype)
In-level gameplay now renders DOOM's world as real GLES3 triangles — not the
software framebuffer on a quad. Geometry is rebuilt every frame straight from
the engine's parsed level data, so moving doors, lifts, lifts and animated
lights behave correctly:
- Walls: quads from BSP segs with upper/lower splits from front/back sector
heights, plus alpha-tested masked midtextures - Floors/ceilings: triangle fans from each subsector's convex seg ring
(sky flats skipped) - Sprites: cylindrical billboards for all mobj thinkers (monsters, items,
projectiles) with correct 8-way rotation frames and sector lighting - Textures: DOOM wall textures, flats and sprite patches decoded via PLAYPAL
and cached as GL textures - Camera: a doom->app-space model matrix anchors the world onto the real
tracked head pose; the located per-eye view+FOV supplies the projection —
true 6DOF with real pitch and roll (the Y-shear hack is bypassed in 3D) - Hand-tracking skeletons render in the same space with depth testing
Gameplay, input, hand tracking and WAD handling are unchanged. Menus, title,
intermissions, automap and demos still use the software frame (world-locked
panel / immersive quad).
Prototype scope — honest limitations
- No HUD/status bar or weapon viewmodel in the 3D view yet
- Sky ceilings render as void (no sky dome); no visplane-style sprite clipping
- No mipmaps; texture pegging approximated; geometry rebuilt per-frame
- Still not verified on a physical Quest — no OpenXR runtime in CI
Path 2 investigation (GLBoom/PrBoom+)
Audited for Android: GLBoom's renderer targets desktop OpenGL 1.1/1.2/2.0
(fixed-function + ARB-assembly shader paths, paletted-texture extensions,
SDL windowing/context). A GLES3 port exists only as commercial
D-Touch-style conversions; adopting it needs a GL->GLES translation layer
(e.g. gl4es) or a rewrite — heavier than the native renderer landed here.
Not integrated; native path recommended. Chocolate Doom has no hardware
renderer at all (software only), so it was ruled out.
Install
adb install -r quest-doom-debug.apk, launch as "Quest DOOM"
(or adb shell am start org.communitypoke.questdoom/android.app.NativeActivity).
Includes all prior fixes: xrInitializeLoaderKHR init, ANativeActivity_onCreate
export, swapchain glFinish, world-anchored panel, frame-loop instrumentation.
v0.2.4 - Fix black frames + frame-pipeline instrumentation
Presentation fix + diagnostics release — resolves the "session runs but everything is black" symptom.
Fixed
- Black frames: swapchain images were released to the compositor without a
glFinish(), so the runtime could present texture contents before our GPU work completed. Rendering is now guaranteed complete before release. - Menu panel out of view: the world-locked quad used a blind fixed offset that could land behind/above the user depending on whether STAGE or LOCAL won. The panel now anchors once, 2.4 m in front of wherever the user faces at spawn (yaw-flattened), and never re-anchors — still world-locked, never VIEW-space. Corrected quad facing and texture V-flip.
New diagnostics
QuestDOOM logcat now reports: named session-state transitions (IDLE→…→FOCUSED), xrBeginSession result, xrWaitFrame/xrBeginFrame/xrEndFrame error codes, a frame heartbeat every 120 frames (frame #N shouldRender=…), submitted layer count, xrLocateViews failures/validity flags, panel placement pose, and render-mode switches (panel vs immersive).
If the compositor still shows black after this build, capture adb logcat -s QuestDOOM DoomCore — the logs now pinpoint where in the frame pipeline it stalls.
Install
adb install -r quest-doom-debug.apk
adb shell am start org.communitypoke.questdoom/android.app.NativeActivityv0.2.3 - World-space VR + hand skeletons
Formal release of the world-space VR update.
Highlights
- World-space rendering: the app prefers
XR_REFERENCE_SPACE_TYPE_STAGE(floor-calibrated, stable across guardian changes) withLOCALfallback. A single app space drivesxrLocateViews, hand-joint location, the aim action space, and the projection layer;XR_REFERENCE_SPACE_TYPE_VIEWis used only to read the head pose — no content is rendered relative to VIEW space. - No more HMD head-locking: 2D frames (title, menus, intermissions, demo playback) render on a world-locked quad at a fixed pose instead of a clip-space quad glued to the HMD. In-level gameplay is true first-person stereo — each eye gets its own rendered view with real IPD separation and 6DOF camera coupling.
- Tracked hand skeletons:
XR_EXT_hand_trackingstreams 26 joints per hand, rendered as joint knuckles + 28 anatomical bone segments per hand, per-hand tinted, depth-tested. Graceful controller fallback when tracking is inactive.
Includes all prior fixes: xrInitializeLoaderKHR init, ANativeActivity_onCreate export, conditional XR_EXT_hand_tracking, bundled shareware doom1.wad.
Install
adb install -r quest-doom-debug.apk
adb shell am start org.communitypoke.questdoom/android.app.NativeActivity
# optional, for hand tracking:
adb shell pm grant org.communitypoke.questdoom com.oculus.permission.HAND_TRACKINGv0.2.2 - World-space VR + hand skeletons
World-space VR update — the game is no longer a head-glued 2D window, and tracked hands render as real skeletons.
Changed
- Head-locking removed: non-level frames (title screen, menus, intermissions, demo playback) previously rendered as a clip-space fullscreen quad — literally a 2D window glued to the HMD. They now render onto a world-locked quad at a fixed pose in the app space, so 2D content stays put in the room while you move. In-level gameplay remains true first-person: each eye renders the DOOM world with its own located view pose and real IPD separation — the rendered texture is the eye's view, not a canvas.
- Reference space: the app now prefers
XR_REFERENCE_SPACE_TYPE_STAGE(floor-calibrated, stable across guardian changes) withLOCALfallback. One consistentappSpacedrivesxrLocateViews, hand-joint location, the aim action space, and the projection layer.XR_REFERENCE_SPACE_TYPE_VIEWis used only to read the head pose — no content is rendered in or relative to VIEW space. - Visible hand skeletons:
XR_EXT_hand_trackingstill streams all 26 joints per hand; they now render as joint knuckles plus 28 bone segments per hand following the anatomical chain (wrist → metacarpals → proximals → intermediates → distals → tips, plus palm webbing), per-hand tinted and alpha-blended, depth-tested against a new DEPTH24 attachment. Controllers keep working in parallel; when tracking drops, hands and their gesture input simply disappear. - Gesture map unchanged: right pinches = fire/use/enter/esc, left pinches = automap/weapons 2–4, palm-up virtual sticks = move (left) / turn (right).
Install
adb install -r quest-doom-debug.apk
adb shell am start org.communitypoke.questdoom/android.app.NativeActivity
# optional, for hand tracking:
adb shell pm grant org.communitypoke.questdoom com.oculus.permission.HAND_TRACKINGIncludes the v0.2.1 launch fixes (xrInitializeLoaderKHR, conditional hand-tracking extension, manifest hasCode/focusaware, ANativeActivity_onCreate export).
Known limitations
Pitch is Y-shear (±60 px ≈ ±18°), not true projection pitch; aim yaw is not decoupled (hitscan is player-locked); HUD text stays inside the doom frame (so it sits on the panel in menus and overlays the world view in-level); no audio.
v0.2.1 - Fix Quest launch crash (ANativeActivity_onCreate)
Launch-crash hotfix release. Quest DOOM now loads and starts on device.
Fixed
ANativeActivity_onCreatemissing fromlibquestdoom.so— the NDKandroid_native_app_gluewas linked as a static archive, and the linker dead-stripped its object since nothing in app code references the entrypoint symbol.NativeActivitytherefore threwUnsatisfiedLinkErroron startup. The glue source is now compiled directly intoquestdoom;readelf/nm -DconfirmANativeActivity_onCreateisFUNC GLOBAL DEFAULT.- OpenXR loader initialization —
xrInitializeLoaderKHR(fetched viaxrGetInstanceProcAddronXR_NULL_HANDLE, as the Khronos loader intentionally does not export it) is now called withXrLoaderInitInfoAndroidKHRbefore any other xr* call. XR_EXT_hand_trackingis only enabled when the runtime advertises it — previouslyxrCreateInstancefailed outright on runtimes without it.- Manifest corrections —
android:hasCode="false"for the pure-native app, pluscom.oculus.vr.focusaware=truemeta-data.
Ships the same immersive feature set as v0.2.0: per-eye stereoscopic rendering, 6DOF head camera, decoupled weapon aim, 26-joint hand tracking with gesture controls, and bundled shareware doom1.wad.
Install
adb install -r quest-doom-debug.apk
adb shell am start org.communitypoke.questdoom/android.app.NativeActivity
# optional, for hand tracking:
adb shell pm grant org.communitypoke.questdoom com.oculus.permission.HAND_TRACKINGv0.2.0 — Immersive VR + Hand Tracking
Hotfix (2026-09-18)
The attached APK is rebuilt from 6940593 to fix an instant crash on launch: the Khronos Android OpenXR loader now gets xrInitializeLoaderKHR (via xrGetInstanceProcAddr on XR_NULL_HANDLE, since the loader does not export the symbol) before xrCreateInstance, XR_EXT_hand_tracking is only enabled when the runtime advertises it, and the manifest is corrected for pure-native packaging (hasCode="false", com.oculus.vr.focusaware).
Hotfix 2 (6940593 → f922599)
Second launch crash fixed: ANativeActivity_onCreate was missing from libquestdoom.so (the app-glue static archive was dead-stripped by the linker), so NativeActivity threw UnsatisfiedLinkError. The glue source is now compiled directly into the shared library; nm -D/readelf confirm ANativeActivity_onCreate is FUNC GLOBAL DEFAULT. Combined with the earlier xrInitializeLoaderKHR + conditional XR_EXT_hand_tracking fix (6940593), this is the launch-blocking chain resolved.