feat(OpenGL): mv hello to lab3
|
@ -10,7 +10,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"|学号 |姓名 |\n",
|
"|学号 |姓名 |\n",
|
||||||
"|----------|--------|\n",
|
"|----------|--------|\n",
|
||||||
"|***REMOVED***|***REMOVED***|\n",
|
"|2020114490|江一和|\n",
|
||||||
"|2020113874|何一涛|"
|
"|2020113874|何一涛|"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"|学号 |姓名 |\n",
|
"|学号 |姓名 |\n",
|
||||||
"|----------|--------|\n",
|
"|----------|--------|\n",
|
||||||
"|***REMOVED***|***REMOVED***|\n",
|
"|2020114490|江一和|\n",
|
||||||
"|2020113874|何一涛|"
|
"|2020113874|何一涛|"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"|学号 |姓名 |\n",
|
"|学号 |姓名 |\n",
|
||||||
"|----------|--------|\n",
|
"|----------|--------|\n",
|
||||||
"|***REMOVED***|***REMOVED***|\n",
|
"|2020114490|江一和|\n",
|
||||||
"|2020113874|何一涛|"
|
"|2020113874|何一涛|"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"|学号 |姓名 |\n",
|
"|学号 |姓名 |\n",
|
||||||
"|----------|--------|\n",
|
"|----------|--------|\n",
|
||||||
"|***REMOVED***|***REMOVED***|\n",
|
"|2020114490|江一和|\n",
|
||||||
"|2020113874|何一涛|\n",
|
"|2020113874|何一涛|\n",
|
||||||
"\n",
|
"\n",
|
||||||
"本部分的实验,需要自己在网络学习相关基础函数使用。"
|
"本部分的实验,需要自己在网络学习相关基础函数使用。"
|
||||||
|
|
BIN
CN/IP1.pcapng
Normal file
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 389 KiB After Width: | Height: | Size: 389 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 258 KiB After Width: | Height: | Size: 258 KiB |
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 278 KiB |
Before Width: | Height: | Size: 562 KiB After Width: | Height: | Size: 562 KiB |
Before Width: | Height: | Size: 846 KiB After Width: | Height: | Size: 846 KiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 621 KiB After Width: | Height: | Size: 621 KiB |
Before Width: | Height: | Size: 840 KiB After Width: | Height: | Size: 840 KiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 640 KiB After Width: | Height: | Size: 640 KiB |
Before Width: | Height: | Size: 976 KiB After Width: | Height: | Size: 976 KiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 513 KiB After Width: | Height: | Size: 513 KiB |
Before Width: | Height: | Size: 729 KiB After Width: | Height: | Size: 729 KiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
@ -2,15 +2,10 @@
|
||||||
#include <osgDB/ReadFile>
|
#include <osgDB/ReadFile>
|
||||||
#include <osgText/Text>
|
#include <osgText/Text>
|
||||||
#include <osgGA/TrackballManipulator>
|
#include <osgGA/TrackballManipulator>
|
||||||
#include <chrono>
|
|
||||||
#include <osgGA/GUIEventAdapter>
|
#include <osgGA/GUIEventAdapter>
|
||||||
#include <osgViewer/ViewerEventHandlers>
|
#include <osgViewer/ViewerEventHandlers>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace chrono;
|
|
||||||
|
|
||||||
auto lastFT = system_clock::now();
|
|
||||||
auto FT = system_clock::now();
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
@ -30,9 +25,6 @@ int main(int argc, char** argv)
|
||||||
// 启动OSG Viewer循环
|
// 启动OSG Viewer循环
|
||||||
while (!viewer.done())
|
while (!viewer.done())
|
||||||
{
|
{
|
||||||
auto thisFT = system_clock::now();
|
|
||||||
auto FT = duration_cast<microseconds>(thisFT - lastFT);
|
|
||||||
lastFT = thisFT;
|
|
||||||
viewer.frame();
|
viewer.frame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>***REMOVED*** ***REMOVED***</string>
|
<string>2020114490 江一和</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>实验5-***REMOVED***-***REMOVED***</string>
|
<string>实验5-2020114490-江一和</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget"/>
|
<widget class="QWidget" name="centralwidget"/>
|
||||||
<widget class="QStatusBar" name="statusbar"/>
|
<widget class="QStatusBar" name="statusbar"/>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<item row="8" column="0" colspan="6">
|
<item row="8" column="0" colspan="6">
|
||||||
<widget class="QLabel" name="label_name">
|
<widget class="QLabel" name="label_name">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>***REMOVED*** 电子1班 ***REMOVED***</string>
|
<string>2020114490 电子1班 江一和</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|