27

Explore Quake/Half-Life maps in your browser

 4 years ago
source link: https://github.com/sbuggay/bspview
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

bspview

RjABZnq.png!webIZnAfuf.png!webRzeuyuq.png!web

bspview is a tool to view Quake/GoldSrc maps in your browser. You can see a live demo of this here: https://devanbuggay.com/bspview . I've supplied a few BSP files to explore that can be selected from the dropdown. However, you can also drag and drop any supported .bsp file onto the window to load it.

Rendered with three.js .

Controls

  • Click anywhere to lock the mouse pointer
  • F - toggle fullscreen
  • 1 - Cycle through mesh modes
  • 2 - Toggle model volume visibility
  • 3 - Toggle entity visibility
  • Select a map from the dropdown to load it
  • Drag and drop any supported .bsp on the window to load it

Building

Building is simple, just install the dependencies and start it.

npm install
npm start

Right now the BSPs are hardcoded to being loaded from this GitHub repo though.

Roadmap

Reference


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK