I wrote a Raytracer for DOS, 16 VGA colors
Channel:Bisqwit · Length:15:00 · Published:2011-05-24 · Views:905256
Summary
Bisqwit writes a raytracer from scratch in C++ for DOS, rendering in the 16-color VGA palette at 640x480. The video also covers color quantization and ordered dithering.
Why HN recommends it
HN fans praise Bisqwit as a favorite programming YouTuber and this video as an excellent look at dithering.
Bisqwit's discussion of dithering is outstanding — HN, 2021
C, C++, Rust, Go & systems languages · Demoscene & retrocomputing · Computer graphics & rendering
Subtitles (excerpt)
This is a custom text editor I created for this video. It has multiple visual modes. Here it emulates the Commodore 64 look just for fun. Let’s compile it! Hmm… Is it doing anything? Let me bring out a magnifying glass. Oh yeah… It is drawing tiny pixels. Very, very slow. If only there was a way to make it faster. Hmm… I know what. Let’s add more CPU cores. More cores! Many, many more cores. Maximum parellelism! It is now rendering thousands of pixels simultaneously, but maybe still a little too slow. I know what. *Slap* Enjoy!
On Hacker News
Bisqwit's discussion of dithering is outstanding . He presents a very impressive algorithm for arbitrary-palette dithering that is animation safe . > This paper introduces a patent-free positional (ordered) dithering algorithm that is applicable for arbitrary palettes. Such dithering algorithm can be used to change truecolor animations into paletted ones, while maximally avoiding unintended jitte… — pdkl95, 2021-01
Agreed. My favourite programming YouTuber by a long stretch. If anyone is unfamiliar with him and wants to watch some of the "classics" I'd recommend these: His "cracking videogame passwords" series: [LINK] Creating a Doom-style 3D engine in C: [LINK] Creating a Rogue-like game in C++11: [LINK] Creating a PIC16 emulator and NES music player: [LINK] Creating a NES emulator: [LINK] Creating a DOS V… — petercooper, 2019-01
Wow that's really cool. I liked the structure you added to the Martian landscape. It was funny to wake up and see this on HN, as I was watching something DOS and 3D-related on Bisqwit's channel last night. [VIDEO] — themodelplumber, 2019-02
Related videos
- GET LAMP: The Text Adventure Documentary · Google TechTalks · 2:01:17
- I made a NES emulator in 15 minutes · Bisqwit · 15:04
- Kylie Minogue - Come Into My World (Official Video) [Full HD Remastered] · Kylie Minogue · 4:15
- Jacob Collier Explains Music in 5 Levels of Difficulty ft. Herbie Hancock | WIRED · WIRED · 15:41
- Creating a Doom-style 3D engine in C · Bisqwit · 18:49
- Shakespeare: Original pronunciation (The Open University) · OpenLearn from The Open University · 10:22
- Gender Neutral Pronouns: They're Here, Get Used To Them · Tom Scott · 3:48
- BlueHat IL 2019 - Andrew "bunnie" Huang - Supply Chain Security: "If I were a Nation State...” · Microsoft Israel R&D Center · 45:37
- But what is the Fourier Transform? A visual introduction. · 3Blue1Brown · 19:41
- Cybersecurity as Realpolitik by Dan Geer presented at Black Hat USA 2014 · Black Hat · 54:35
- Mark Blyth ─ Global Trumpism · Watson School of International and Public Affairs · 1:26:03
- Chernobyl 3828 · TeleconStudio · 26:57
- Flat Earth: A Measured Response · hbomberguy · 45:17
- TasBlock at AGDQ 2017: TASBot · TASVideosChannel · 58:44
- George Lakoff: Moral Politics · University of California Television (UCTV) · 58:57
- Tom Lehrer - Wernher von Braun · The Tom Lehrer Wisdom Channel · 1:46
- Congressional Fundraising: Last Week Tonight with John Oliver (HBO) · LastWeekTonight · 21:25
- DCEmu Reviews - 27C3 - Chaos Communication Congress 2010 - fail0verflow - FULL VIDEO · 1KIND Reviews · 44:39
- They're Made Out of Meat · niccollsdp · 6:16
- Hovering a Helicopter is Hilariously Hard - Smarter Every Day 145 · SmarterEveryDay · 9:45