README.md 1.49 KB
Newer Older
Richard Lin's avatar
Richard Lin committed
1
# Brief 
Richard Lin's avatar
Richard Lin committed
2

3
Experimental scene changing framework for cluster, with Qt5.10 and Qt3DStudio.
Richard Lin's avatar
Richard Lin committed
4

Richard Lin's avatar
Richard Lin committed
5
# Detail Feature
Richard Lin's avatar
Richard Lin committed
6

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
1. Using dynamic link library to store resources, benifit from its protection of source and loading performance.
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 ./Scenes folder.
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.
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.
7. InstrumentCluster can store selected scene, and automatically load it after power on.

# Structure

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 four plugins,
one is 2D cluster, 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.

# How to build

1. Check the Qt3DStudio installation. Change the import directory in "InstrumentCluster/main.cpp Line66" to your own Qt3DStudio/qml.
2. qmake make & make install

# How to design a plugin