question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

quake bsp map loader

See original GitHub issue

Hello,

I am writing here, because I am not sure how to approach the issue with BSP loader otherwise. I have it already coded and open sourced (here: https://github.com/distantmagic/personalidol/tree/master/packages/quakemaps ) and I would love to integrate with THREE.js, but the issue is .map files do contain a lot of game-specific data and each map entity can contain its own properties, that are not only related to the scenery, but also in-game triggers, metadata, etc:

Screenshot from 2021-03-17 11-41-36

It is easy to just extract geometry itself, but I think that without all the entities metadata that surrounds it (which is really a game domain logic), those maps won’t be really usable in practice (unless they are used just for presentation and not to actually implement a game around them).

Also, most quake map entities can be merged into one bigger geometry, but some entities can have triggers / controllers attached, so the result of the loading would be a series of meshes and not the single mesh.

The question is, is it worth to just extract one big merged geometry and drop all the metadata and map domain logic or is there a place in THREE.js to store this data somewhere?

Related issues:

Best wishes

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mcharytoniukcommented, Mar 17, 2021

@Mugen87 Ok, but I feel like userData is not really the place. I wanted to elaborate on that, but since this issue is closed, I think, I’ll just publish that in the external project and use THREE.js as an underlying framework, because this kind of maps require some kind of more consideration.

1reaction
mcharytoniukcommented, Mar 18, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Simple Quake3 BSP Loader - Flipcode
It loads all the neccesary lumps of the BSP Quake3 format. ... Simple Q3 Map loader. ... Version number 0x2e for the BSP...
Read more >
Quake BSP map loader - Resources - three.js forum
Hello! I created a Quake BSP maps loader that produces geometries that can be used with THREE.js . I am using it as...
Read more >
[Show Off] Quake 3 BSP map loader : r/unrealengine - Reddit
The aim was to be able to download any Quake map (provided it's designed for Defrag) and play it without requiring any extra...
Read more >
Unity and TrenchBroom - Unity .bsp map loader - YouTube
Unity and TrenchBroom - Unity . bsp map loader ... Because I really liked making to make quake maps in Trenchbroom, I have...
Read more >
BSP Headquarters
Home of the BSP Quake Editor. ... The .bsp loader now supports Q2 format bsp files. ... Fixed a map loading bug that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found