Questions tagged [quake]

Quake is a first person shooter created and relesed by id Software in 1996. The game engine offers full real-time 3D rendering and support for 3D acceleration through OpenGL.

Quake is a first person shooter created and released by id Software in 1996. The game engine offers full real-time 3D rendering and support for 3D acceleration through OpenGL and is available under the terms of the GPL.

Quake on Wikipedia:

Articles about Quake:

29 questions
13
votes
3 answers

Difference between Doom and Quake 3D rendering

I have been studying (old) 3D rendering techniques for the past weeks and think that I now have a fair understanding of the way 3D rendering in Doom works. It uses raycasting to render the 3D scene, uses sprites for objects and thus is not "true"…
Ruud van Falier
  • 8,765
  • 5
  • 30
  • 59
8
votes
3 answers

Notation I can't understand in Quake source code (C)

I was taking a look at the Quake 1 GPL Code and I came across various similar header files, the purpose or use of which I don't seem to understand. They look like tables of some sorts and are structured like this {1, 0}, {1, -1}, {1, -2}, {1,…
Viktor
  • 83
  • 2
6
votes
6 answers

What is the best compression library for very small amounts of data (3-4 kib?)

I am working on a game engine which is loosely descended from Quake 2, adding some things like scripted effects (allowing the server to specify special effects in detail to a client, instead of having only a limited number of hardcoded effects which…
Max E.
  • 1,837
  • 13
  • 15
4
votes
1 answer

Why is running Quake II as root stupid?

I am reviewing the Quake II source code and found out that they prevented users running the game as root: /* Prevent running Quake II as root. Only very mad minded or stupid people even think about it. :) */ if (getuid() == 0) { printf("Quake…
Van Tr
  • 5,889
  • 2
  • 20
  • 44
3
votes
1 answer

File Translator to Export Animated 3D Character from Autodesk Maya as Quake MD2

I'm wondering if anyone knows of a way to export geometry/textures for a rigged, animated character as Quake MD2? I’m developing an app for mobile devices, and I’ve found that MD2 works great for lightweight OpenGL rendering. I have several animated…
Andy R
  • 145
  • 1
  • 9
3
votes
1 answer

What could be the purpose of a header file with raw data?

Decided to check out some code other than my own, Quake I was the choice. The first file I click on is filled with nothing but raw data and the only comments are the GPL. I am guessing it is an array containing normal vectors? Regardless of what its…
Leonardo
  • 1,452
  • 3
  • 15
  • 26
2
votes
2 answers

Timing Quake III hack only works when compiled with optimizations

So I just discovered the very interesting Quake III inverse square root hack. After learning how it works and all, I decided to test it. I found that the hack only outperformed math.h 1/sqrt(X) when compiled with optimizations enabled. The hack's…
jregalad
  • 374
  • 2
  • 12
2
votes
1 answer

Can't compile quake 3 arena source code

I need help compiling the source code for Quake III Arena. I'm using the version provided by ID Software's Github account (https://github.com/id-Software/Quake-III-Arena). I'm trying to compile it in VS2015, is that a problem? It converts the…
2
votes
3 answers

fast inversion algorithm slower than math.h 1/sqrt function

i just want to learn why fast inversion algorithm is slower than math.h sqrt function. Here is my code sample Code tries to demonstrate compare slow inversion and fast inversion. While debugging i see 1 seconds for slow inversion and 4 second for…
2
votes
1 answer

Convert an animated 3D model to Quake 2's models

I'm about to create an Augmented Reality application which requires to render 3d models with animation. What is the best way/plug-in or software to export a model to old quake (.md2) format? I want to use popular modelling software like 3Ds MAX,…
Petter Bjao
  • 327
  • 1
  • 3
  • 10
1
vote
0 answers

How to dynamically connect and disconnect stdin in child_process?

I'm attempting to spawn a Quake server through node's child_process. According to the child_process, using the 'ignore' string for the stdin index should ignore the input, yet it's still locking my input to the launched console application. const…
1
vote
2 answers

Issue displaying IDirect3DTexture8 after backporting from IDirect3DTexture9

I'm trying to backport someones Direct3d9 port of Quake 1 by ID software to Direct3d8 so I can port it to the original Xbox (only uses the D3D8 API). After making the changes to use Direct3d8 it displays some mashed up pixels on the screen that…
1
vote
0 answers

Networking bug in sdlquake?

I'm trying to debug an issue with SDL quake. When trying to connect to a quake server over tcp/ip, I enter the ip address then press enter. The machine hangs, and I am unable to exit, change ttys, or run commands while connected via ssh. I ran…
cat pants
  • 1,485
  • 4
  • 13
  • 22
1
vote
1 answer

How to calculate the points of a brush from a source engine vmf?

I'm trying to render the brushes from a Source engine .vmf file in C++, using OpenGL. The .vmf stores solid brushes as a series of planes which I would like to use to calculate the points for each brush. I'm pretty sure this would be done exactly…
Chris528
  • 11
  • 2
1
vote
1 answer

Use of CreateEvent() in Quake

I'm curious about the use of the CreateEvent() function in Quake. We have the following global in the c file that WinMain() is defined in: static HANDLE tevent; In the WinMain() function itself, we see this: tevent = CreateEvent(NULL, FALSE, FALSE,…
Philip
  • 373
  • 2
  • 11
1
2