Hexadecimal Sorcery: The Algorithmic Hack of the Fast Inverse Square Root : Quake, Lighting Vectors, and the Bizarre Mathematical Genius That Saved Early 3D Game Rendering.DE

個数:

Hexadecimal Sorcery: The Algorithmic Hack of the Fast Inverse Square Root : Quake, Lighting Vectors, and the Bizarre Mathematical Genius That Saved Early 3D Game Rendering.DE

  • 在庫がございません。海外の書籍取次会社を通じて出版社等からお取り寄せいたします。
    通常6~9週間ほどで発送の見込みですが、商品によってはさらに時間がかかることもございます。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合がございます。
    2. 複数冊ご注文の場合は、ご注文数量が揃ってからまとめて発送いたします。
    3. 美品のご指定は承りかねます。

    ●3Dセキュア導入とクレジットカードによるお支払いについて
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版
  • 商品コード 9783565381555

Description

Calculating 3D lighting was mathematically too heavy for 90s computers, until an anonymous programmer wrote a bizarre line of hexadecimal code that tricked the CPU into rendering it instantly. In the mid-1990s, rendering true 3D environments with dynamic lighting was an impossible dream for standard home computers. Calculating the angle of light hitting a 3D polygon requires calculating an "inverse square root"-a mathematical operation so brutal that it would instantly choke the CPU and bring the game to a stuttering halt.But the source code for the legendary game Quake III Arena contained a bizarre, seemingly nonsensical line of code: i = 0x5f3759df - ( i >> 1 );. This was the Fast Inverse Square Root algorithm. By exploiting a massive loophole in how processors store floating-point numbers at the bit level, this single line of code bypassed the traditional calculation entirely, spitting out a nearly perfect approximation in a fraction of a microsecond.This technical manual breaks down the sheer, black-magic brilliance of bit-level hacking. We dissect the math behind the constant, exploring how a completely undocumented, mathematical cheat code allowed the gaming industry to render shadows and light in real-time.Master the most famous hack in software history. Understand the desperate, brilliant math required to trick a processor into doing the impossible.