Commit e2b927ad authored by Richard Lin's avatar Richard Lin
Browse files

Add: snapshots. Modify: README.md

parent 994bac80
...@@ -8,7 +8,7 @@ Experimental scene changing framework for cluster, with Qt5.10 and Qt3DStudio. ...@@ -8,7 +8,7 @@ Experimental scene changing framework for cluster, with Qt5.10 and Qt3DStudio.
2. Each scene plugin is packaged into an individual dll file, easy to distribute. 2. Each scene plugin is packaged into an individual dll file, easy to distribute.
3. InstrumentCluster will scan scene plugin when start up. The scene plugins should be stored in the InstrumentCluster/Scenes/. 3. InstrumentCluster will scan scene plugin when start up. The scene plugins should be stored in the InstrumentCluster/Scenes/.
4. InstrumentCluster has a scene selector, with brief previews. 4. InstrumentCluster has a scene selector, with brief previews.
5. Scene plugin will dynamic add/remove qt resource collection files. Delay loading/loading strategy can be adjusted in cpp file. 5. Scene plugin will dynamic add/remove qt resource collection files. Delay loading/loading strategy can be adjusted in cpp file (haven't done in the demo).
6. Scene plugin will apply to every visual components, also including transitions, interactives. In a summary, all qml and resource files 6. Scene plugin will apply to every visual components, also including transitions, interactives. In a summary, all qml and resource files
can be changed dynamicly. can be changed dynamicly.
7. InstrumentCluster can store selected scene, and automatically load it after power on. 7. InstrumentCluster can store selected scene, and automatically load it after power on.
...@@ -16,18 +16,27 @@ can be changed dynamicly. ...@@ -16,18 +16,27 @@ can be changed dynamicly.
# Structure # Structure
1. InstrumentCluster is the executable application. It is a demo which can use all scene plugins. 1. InstrumentCluster is the executable application. It is a demo which can use all scene plugins.
2. ScenePlugin contains several cluster plugins, which generate to dynamic link libraries for InstrumentCluster. Currently there are five plugins, 2. ScenePlugin contains several cluster plugins, which generate to dynamic link libraries for InstrumentCluster.
two are 2D clusters, one is Qt3D cluster and others are Qt3DStudio clusters.
3. Interface folder contains an interface class shared by the InstrumentCluster and every entities of ScenePlugin. 3. Interface folder contains an interface class shared by the InstrumentCluster and every entities of ScenePlugin.
# Cluster Plugin Description
1. Archemind. A demo cluster with a Qt3D car. GitLab address: https://git.qt.io/China-Projects/ClusterDemoForArcherMind.git
2. kria-cluster-2d. 2D cluster(the 3D rotating car in the middle of the screen is a movie). Project address: http://code.qt.io/qt-apps/kria-cluster-2d-demo.git
3. kria-cluster-3d. It's a re-write demo of 2D version, add 3D dials and 3D tranistions using Qt3DStudio. It is called "QtWS2017Cluster" in project: https://git.qt.io/playground/StudioCluster.git
4. qmlcluster. It's another Qt3DStudio demo in project: https://git.qt.io/playground/StudioCluster.git
5. Triton. It's the cluster part of Triton-UI, the Automotive Suite demo for CES2018. It is a pure 2D demo: https://git.qt.io/playground/CES2018Demo.git
# How to build # How to build
1. Check the Qt3DStudio installation. Change the import directory in "InstrumentCluster/main.cpp Line66" to your own Qt3DStudio/qml. 1. Check the Qt3DStudio installation. Change the import directory in InstrumentCluster/main.cpp Line66 to your own Qt3DStudio/qml directory.
2. qmake make & make install 2. qmake make & make install
# How to operate # How to operate
1. "Up/Down" to navigate the scenes 1. "Up/Down" to navigate the scenes
2. "Space" to select the scene 2. "Space" to select the scene
# How to design a plugin # How to design a plugin
TODO TODO
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment