GithubHelp home page GithubHelp logo

game-maps-obj's Introduction

Game maps as OBJ meshes

This repository contains various OBJ files exported from Sauerbraten, Red Eclipse and Tesseract. These maps were exported using the /writeobj <destination> command after loading the map in the game.

Looking for the cmvalley map exported as an OBJ file? Head to the Releases tab.

Games

Maps were exported from the following games:

  • Red Eclipse (commit ecfe18c51)
  • Sauerbraten (2020 edition)
  • Tesseract (SVN revision 2343)

Recommended maps

Here are some hand-picked recommendations if you'd like to try out some maps:

Name Game Vertex/triangle count Good for License
cmvalleyΒΉ Sauerbraten πŸŸ₯ 1112k verts, 2080k tris Testing renderers in a large scale/open world map CC BY 4.0
core_transfer Sauerbraten 🟩 45k verts, 76k tris Testing global illumination and fog CC BY-NC-SA 2.5
eternal_valley Sauerbraten 🟩 55k verts, 98k tris Testing global illumination and its resistance to leaks CC BY-NC-SA 3.0
earthstation Sauerbraten πŸŸ₯ 440k verts, 188k tris Testing renderers in a space station with interior and exterior CC BY-NC-SA 4.0
fc4 Sauerbraten 🟩 44k verts, 80k tris Testing renderers over a fairly large area (with inland terrain) CC BY-NC-SA 3.0
fc5 Sauerbraten 🟨 103k verts, 189k tris Testing renderers over a fairly large area (mostly buildings) CC BY-NC-SA 3.0
gorge Sauerbraten 🟩 171k verts, 92k tris Testing renderers in a mixed indoor/outdoor cave map CC BY-NC-SA 4.0
hidden Sauerbraten 🟨 105k verts, 190k tris Testing renderers over a fairly large area (mostly buildings) CC BY-NC-SA 3.0
k_rpg1 Sauerbraten 🟨 136k verts, 261k tris Testing renderers in a large scale/open world map CC BY-NC-SA 2.5
octavus Red Eclipse 🟩 52k verts, 86k tris Testing renderers over a fairly large area (with smooth terrain) CC BY-SA 3.0
pandora Sauerbraten 🟩 36k verts, 61k tris Testing lighting in a fully indoor level CC BY 4.0
reflection Tesseract 🟩 68k verts, 116k tris Testing global illumination and fog (indoors with sunlight) CC BY-SA 3.0
skrsp1 Sauerbraten 🟩 59k verts, 103k tris Testing renderers over a fairly large area (with terrain) CC BY-NC-SA 3.0
steelribs Tesseract 🟩 27k verts, 46k tris Testing renderers with a floating hard-surface map CC BY-SA 3.0
tectonic Sauerbraten 🟩 47k verts, 87k tris Testing renderers with an island-style map (buildings + terrain) CC BY 4.0
ubik Red Eclipse 🟨 87k verts, 166k tris Testing renderers with a floating futuristic urban area CC BY-SA 3.0
warlock Sauerbraten 🟨 191k verts, 108k tris Testing renderers with a symmetrical outdoor castle map CC BY-SA 4.0

ΒΉ: cmvalley can be downloaded from the Releases tab.

Using textures

If you wish textures to be available for use in other engines, you can extract them from a Sauerbraten, Red Eclipse or Tesseract installation folder.

To avoid having to copy the entire installation folder (and suffering from long import times as a result), install Python and run collect_textures.py with the following arguments:

python collect_textures.py path/to/file.mtl --input path/to/game/installation/folder --output path/to/folder

This will copy textures referenced within a MTL file to be used in another engine. Make sure to point --output to the location where the OBJ/MTL files are stored, as texture paths are relative to the MTL file's location.

Caveats

  • Maps are exported at a larger scale than you probably want. This may cause large maps not to appear at all once imported due to view frustum culling. To solve this, tell the engine to import the OBJ mesh at a lower scale if possible. Otherwise, you can scale the OBJ mesh by a factor of about 0.05. (Scaling afterwards may reduce mesh precision, which is why scaling at import-time should be preferred.)
  • Due to how maps are designed in Cube 2 engine games, their topology may be inefficient or otherwise unusual. This could lead to issues when generating collision meshes automatically.
  • Maps don't contain lights, mapmodels (detail models such as trees, barrels, …) and materials (such as water, lava and glass). You will have to readd those manually if desired.

License

See .txt files associated with each map for the license.

All maps in the redeclipse/ and tesseract/ folders are under free culture Creative Commons licenses (with commercial use and modification allowed). In those folders, CC BY-SA is the strictest license used, although some maps are under CC BY or CC0 instead.

Warning

Some maps in the sauerbraten/ folder use Creative Commons licenses that disallow commercial use. Still, modification is allowed as maps that use a no-derivatives license were excluded from this set.

game-maps-obj's People

Contributors

calinou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.