Pfeiffertheface.com

Discover the world with our lifehacks

What is a Quake 3 algorithm?

What is a Quake 3 algorithm?

Quake III Arena, a first-person shooter video game, used the fast inverse square root algorithm to accelerate graphics computation, but the algorithm has since been implemented in some dedicated hardware vertex shaders using field-programmable gate arrays (FPGA).

Is the fast inverse square root still used?

Many people have also asked if it’s still useful on modern processors. The most common answer is no, that this hack was useful 20+ years ago and that modern-day processors have better and faster ways to approximate the inverse square root.

Who wrote the fast inverse square root?

John Carmack
John Carmack has a special function in the Quake III source code which calculates the inverse square root of a float, 4x faster than regular (float)(1.0/sqrt(x)) , including a strange 0x5f3759df constant.

How accurate is fast inverse square root?

A single Newton-Raphson iteration is performed to calculate a more accurate approximation of the inverse square root of the input. The result of the Newton-Raphson iteration is the return value of the function. The result is extremely accurate with a maximum error of 0.175%.

How was quake so fast?

John Romero explains. id Software’s shooters were so fast because they “wanted to show people what games could be,” says Romero. It feels like a given that you move absurdly fast in the original Quake: Classic shooters are fast, that’s just how it is.

Is quake a competitive game?

Quake is considered to be a pioneer title in esports. The game created a strong competitive scene and organized big tournaments.

Why is quake so popular?

Quake paved the way for Call of Duty, Battlefield, Overwatch, Skyrim, and even virtual reality by plunging the player into a fully realized 3D world, and simply allowing them to look around freely.

How do you do the square root trick?

What is the Trick to Find Square Root?

  1. Step 1: Pair the digits starting from right to left.
  2. Step 2: Match the unit digit of the number from the chart and determine the possible values of the square root of the unit digit.
  3. Step 3: Now, we consider the first set of digits of the number.