Comments (6)
stats, default camera placement, http://localhost:8080/#https://streetmix.net/kfarr/3
from 3dstreet.
models worth optimizing:
- ground component adds ~6k triangles per each, could easily be brought to 1 with a simple plane and texture
- fence is 80k triangles and 300+ draw calls, huge optimization potential here
- "block" of buildings is 155k tris and 367 calls, also large optimization potential
not worth optimizing:
- tracks ~3k tris and 24 calls, moderate optimization potential and known as a model that needs improvement anyway
- car / bus / train are ~5.5k, ~3k and ~2k tris respectively; for their quality level this isn't too bad; perhaps instancing can be used to reduce calls for duplicated objects?
from 3dstreet.
Ground component before/after triangle count as part of 5e4d8ca:
- For http://localhost:8080/#https://streetmix.net/kfarr/34 - before: 291934; after 283998 (reduction by 7936 triangles)
- For http://localhost:8080/?#https://streetmix.net/kfarr/36 - before 364028; after 348156 (reduction by 15872 triangles)
from 3dstreet.
Attempted to reduce draw calls using A-Frame merge geometry component, but can't get it to work for this use case. It doesn't appear to work for gltf models (and/or when entities added dynamically).
Final short term attempts will be to fix the fence and buildings
from 3dstreet.
Tried using gltfpack and it definitely reduced draw calls but resulted in larger file size. Still experimenting:
#4
Also tried reducing complexity of the 3d scene which definitely helped. That's also a work in progress.
Next, need to test how using gltf-part affects draw calls.
Also in order to use gltf-part with draco needs fixing:
supermedium/superframe#260
from 3dstreet.
This ticket is too broad so closing as-is. There are other tickets that represent further work on this topic in this milestone:
from 3dstreet.
Related Issues (20)
- support new streetmix metric plan HOT 4
- add new cablecar object to replace legacy tram HOT 1
- sometimes an svg layer will load 90º incorrect on one rotation axis HOT 15
- Consider adding objects from UO team by Luke
- remove date and hash from console log
- new scene function - reference layer is not removed when loading new scene HOT 2
- bevel option on svg extrude HOT 7
- issue: cannot open streetmix url with unsupported segment variants HOT 2
- change representation for variantString 'median' for 'divider' segment type
- add people for outdoor-dining occupied variant
- add variants car-with-bus, car-with-bike, sharrow, truc and anothers for drive-lane segment
- add shared bus and bike variant support for bus-lane segment
- add two-way variant for bike-lane segment
- streetplan-loader component HOT 6
- map diagram for forms (idea for later)
- remove rigging from vehicles HOT 1
- docs for passing data to 3DStreet via hash
- svg extrude bevel uses bevelColor instead of color when bevelEnabled is false HOT 2
- when releasing mouse button (click up) while using transform controls on a currently selected entity, do not select another item
- ability to choose new stencil mixins
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 3dstreet.