Repository navigation
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.