Fixed the mobile stretched interface on portrait mode in BF1942 by modding the engine
This is a design post classified by AGK Intelligence as 3D & WebGL (a tutorial), kept by the Design Radar because it carries real work, not commentary.
Fixed the mobile stretched interface on portrait mode in BF1942 by modding the engine Claude Code told me how it did it: "1. Spotting the HUD: 3D world draws use a perspective projection, where far things look smaller. The HUD uses a flat one. I can tell them apart from the projection matrix the game sets before each draw. 2. Measuring each element: before drawing a HUD piece (the ticket count, the map, an ammo icon), I calculate on the CPU where its corners land on screen. That uses the same matrix math the graphics card would do. 3. Squeezing it back: I shrink its height by that 2.9× fa
Posted by @levelsio (990.4k followers) 3 days ago · 106 likes · 33.5k views · view the original post on X. Kept by the Design Radar as 3D & WebGL.
More design work like this
- Meet IDOL: an image to 3D model that turns flat pictures into stunning 3D gaussian… — @HuggingModels
- I asked Opus 5.5 to recreate my room in three.js just so it can animate my tutorial… — @MengTo
- Qwen Qoduck 花了 2 个小时生成的美国白宫 3D 建模 — @leo114119
- Adobe is cooked. Someone just released a Substance Painter clone called Material Painter. — @Grummz
- Someone needs to stop Claude Opus 5.5. One picture went in and a robot squid came out… — @elvar_official
- What if collecting NBA jerseys felt like walking through a museum? Concept app, 3D… — @stefanotirloni
- Create beautiful things — @PostiauxCharles
- How Hydraulics Work visualized in 3D by Claude Opus 5.5 — @thebuggeddev
Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 13.9k posts from 5k X accounts over the last 21 days, 2.6k tools, 17 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-08 18:48 UTC. Full method.