Comments (3)
Status
Added a first POC-like implementation to the new branch. We should use this to clarify, how we want to implement this feature and what needs to be done to finish it.
Current impl examples
Todos
There are several things which needs to be improved.
Code issues
- Font loading is async and just done anywhere. Should be done in sync on application start or object creation (see TODO in ObjectFactory.ts)
- It is important to know which kind of Layout is processed. This is currently done via a color check ;-) - should be changed to LayoutType check (see TODO in ObjectFactory.ts)
- The name is currently not available in the source SoftVis3dShape. Therefore, the name is resolved using the TreeService for each element. This is not only ugly, but also leaves us with a bad performance on big projects (see TODO in ObjectFactory.ts)
- The resulting SoftVis3dMesh object which is currently used needs an id. Do we need one? If yes, what to use?
- The "objects" should be implemented in a more OO manner
- Unit tests!
Feature definition
- The text color is currently red. This should be adjusted to a "better" fitting color. Maybe we have to adjust the platform / street colors as well.
- If we introduce this, we definitely will need a config parameter for that because textures are really memory consuming. It will be needed to deactive this feature especially for bigger projects.
- The new config parameter should also be included in the direct link feature #3
Open questions
- How do you like it? I really do.
Another way to do this would be a popup on mouse over, but i think this is more clear and helps to get an good overview.
- Overlappings / ...
Currently, the text can overlap a platform because the text is too big. This could be optimized but only solved 100 % if included in the layout algorithm (which i would want not to do). This can be very, very tricky and a huge layout algorithm would be needed.
I could live with overlappings and would try to optimize this without changing the layout.
from softvis3d.
I would go for a sprite approach:
- Something like in this example, but more subtle (and maybe sharper
😄 ) - Also don't show all of them at once, but decide on multiple factors (distance to camera, package depth, package size) which labels to display or hide
from softvis3d.
Nice would be a popup at Mouse Over.
from softvis3d.
Related Issues (20)
- We need a DIC HOT 6
- Remove getVisualization webservice and replace with frontend implementation HOT 4
- New scm metric number of commits HOT 1
- Format Date of Last Commit HOT 2
- Format Date of Last Commit HOT 1
- illustrator.draw(version) blocks UI thread HOT 4
- Refactor LoadAction / StatusQueue implementation
- Road Trimming HOT 1
- React component is not closed or destroyed if the plugin is not longer visible
- Project structure error since SQ 6.4 HOT 1
- Dark theme for all UI elements HOT 1
- Dark theme for packages and buildings in visualization
- Fix SonarQube 7.6 api changes
- Placeholder logo is no displayed
- More color choices for the color of the buildings HOT 9
- switch through default viewports
- Problem with sonarqube 8.8 HOT 4
- Add links to folders to open component and measure page in a new tab
- Scene classes refactoring and tests
- Reset camera position issues after reset camera 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 softvis3d.