编程与软件工程extentofthejam.com
Lou 的伪 3D 页面
Lou's Pseudo 3D Page (2013)
2015 — 2024,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这篇教程讲解如何用纯 2D 技术实现伪 3D 赛道效果,即 OutRun 等老式赛车游戏所用的道路投影与曲线渲染技巧。作者通过分步示例展示了如何在性能有限的机器上画出令人信服的 3D 公路。
为什么经久不衰:它揭示了在硬件极其有限的时代用巧妙的数学技巧骗过眼睛的经典思路,对游戏编程和图形学爱好者至今仍有启发。
HN 评论精选
推荐另一篇经典的光线投射教程,并分享了自己的实践作品
内容非常有趣。我还喜欢这篇关于伪 3D 光线投射的教程(lodev.org),几年前我曾用它用 JS 拼了一个小光线投射器。
mantenpanther查看英文原文
Really enjoyable content. I also like this tutorials on pseudo-3d raycasting: http://lodev.org/cgtutor/raycasting.html A few years ago I used this tutorials to hack together a little raycaster is JS: http://jsfiddle.net/htyvrjaa/
回忆了从伪 3D 到真多边形赛车游戏的街机时代
太棒了!我记得 90 年代初在街机厅第一次看到世嘉的 Virtua Racing,那是我玩过的第一款令人惊艳的真多边形赛车游戏。另一款多边形赛车游戏 Hard Drivin' 也很震撼,但操控很糟糕、画面也不如前者。Hard Drivin' 的妙处在于你可以去任何地方做任何事,而 Virtua Racing 只能沿着赛道跑。
bhouston查看英文原文
Awesome! I remember when I first saw SEGA's Virtua Racer in the arcades back in the early/mid 1990s. It was the first impressive true polygon-based racing game I played: https://www.youtube.com/watch?v=G3PcHBFsjxg The other polygon-based racing game that was impressive, but it hard pretty horrible controls and not as beautiful, was Hard Drivin': https://www.youtube.com/watch?v=g6JC-HCNcio The cool thing about Hard Drivin' is you could go anywhere and do anything, where as with Virtua Racing you had to follow the track.
推荐 GBA Mode 7 相关文章,表达对老派编程文章的喜爱
如果你喜欢这篇文章,可能会对这篇讲 GBA 上 Mode 7 图形模式的文章感兴趣。我个人很爱这种老派编程文章,让我想起当年给 GBA 开发自制游戏的日子!
birslip查看英文原文
If you like this article you might be interested in this article about the mode7 on the GBA: http://www.coranac.com/tonc/text/mode7.htm Personally I love this kind of old-school programming article. It reminds me when I was developing homebrew games for the GBA!
伪 3D 的巧妙技巧正是编程魅力的来源,机器变强后反而失去了乐趣
正是这类东西让我当初对编程产生兴趣。尤其是伪 3D 赛车游戏……小时候我完全想不通这些简单的 2D 机器怎么能画出如此逼真的伪 3D 赛道!Atari 2600 连吃豆人的幽灵都画不好,怎么可能画出像样的'3D'公路?奇怪的是,一旦机器强大到画这些变得轻而易举,我就失去了对这类编程的兴趣。
JohnBooty查看英文原文
This kind of thing is why I got interested in programming in the first place. Pseudo-3D racing games in particular... as a kid, it was boggling to me how these simple 2D machines could produce a pretty convincing pseudo-3D racetrack! The Atari 2600 could hardly handle drawing the ghosts in Pac-Man; how could it draw a decent "3D" roadway? Bizarrely, I lost interest in that kind of programming once machines got so powerful that drawing this kind of thing became easy...
历次讨论
同类还值得读
开源应用架构
The Architecture of Open Source Applications
《开源软件架构》(AOSA)是一本在线免费书,邀请知名开源项目的作者亲自剖析其内部设计,涵盖 SQLAlchemy、LLVM、Audacity、Apache、Bash 等系统。
编程与软件工程上首页 9 次 · 2011–2024aosabook.org编辑精选编程语言简史:简短、不完整且多半错误
A Brief, Incomplete, and Mostly Wrong History of Programming Languages
一篇以戏谑、故意不准确的方式回顾编程语言史的博客文章,用夸张轶事和讽刺定义串起 Lisp、C、C++、Java、JavaScript、PHP 等语言。
编程与软件工程上首页 8 次 · 2009–2021james-iry.blogspot.comSQLite 是如何测试的
How SQLite is tested
SQLite 官方文档页,系统介绍 SQLite 的测试体系:多种测试方法(TCL 测试、模糊测试、回归测试、静态分析等)和海量测试用例,展示了这个小型开源项目如何靠极致测试获得…
编程与软件工程上首页 8 次 · 2009–2025sqlite.org编辑精选高级编程语言(2009)
Advanced programming languages (2009)
Matt Might 的经典文章,按用途推荐“高级编程语言”:如果追求就业就选主流语言,如果追求表达力、学术研究或创业,则推荐 Haskell、OCaml、Scala 等函数式语…
编程与软件工程上首页 8 次 · 2009–2022matt.might.net我的 Forth 与栈机器经历
Yosefk - My history with Forth & stack machines
作者以亲身经历回顾了使用 Forth 语言和栈式机器的历程:既赞叹其简洁优雅、代码量小、可自举的优点,也坦率指出栈操作在实际编程中的痛苦,以及 Forth 社区文化中的问题。
编程与软件工程上首页 8 次 · 2010–2024yosefk.com编辑精选