Comments (3)
Performance is ok, but extensions.geometry
"OrderedSet
" assembly is incredibly slow
So either we move towards less size efficient conversions,
or look at Buffer -> geometryMesh
es construction
from bsp_tool.
rexx' came up with a faster way of assembling .obj
when extracting BVHLeaf geo from apex
just write each vertex every time it's referenced & use negative indices
absurdly memory efficient to write, and for position only meshes filesizes are smaller
(2 chars per indexed vertex, with mostly triangles it's huge savings)
this won't always work, but Blender's .obj
importer is a python script, so negative indices are valid
from bsp_tool.
Exporting season14/9aug22/mp_rr_arena_habitat
now only takes around 5 mins (500K triangles)
That's just about perfect performance for quick visualisations.
For any serious quality exports we'd probably want to be using bsp2gltf
That includes exploring shaders & animations (e.g. WaterBodies)
from bsp_tool.
Related Issues (20)
- [Test Maps] `genesis3d`
- Configure `pytest` to remove naming convention HOT 2
- Create a `utils` submodule to pull tools out of `branches` HOT 1
- (extensions.editor) `.save_as(filename: str)` method for all `MapFile` classes
- (extensions.editor) MetaPattern string conversion is an ugly mess
- [Apex Archive] Season19 removed pakfiles, where are the cubemaps? HOT 4
- Another wave of geometry refactors HOT 4
- (extensions.decompile) Include TriColl meshes when decompiling Titanfall Engine maps HOT 3
- Move `extensions.editor.generic` into `utils.editor`
- (extensions.decompile) Standardising decompile extraction & processing
- BitField order is backwards, should be the same as C/C++ HOT 3
- [Apex Archive] Identify origins of loose maps, then remove them HOT 1
- [Test Maps] `apex_legends50`
- `bsp.bsp_version` should just be `bsp.version` HOT 1
- `editor.Brush`-> `List[geometry.Mesh]` HOT 1
- (utils.geometry) remove iterations.batched
- (extensions.lightmaps) Select Faces lump for Source Engine `lightmap_faces`
- [Test Maps] `apex_legends52`
- BSPX Test Maps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsp_tool.