log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Geminus (Gen:8)
- A new monitor for my RISC OS and Mac systems (News:1)
- May news round-up (News:)
- How likely is it that... (PP:2)
- NetSurf or Iconbar? (Site:1)
- GDPR and RISC OS (News:1)
- Power Switching a RaspberryPi (News:1)
- Drag'n'Drop Spring 2018 edition released (News:)
- Messenger Pro reaches release 8 (News:)
- RPCEmu 0.9.0 (Gen:2)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
Site Search
 
Article archives
The Icon Bar: Programming: Quake style 3D fundamentals
 
  Quake style 3D fundamentals
  andreww (13:16 5/3/2001)
  johnstlr (18:29 5/3/2001)
    andreww (23:01 5/3/2001)
      johnstlr (09:16 6/3/2001)
        davidm (11:19 6/3/2001)
 
Andrew Message #86349, posted by andreww at 13:16, 5/3/2001
AA refugee
Posts: 555
Could somebody tell me how Quake operates? Does it use a combination of the Wolfenstein/Doom raycasting / sprite scaling to simulate 3d in combination with polygon plotting which uses z-coords for the objects?
  ^[ Log in to reply ]
 
Lee Johnston Message #86350, posted by johnstlr at 18:29, 5/3/2001, in reply to message #86349
Member
Posts: 193
You're not asking much there Andrew!! wink

The problem is that it took Michael Abrash the best part of a large book to discuss Quake in detail.

Quake uses a system of Binary Space Partitioned (BSP) trees combined with sets of potentially visible polygons and z buffering.

www.flipcode.com has a tutorial on the Quake 2 BSP format at

http://www.flipcode.com/tutorials/tut_q2levels.shtml

but this is not an introduction to BSP trees. A good place to start is the BSP FAQ at

http://www.uni-giessen.de/faq/archiv/graphics.bsptree-faq/msg00000.html

  ^[ Log in to reply ]
 
Andrew Message #86351, posted by andreww at 23:01, 5/3/2001, in reply to message #86350
AA refugee
Posts: 555
:-)

I just meant does it use a combination of 2d sprites as the 3d walkabouts did initially as I understand or has this approach been ditched in favour of texture-mapped polygons throughout in a system using only a 3d engine?

  ^[ Log in to reply ]
 
Lee Johnston Message #86352, posted by johnstlr at 09:16, 6/3/2001, in reply to message #86351
Member
Posts: 193
Nope, all the enemies are full 3D texture mapped meshes and always have been in the Quake series. I believe sprites are only used to represent guns now (IIRC in Quake III explosions are generated using a particle system but I could be wrong).

Essentially the scenery is precalculated so the system knows which polygons are visible from any location. Enemies are then added on top using a z-buffer.

  ^[ Log in to reply ]
 
David McEwen Message #86353, posted by davidm at 11:19, 6/3/2001, in reply to message #86352
Member
Posts: 100
This site contains a document created from Abrash's talk at the Game Developer Conference in 96 that mentions the techniques used in the Quake engine.

http://www.gamers.org/dEngine/quake/papers/mikeab-cgdc.html

You may find it interesting...

  ^[ Log in to reply ]
 

The Icon Bar: Programming: Quake style 3D fundamentals