/
README
97 lines (57 loc) · 3.01 KB
/
README
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
AUTHOR: Thomas Diewald
Date: 26.07.2011
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
!new Library! https://github.com/diwi/PixelFlow
################################################################################
--------------------------------------------------------------------------------
PROCESSING - fluid library - diewald_fluid
--------------------------------------------------------------------------------
################################################################################
- this library is made for simulating fluids in realtime
- the simulation can be done in two ways:
a) on the CPU
b) on the GPU, which is about 10 to 20 times faster than on the CPU
the simulation happens on several shaders, that are loaded internally by
the processing library GLGraphics.jar by andres colubri
(http://glgraphics.sourceforge.net , or here http://codeanticode.wordpress.com/)
so you need to install GLGraphics.jar too, if you want to instantiate
the GPU fluid.
--------------------------------------------------------------------------------
online example:
(it shows the CPU simulation, ... GPU-simulation doesnt work within an applet)
http://www.openprocessing.org/visuals/?visualID=31335
video on vimeo (composed by andres colubri)
http://vimeo.com/27864845
--------------------------------------------------------------------------------
ZIP_CONTENT:
1) processing examples
2) reference
3) source-code
4) library: diewald_fluid.jar
--------------------------------------------------------------------------------
FEATURES:
- fluid-solver for 2d-simulation (maybe 3d will follow)
- GPU / CPU solver
- interaction with obstacles
--------------------------------------------------------------------------------
USEFUL LINKS TO THIS TOPIC:
http://cowboyprogramming.com/2008/04/01/practical-fluid-mechanics/
http://www.dgp.toronto.edu/people/stam/reality/Research/pub.html
http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf
http://icosahedral.net/java/fluidsim.html
http://www.cs.unm.edu/~mskarim/cgprojects.htm
http://software.intel.com/en-us/articles/fluid-simulation-for-video-games-part-1/
http://www.gm.fh-koeln.de/~konen/research/DA-BA-MA/WPP-Projekte.html
http://www.plunk.org/~trina/thesis/html/thesis_toc.html
http://www.ss.iij4u.or.jp/~amada/fluid/
http://physbam.stanford.edu/~fedkiw/
http://physbam.stanford.edu/~fedkiw/
http://developer.download.nvidia.com/SDK/9.5/Samples/samples.html#gpgpu_fluid
http://vterrain.org/Water/
http://users.cms.caltech.edu/~keenan/project_fluid.html
http://www.foliativ.net/book/index.php?post/2011/03/04/Cuda-Fluid-Solver-Plugin
http://sites.google.com/site/jakubcerveny/
http://www.cs.cornell.edu/courses/cs567/2007sp/a4SmokeControl/