How I implemented MegaTextures on real Nintendo 64 hardware
Channel:James Lambert · Length:8:51 · Published:2023-09-16 · Views:399338
Summary
James Lambert demos a MegaTexture-style technique running on real Nintendo 64 hardware, built for an N64Brew game jam. It streams high-resolution textures onto stained-glass scenes on the console.
Why HN recommends it
Pointed to as an impressive technical N64 homebrew demo showing unexpectedly high-res textures.
James is like Kaze — HN, 2024
Computer graphics & rendering · Indie game development · Game history & retro gaming
Subtitles (excerpt)
foreign [Music] what you are seeing is being rendered in real time on Nintendo 64 Hardware this scene contains about 40 megabytes of texture information but runs on four megabytes of RAM this is possible using a technique based on its software's Mega textures Mega textures was developed by ID for the game rage and allowed for textures up to through 2000 by 32 000 pixels however Omega texture for the Nintendo 64 can only go up to 1024 by 1024 pixels which is regular size textured by modern standards but is far larger than we typically see for the console so how is this done before I explain how Mega textures work I'm going to explain how regular textures work for the Nintendo 64. to start there is a coordinate system called the texture image space it ranges from negative 1024 to 1024 in both the X and Y Direction positive X is to the right positive Y is down you can place an image called a tile inside the texture image space the origin 4 tile is on the top left a single tile must fit in the four kilobyte tile cache this really limits the size of a tile which is why tiles typically are around 32 by 32 pixels to make use of the entire texture image space you can offset a tile scale it by a power of two or repeat the tile across the
On Hacker News
The same guy, James Lambert, also implemented texture streaming (which would not be invented until two console generations later) in an N64 demo. The textures look uncharacteristically high res: [VIDEO] — cubefox, 2026-03
This is what James Lambert does as a follow up when Valve shuts down [1] his "Portal in N64" project [2]. James is like Kaze [3] and builds incredible N64 demos [4] and technical videos about them. [1] [LINK] [2] [LINK] [3] [LINK] [4] [VIDEO] — echelon, 2024-03
Prerendered cutscenes ate up the lion's share of the disc. If you sacrificed on those and used lots of compression, you absolutely could build an RPG on the N64 that would stand up to whatever you could do on PlayStation. However, nobody wanted to do that. The only RPGs we got on the N64 were Quest 64 and Paper Mario. The reason why requires diving into the development history of what would have … — kmeisthax, 2023-11
Appear to be videos of this project in action: "How I implemented MegaTextures on real Nintendo 64 hardware" - [VIDEO] "Megatextures Tech Demo - N64brew Summer Game Jam 2023 Submission" - [LINK] — JohnBooty, 2023-09
Related videos
- The Solar Gravitational Lens will Map Exoplanets. Seriously. · Launch Pad Astronomy · 23:32
- Training AI Without Writing A Reward Function, with Reward Modelling · Robert Miles AI Safety · 17:51
- string theory lied to us and now science communication is hard · Angela Collier · 52:11
- ANIME ROCK, PAPER, SCISSORS · Corridor Digital · 7:21
- 8 Bit & '8 Bitish' Graphics-Outside the Box · GDC Festival of Gaming · 1:25:34
- The Beauty of Bézier Curves · Freya Holmér · 24:25
- The Continuity of Splines · Freya Holmér · 1:13:50
- Reverse emulating the NES to give it SUPER POWERS! · suckerpinch · 22:21
- Juice it or lose it - a talk by Martin Jonasson & Petri Purho · grapefrukt · 15:38
- elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo) · Demoscene High-Quality Videos (Annikras) · 3:36
- Jan Willem Nijman - Vlambeer - "The art of screenshake" at INDIGO Classes 2013 · Dutch Game Garden · 44:09
- Painting a Character with Maths · Inigo Quilez · 24:46
- The Ultimate Game Boy Talk (33c3) · media.ccc.de · 1:01:06
- The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013) · Mladen Mijatov · 45:35
- A Deep Dive into Nanite Virtualized Geometry · SIGGRAPH Advances in Real-Time Rendering · 1:09:59
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37