forked from jeschke/water-wave-packets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
31 lines (23 loc) · 1.29 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-----------------------------
Manual for wave packet viewer
-----------------------------
System requirements: Windows8/8.1/10 with DirectX runtime enabled
- click + mouse drag to view
- "A"D"W"S" for basic navigation ("Q"E" for up/down movement)
- "R" for placing a new circular wave at the screen center (if looking up, the wave is placed at the scene center)
- "M" to show/hide menues
- the remaining functions are mostly self-explanatory
- the file "TestIsland.bmp" contains the scene (terrain height and water depth in the color channels)
-----------------------------
Manual for the source code
-----------------------------
Stored as Visual Studio 2015 solution.
Needs the "Eigen" library ( http://eigen.tuxfamily.org )
The actual project is "SimpleSampleDirectXTK" (others are support classes for GUI and DirectX programming).
-"GlobalDefs" global -> variables
-"Packets.h/cpp" -> the complete packet management
-"Render.h/cpp" -> the scene and packet display
-"WavePackets.fx" -> all display/shading functions
-"WavePacketViewer.cpp" -> interface calling packet creating/simulation and rendering
Functions to conveniently create packets are "CreateCircularWavefront" "CreateLinearWavefront" and "CreateSpreadingPacket".
If you have any question, do not hesitate to ask me ( [email protected] )