lavavu 1.8.76__tar.gz → 1.9.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. {lavavu-1.8.76 → lavavu-1.9.5}/Makefile +2 -0
  2. lavavu-1.9.5/PKG-INFO +323 -0
  3. {lavavu-1.8.76 → lavavu-1.9.5}/README.md +16 -14
  4. lavavu-1.9.5/lavavu/LavaVuPython.py +561 -0
  5. lavavu-1.9.5/lavavu/__init__.py +15 -0
  6. lavavu-1.9.5/lavavu/__main__.py +12 -0
  7. lavavu-1.9.5/lavavu/amalgamate.py +15 -0
  8. lavavu-1.9.5/lavavu/aserver.py +359 -0
  9. lavavu-1.9.5/lavavu/control.py +1731 -0
  10. lavavu-1.9.5/lavavu/convert.py +888 -0
  11. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/dict.json +2 -2
  12. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/control.js +9 -4
  13. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/webview.html +1 -1
  14. lavavu-1.9.5/lavavu/lavavu.py +6134 -0
  15. lavavu-1.9.5/lavavu/osmesa/LavaVuPython.py +561 -0
  16. lavavu-1.9.5/lavavu/osmesa/__init__.py +0 -0
  17. lavavu-1.9.5/lavavu/points.py +191 -0
  18. lavavu-1.9.5/lavavu/server.py +343 -0
  19. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/default.frag +0 -6
  20. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/default.vert +4 -4
  21. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/fontShader.frag +0 -5
  22. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/lineShader.frag +0 -4
  23. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/lineShader.vert +0 -2
  24. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/pointShader.frag +0 -5
  25. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/pointShader.vert +0 -4
  26. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/triShader.frag +0 -17
  27. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/triShader.vert +0 -4
  28. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/volumeShader.frag +0 -63
  29. lavavu-1.9.5/lavavu/tracers.py +194 -0
  30. lavavu-1.9.5/lavavu/vutils.py +211 -0
  31. lavavu-1.9.5/lavavu.egg-info/PKG-INFO +323 -0
  32. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu.egg-info/SOURCES.txt +16 -0
  33. lavavu-1.9.5/lavavu.egg-info/entry_points.txt +2 -0
  34. lavavu-1.9.5/lavavu.egg-info/requires.txt +5 -0
  35. {lavavu-1.8.76 → lavavu-1.9.5}/pyproject.toml +2 -0
  36. {lavavu-1.8.76 → lavavu-1.9.5}/requirements.txt +3 -0
  37. {lavavu-1.8.76 → lavavu-1.9.5}/setup.py +61 -37
  38. {lavavu-1.8.76 → lavavu-1.9.5}/src/Colours.cpp +4 -0
  39. {lavavu-1.8.76 → lavavu-1.9.5}/src/Geometry.cpp +116 -36
  40. {lavavu-1.8.76 → lavavu-1.9.5}/src/Geometry.h +9 -7
  41. {lavavu-1.8.76 → lavavu-1.9.5}/src/GraphicsUtil.cpp +12 -2
  42. {lavavu-1.8.76 → lavavu-1.9.5}/src/Include.h +1 -0
  43. {lavavu-1.8.76 → lavavu-1.9.5}/src/InteractiveViewer.cpp +4 -1
  44. {lavavu-1.8.76 → lavavu-1.9.5}/src/LavaVu.cpp +34 -8
  45. {lavavu-1.8.76 → lavavu-1.9.5}/src/LavaVu.h +2 -1
  46. {lavavu-1.8.76 → lavavu-1.9.5}/src/LavaVuPython_wrap.cxx +106 -3
  47. {lavavu-1.8.76 → lavavu-1.9.5}/src/Model.cpp +18 -4
  48. {lavavu-1.8.76 → lavavu-1.9.5}/src/Session.cpp +15 -0
  49. {lavavu-1.8.76 → lavavu-1.9.5}/src/Session.h +4 -0
  50. {lavavu-1.8.76 → lavavu-1.9.5}/src/Shaders.cpp +12 -2
  51. {lavavu-1.8.76 → lavavu-1.9.5}/src/TriSurfaces.cpp +12 -6
  52. {lavavu-1.8.76 → lavavu-1.9.5}/src/Triangles.cpp +4 -2
  53. {lavavu-1.8.76 → lavavu-1.9.5}/src/Util.cpp +3 -2
  54. {lavavu-1.8.76 → lavavu-1.9.5}/src/Util.h +1 -1
  55. {lavavu-1.8.76 → lavavu-1.9.5}/src/VideoEncoder.cpp +38 -85
  56. {lavavu-1.8.76 → lavavu-1.9.5}/src/VideoEncoder.h +1 -2
  57. {lavavu-1.8.76 → lavavu-1.9.5}/src/Volumes.cpp +3 -0
  58. lavavu-1.9.5/src/version.cpp +2 -0
  59. lavavu-1.8.76/PKG-INFO +0 -10
  60. lavavu-1.8.76/lavavu.egg-info/PKG-INFO +0 -10
  61. lavavu-1.8.76/src/version.cpp +0 -2
  62. {lavavu-1.8.76 → lavavu-1.9.5}/LICENSE.md +0 -0
  63. {lavavu-1.8.76 → lavavu-1.9.5}/MANIFEST.in +0 -0
  64. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/font.bin +0 -0
  65. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/LavaVu-amalgamated.css +0 -0
  66. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/OK-min.js +0 -0
  67. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/baseviewer.js +0 -0
  68. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/control.css +0 -0
  69. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/dat-gui-light-theme.css +0 -0
  70. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/dat.gui.min.js +0 -0
  71. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/draw.js +0 -0
  72. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/drawbox.js +0 -0
  73. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/emscripten-template.js +0 -0
  74. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/emscripten.css +0 -0
  75. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/favicon.ico +0 -0
  76. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/gl-matrix-min.js +0 -0
  77. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/gui.css +0 -0
  78. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/menu.js +0 -0
  79. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/server.js +0 -0
  80. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/stats.min.js +0 -0
  81. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/styles.css +0 -0
  82. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/html/webview-template.html +0 -0
  83. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/fontShader.vert +0 -0
  84. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu/shaders/volumeShader.vert +0 -0
  85. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu.egg-info/dependency_links.txt +0 -0
  86. {lavavu-1.8.76 → lavavu-1.9.5}/lavavu.egg-info/top_level.txt +0 -0
  87. {lavavu-1.8.76 → lavavu-1.9.5}/setup.cfg +0 -0
  88. {lavavu-1.8.76 → lavavu-1.9.5}/src/ApplicationInterface.h +0 -0
  89. {lavavu-1.8.76 → lavavu-1.9.5}/src/ColourMap.cpp +0 -0
  90. {lavavu-1.8.76 → lavavu-1.9.5}/src/ColourMap.h +0 -0
  91. {lavavu-1.8.76 → lavavu-1.9.5}/src/Colours.h +0 -0
  92. {lavavu-1.8.76 → lavavu-1.9.5}/src/Contour.cpp +0 -0
  93. {lavavu-1.8.76 → lavavu-1.9.5}/src/Contour.h +0 -0
  94. {lavavu-1.8.76 → lavavu-1.9.5}/src/DrawingObject.cpp +0 -0
  95. {lavavu-1.8.76 → lavavu-1.9.5}/src/DrawingObject.h +0 -0
  96. {lavavu-1.8.76 → lavavu-1.9.5}/src/Extensions.cpp +0 -0
  97. {lavavu-1.8.76 → lavavu-1.9.5}/src/Extensions.h +0 -0
  98. {lavavu-1.8.76 → lavavu-1.9.5}/src/FontLine.h +0 -0
  99. {lavavu-1.8.76 → lavavu-1.9.5}/src/FontSans.h +0 -0
  100. {lavavu-1.8.76 → lavavu-1.9.5}/src/GLUtils.cpp +0 -0
  101. {lavavu-1.8.76 → lavavu-1.9.5}/src/GLUtils.h +0 -0
  102. {lavavu-1.8.76 → lavavu-1.9.5}/src/GraphicsUtil.h +0 -0
  103. {lavavu-1.8.76 → lavavu-1.9.5}/src/InputInterface.h +0 -0
  104. {lavavu-1.8.76 → lavavu-1.9.5}/src/IsoSurface.cpp +0 -0
  105. {lavavu-1.8.76 → lavavu-1.9.5}/src/IsoSurface.h +0 -0
  106. {lavavu-1.8.76 → lavavu-1.9.5}/src/Lines.cpp +0 -0
  107. {lavavu-1.8.76 → lavavu-1.9.5}/src/LinesSorted.cpp +0 -0
  108. {lavavu-1.8.76 → lavavu-1.9.5}/src/Links.cpp +0 -0
  109. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/CGLViewer.cpp +0 -0
  110. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/CGLViewer.h +0 -0
  111. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/CocoaViewer.h +0 -0
  112. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/CocoaViewer.mm +0 -0
  113. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/EGLViewer.cpp +0 -0
  114. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/EGLViewer.h +0 -0
  115. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/GLFWViewer.cpp +0 -0
  116. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/GLFWViewer.h +0 -0
  117. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/OSMesaViewer.cpp +0 -0
  118. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/OSMesaViewer.h +0 -0
  119. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/X11Viewer.cpp +0 -0
  120. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/X11Viewer.h +0 -0
  121. {lavavu-1.8.76 → lavavu-1.9.5}/src/Main/main.cpp +0 -0
  122. {lavavu-1.8.76 → lavavu-1.9.5}/src/Model.h +0 -0
  123. {lavavu-1.8.76 → lavavu-1.9.5}/src/OpenGLViewer.cpp +0 -0
  124. {lavavu-1.8.76 → lavavu-1.9.5}/src/OpenGLViewer.h +0 -0
  125. {lavavu-1.8.76 → lavavu-1.9.5}/src/OutputInterface.h +0 -0
  126. {lavavu-1.8.76 → lavavu-1.9.5}/src/Points.cpp +0 -0
  127. {lavavu-1.8.76 → lavavu-1.9.5}/src/QuadSurfaces.cpp +0 -0
  128. {lavavu-1.8.76 → lavavu-1.9.5}/src/RenderContext.cpp +0 -0
  129. {lavavu-1.8.76 → lavavu-1.9.5}/src/RenderContext.h +0 -0
  130. {lavavu-1.8.76 → lavavu-1.9.5}/src/Shaders.h +0 -0
  131. {lavavu-1.8.76 → lavavu-1.9.5}/src/Shapes.cpp +0 -0
  132. {lavavu-1.8.76 → lavavu-1.9.5}/src/TimeStep.h +0 -0
  133. {lavavu-1.8.76 → lavavu-1.9.5}/src/Tracers.cpp +0 -0
  134. {lavavu-1.8.76 → lavavu-1.9.5}/src/Vectors.cpp +0 -0
  135. {lavavu-1.8.76 → lavavu-1.9.5}/src/View.cpp +0 -0
  136. {lavavu-1.8.76 → lavavu-1.9.5}/src/View.h +0 -0
  137. {lavavu-1.8.76 → lavavu-1.9.5}/src/ViewerApp.h +0 -0
  138. {lavavu-1.8.76 → lavavu-1.9.5}/src/ViewerTypes.h +0 -0
  139. {lavavu-1.8.76 → lavavu-1.9.5}/src/base64.cpp +0 -0
  140. {lavavu-1.8.76 → lavavu-1.9.5}/src/base64.h +0 -0
  141. {lavavu-1.8.76 → lavavu-1.9.5}/src/fifo_map.hpp +0 -0
  142. {lavavu-1.8.76 → lavavu-1.9.5}/src/jpeg/jpgd.cpp +0 -0
  143. {lavavu-1.8.76 → lavavu-1.9.5}/src/jpeg/jpgd.h +0 -0
  144. {lavavu-1.8.76 → lavavu-1.9.5}/src/jpeg/jpge.cpp +0 -0
  145. {lavavu-1.8.76 → lavavu-1.9.5}/src/jpeg/jpge.h +0 -0
  146. {lavavu-1.8.76 → lavavu-1.9.5}/src/json.hpp +0 -0
  147. {lavavu-1.8.76 → lavavu-1.9.5}/src/linalg.h +0 -0
  148. {lavavu-1.8.76 → lavavu-1.9.5}/src/miniz/miniz.c +0 -0
  149. {lavavu-1.8.76 → lavavu-1.9.5}/src/miniz/miniz.h +0 -0
  150. {lavavu-1.8.76 → lavavu-1.9.5}/src/png/lodepng.cpp +0 -0
  151. {lavavu-1.8.76 → lavavu-1.9.5}/src/png/lodepng.h +0 -0
  152. {lavavu-1.8.76 → lavavu-1.9.5}/src/sqlite3/sqlite3.c +0 -0
  153. {lavavu-1.8.76 → lavavu-1.9.5}/src/sqlite3/sqlite3.h +0 -0
  154. {lavavu-1.8.76 → lavavu-1.9.5}/src/stb_image_resize.h +0 -0
  155. {lavavu-1.8.76 → lavavu-1.9.5}/src/tiny_obj_loader.h +0 -0
  156. {lavavu-1.8.76 → lavavu-1.9.5}/src/version.h +0 -0
@@ -171,6 +171,7 @@ $(OPATH)/compiler_flags: force | paths
171
171
  paths:
172
172
  @mkdir -p $(OPATH)
173
173
  @mkdir -p $(PREFIX)
174
+ @mkdir -p $(PREFIX)/osmesa
174
175
  @mkdir -p $(HTMLPATH)
175
176
  @mkdir -p $(PREFIX)/shaders
176
177
 
@@ -256,6 +257,7 @@ endif
256
257
  .PHONY: swig
257
258
  swig : $(INC) src/LavaVuPython.i | paths
258
259
  swig -v -Wextra -python -py3 -ignoremissing -O -c++ -DSWIG_DO_NOT_WRAP -outdir $(PREFIX) src/LavaVuPython.i
260
+ cd $(PREFIX)/osmesa; ln -sf ../LavaVuPython.py; touch __init__.py
259
261
 
260
262
  $(SWIGLIB) : $(LIBRARY) $(SWIGOBJ)
261
263
  -rm -f $(PREFIX)/_LavaVuPython.*
lavavu-1.9.5/PKG-INFO ADDED
@@ -0,0 +1,323 @@
1
+ Metadata-Version: 2.4
2
+ Name: lavavu
3
+ Version: 1.9.5
4
+ Summary: Python interface to LavaVu OpenGL 3D scientific visualisation utilities
5
+ Author-email: Owen Kaluza <owen@kaluza.id.au>
6
+ License: ### Licensing
7
+
8
+ 1) All source code is released under the LGPL-3 (See below). This covers all
9
+ files found in the `src` directory and any other material not explicitly
10
+ identified under (2) below.
11
+
12
+ 2) Notebooks, stand-alone documentation and python scripts which show how the code is used and run are licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. We offer this licence to encourage you to modify and share the examples and use them to help you in your research. Where no individual creator is identified in these files, the appropriate attribution is "The LavaVu Team". All the files covered by this license are found in the `scripts` and `notebooks` directories.
13
+
14
+ ### Copyright holders
15
+
16
+ Copyright Monash University, 2009-2017
17
+
18
+ ### License
19
+
20
+ GNU LESSER GENERAL PUBLIC LICENSE
21
+ Version 3, 29 June 2007
22
+
23
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
24
+ Everyone is permitted to copy and distribute verbatim copies
25
+ of this license document, but changing it is not allowed.
26
+
27
+
28
+ This version of the GNU Lesser General Public License incorporates
29
+ the terms and conditions of version 3 of the GNU General Public
30
+ License, supplemented by the additional permissions listed below.
31
+
32
+ 0. Additional Definitions.
33
+
34
+ As used herein, "this License" refers to version 3 of the GNU Lesser
35
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
36
+ General Public License.
37
+
38
+ "The Library" refers to a covered work governed by this License,
39
+ other than an Application or a Combined Work as defined below.
40
+
41
+ An "Application" is any work that makes use of an interface provided
42
+ by the Library, but which is not otherwise based on the Library.
43
+ Defining a subclass of a class defined by the Library is deemed a mode
44
+ of using an interface provided by the Library.
45
+
46
+ A "Combined Work" is a work produced by combining or linking an
47
+ Application with the Library. The particular version of the Library
48
+ with which the Combined Work was made is also called the "Linked
49
+ Version".
50
+
51
+ The "Minimal Corresponding Source" for a Combined Work means the
52
+ Corresponding Source for the Combined Work, excluding any source code
53
+ for portions of the Combined Work that, considered in isolation, are
54
+ based on the Application, and not on the Linked Version.
55
+
56
+ The "Corresponding Application Code" for a Combined Work means the
57
+ object code and/or source code for the Application, including any data
58
+ and utility programs needed for reproducing the Combined Work from the
59
+ Application, but excluding the System Libraries of the Combined Work.
60
+
61
+ 1. Exception to Section 3 of the GNU GPL.
62
+
63
+ You may convey a covered work under sections 3 and 4 of this License
64
+ without being bound by section 3 of the GNU GPL.
65
+
66
+ 2. Conveying Modified Versions.
67
+
68
+ If you modify a copy of the Library, and, in your modifications, a
69
+ facility refers to a function or data to be supplied by an Application
70
+ that uses the facility (other than as an argument passed when the
71
+ facility is invoked), then you may convey a copy of the modified
72
+ version:
73
+
74
+ a) under this License, provided that you make a good faith effort to
75
+ ensure that, in the event an Application does not supply the
76
+ function or data, the facility still operates, and performs
77
+ whatever part of its purpose remains meaningful, or
78
+
79
+ b) under the GNU GPL, with none of the additional permissions of
80
+ this License applicable to that copy.
81
+
82
+ 3. Object Code Incorporating Material from Library Header Files.
83
+
84
+ The object code form of an Application may incorporate material from
85
+ a header file that is part of the Library. You may convey such object
86
+ code under terms of your choice, provided that, if the incorporated
87
+ material is not limited to numerical parameters, data structure
88
+ layouts and accessors, or small macros, inline functions and templates
89
+ (ten or fewer lines in length), you do both of the following:
90
+
91
+ a) Give prominent notice with each copy of the object code that the
92
+ Library is used in it and that the Library and its use are
93
+ covered by this License.
94
+
95
+ b) Accompany the object code with a copy of the GNU GPL and this license
96
+ document.
97
+
98
+ 4. Combined Works.
99
+
100
+ You may convey a Combined Work under terms of your choice that,
101
+ taken together, effectively do not restrict modification of the
102
+ portions of the Library contained in the Combined Work and reverse
103
+ engineering for debugging such modifications, if you also do each of
104
+ the following:
105
+
106
+ a) Give prominent notice with each copy of the Combined Work that
107
+ the Library is used in it and that the Library and its use are
108
+ covered by this License.
109
+
110
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
111
+ document.
112
+
113
+ c) For a Combined Work that displays copyright notices during
114
+ execution, include the copyright notice for the Library among
115
+ these notices, as well as a reference directing the user to the
116
+ copies of the GNU GPL and this license document.
117
+
118
+ d) Do one of the following:
119
+
120
+ 0) Convey the Minimal Corresponding Source under the terms of this
121
+ License, and the Corresponding Application Code in a form
122
+ suitable for, and under terms that permit, the user to
123
+ recombine or relink the Application with a modified version of
124
+ the Linked Version to produce a modified Combined Work, in the
125
+ manner specified by section 6 of the GNU GPL for conveying
126
+ Corresponding Source.
127
+
128
+ 1) Use a suitable shared library mechanism for linking with the
129
+ Library. A suitable mechanism is one that (a) uses at run time
130
+ a copy of the Library already present on the user's computer
131
+ system, and (b) will operate properly with a modified version
132
+ of the Library that is interface-compatible with the Linked
133
+ Version.
134
+
135
+ e) Provide Installation Information, but only if you would otherwise
136
+ be required to provide such information under section 6 of the
137
+ GNU GPL, and only to the extent that such information is
138
+ necessary to install and execute a modified version of the
139
+ Combined Work produced by recombining or relinking the
140
+ Application with a modified version of the Linked Version. (If
141
+ you use option 4d0, the Installation Information must accompany
142
+ the Minimal Corresponding Source and Corresponding Application
143
+ Code. If you use option 4d1, you must provide the Installation
144
+ Information in the manner specified by section 6 of the GNU GPL
145
+ for conveying Corresponding Source.)
146
+
147
+ 5. Combined Libraries.
148
+
149
+ You may place library facilities that are a work based on the
150
+ Library side by side in a single library together with other library
151
+ facilities that are not Applications and are not covered by this
152
+ License, and convey such a combined library under terms of your
153
+ choice, if you do both of the following:
154
+
155
+ a) Accompany the combined library with a copy of the same work based
156
+ on the Library, uncombined with any other library facilities,
157
+ conveyed under the terms of this License.
158
+
159
+ b) Give prominent notice with the combined library that part of it
160
+ is a work based on the Library, and explaining where to find the
161
+ accompanying uncombined form of the same work.
162
+
163
+ 6. Revised Versions of the GNU Lesser General Public License.
164
+
165
+ The Free Software Foundation may publish revised and/or new versions
166
+ of the GNU Lesser General Public License from time to time. Such new
167
+ versions will be similar in spirit to the present version, but may
168
+ differ in detail to address new problems or concerns.
169
+
170
+ Each version is given a distinguishing version number. If the
171
+ Library as you received it specifies that a certain numbered version
172
+ of the GNU Lesser General Public License "or any later version"
173
+ applies to it, you have the option of following the terms and
174
+ conditions either of that published version or of any later version
175
+ published by the Free Software Foundation. If the Library as you
176
+ received it does not specify a version number of the GNU Lesser
177
+ General Public License, you may choose any version of the GNU Lesser
178
+ General Public License ever published by the Free Software Foundation.
179
+
180
+ If the Library as you received it specifies that a proxy can decide
181
+ whether future versions of the GNU Lesser General Public License shall
182
+ apply, that proxy's public statement of acceptance of any version is
183
+ permanent authorization for you to choose that version for the
184
+ Library.
185
+
186
+ Project-URL: Documentation, https://lavavu.github.io
187
+ Project-URL: Source, https://github.com/lavavu/LavaVu
188
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
189
+ Classifier: Intended Audience :: Developers
190
+ Classifier: Intended Audience :: Science/Research
191
+ Classifier: Operating System :: POSIX :: Linux
192
+ Classifier: Operating System :: MacOS
193
+ Classifier: Operating System :: Microsoft :: Windows
194
+ Classifier: Environment :: X11 Applications
195
+ Classifier: Environment :: MacOS X :: Cocoa
196
+ Classifier: Environment :: Win32 (MS Windows)
197
+ Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
198
+ Classifier: Topic :: Scientific/Engineering :: Visualization
199
+ Classifier: Development Status :: 5 - Production/Stable
200
+ Classifier: Programming Language :: C++
201
+ Classifier: Programming Language :: Python :: 3
202
+ Classifier: Programming Language :: Python :: 3.6
203
+ Classifier: Programming Language :: Python :: 3.7
204
+ Classifier: Programming Language :: Python :: 3.8
205
+ Classifier: Programming Language :: Python :: 3.9
206
+ Classifier: Programming Language :: Python :: 3.10
207
+ Classifier: Programming Language :: Python :: 3.11
208
+ Classifier: Programming Language :: Python :: 3.12
209
+ Classifier: Programming Language :: Python :: 3 :: Only
210
+ Classifier: Framework :: Jupyter
211
+ Classifier: Framework :: IPython
212
+ Requires-Python: >=3.5
213
+ Description-Content-Type: text/markdown
214
+ License-File: LICENSE.md
215
+ Requires-Dist: numpy>=1.18
216
+ Requires-Dist: aiohttp
217
+ Requires-Dist: jupyter_server_proxy
218
+ Requires-Dist: matplotlib
219
+ Requires-Dist: numpy-quaternion
220
+ Dynamic: license-file
221
+
222
+ ![# logo](http://owen.kaluza.id.au/Slides/2017-08-15/LavaVu.png)
223
+
224
+ [![Build Status](https://github.com/lavavu/LavaVu/workflows/Test/badge.svg)](https://github.com/lavavu/LavaVu/actions?query=workflow:Test)
225
+ [![Deploy Status](https://github.com/lavavu/LavaVu/workflows/Deploy/badge.svg?branch=1.7.3)](https://github.com/lavavu/LavaVu/actions?query=workflow:Deploy)
226
+ [![DOI](https://zenodo.org/badge/45163055.svg)](https://zenodo.org/badge/latestdoi/45163055)
227
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/lavavu/LavaVu/1.9.5)
228
+
229
+ A scientific visualisation tool with a python interface for fast and flexible visual analysis.
230
+
231
+ Documentation available here [LavaVu Documentation](https://lavavu.github.io/Documentation/)
232
+
233
+ ![examplevis](http://owen.kaluza.id.au/Slides/2017-08-15/combined.png)
234
+
235
+ LavaVu development is supported by [ACCESS-NRI](https://www.access-nri.org.au/).
236
+ Prior development was funded by the Monash Immersive Visualisation Plaform at [Monash eResearch](https://www.monash.edu/researchinfrastructure/eresearch) and the Simulation, Analysis & Modelling component of the [NCRIS AuScope](http://www.auscope.org.au/ncris/) capability.
237
+
238
+ The acronym stands for: lightweight, automatable visualisation and analysis viewing utility, but "lava" is also a reference to its primary application as a viewer for geophysical simulations. It was also chosen to be unique enough to find the repository with google.
239
+
240
+ The project started as a replacement rendering library for the gLucifer<sup>1</sup> framework, visualising geodynamics simulations. The new OpenGL visualisation code was re-implemented as a more general purpose visualisation tool. gLucifer continues as a set of sampling tools for Underworld simulations as part of the [Underworld2](https://github.com/underworldcode/underworld2/) code. LavaVu provides the rendering library for creating 2d and 3d visualisations to view this sampled data, inline within interactive Jupyter notebooks and offline through saved visualisation databases and images/movies.
241
+
242
+ As a standalone tool it is a scriptable 3D visualisation tool capable of producing publication quality high res images and video output from time varying data sets along with HTML5 3D visualisations in WebGL.
243
+ Rendering features include correctly and efficiently rendering large numbers of opaque and transparent points and surfaces and volume rendering by GPU ray-marching. There are also features for drawing vector fields and tracers (streamlines).
244
+
245
+ Control is via python and a set of simple verbose scripting commands along with mouse/keyboard interaction.
246
+ GUI components can be generated for use from a web browser via the python "control" module and a built in web server.
247
+
248
+ Widgets for interactive use in the Jupyter notebook environment allow use for remote visualisation, eg: on supercomputing environments.
249
+
250
+ A native data format called GLDB is used to store and visualisations in a compact single file, using SQLite for storage and fast loading. A small number of other data formats are supported for import (OBJ surfaces, TIFF stacks etc).
251
+ Further data import formats are supported with python scripts, with the numpy interface allowing rapid loading and manipulation of data.
252
+
253
+ ### This repository ###
254
+
255
+ This is the public source code repository for all development on the project.
256
+ Development happens in the "master" branch with stable releases tagged, so if you just check out master, be aware that things can be unstable or broken from time to time.
257
+
258
+ ### How do I get set up? ###
259
+
260
+ It's now in the python package index, so you can install with *pip*:
261
+
262
+ ```
263
+ python -m pip install lavavu
264
+ ```
265
+
266
+ > Currently binary wheels are provided for Linux x86_64, MacOS x86_64 and ARM64 and Windows x86_64.
267
+
268
+ To try it out:
269
+
270
+ ```
271
+ python
272
+ > import lavavu
273
+ > lv = lavavu.Viewer() #Create a viewer
274
+ > lv.test() #Plot some sample data
275
+ > lv.interactive() #Open an interactive viewer window
276
+ ```
277
+
278
+ Alternatively, clone this repository with *git* and build from source:
279
+
280
+ ```
281
+ git clone https://github.com/lavavu/LavaVu
282
+ cd LavaVu
283
+ python -m pip install .
284
+ ```
285
+ or
286
+ ```
287
+ make -j4
288
+
289
+ ```
290
+
291
+ If all goes well the viewer will be built, try running with:
292
+ ./lavavu/LavaVu
293
+
294
+ ### Dependencies ###
295
+
296
+ * OpenGL and Zlib, present on most systems, headers may need to be installed
297
+ * To use with python requires python 3.6+ and NumPy
298
+ * For video output, requires: PyAV or for built in encoding, libavcodec, libavformat, libavutil, libswscale (from FFmpeg / libav)
299
+ * To build the python interface from source requires swig (http://www.swig.org/)
300
+
301
+ ### Who do I talk to? ###
302
+
303
+ * Report bugs/issues here on github: https://github.com/lavavu/LavaVu/issues
304
+ * Contact developer: Owen Kaluza (at) anu.edu.au
305
+
306
+ For further documentation / examples, see the online documentation
307
+ * https://lavavu.github.io/Documentation
308
+
309
+ ### Included libraries ###
310
+ In order to avoid as many external dependencies as possible, the LavaVu sources include files from the following public domain or open source libraries, many thanks to the authors for making their code available!
311
+ * SQLite3 https://www.sqlite.org
312
+ * JSON for Modern C++ https://github.com/nlohmann/json
313
+ * linalg https://github.com/sgorsten/linalg
314
+ * Tiny OBJ Loader https://github.com/syoyo/tinyobjloader
315
+ * LodePNG https://github.com/lvandeve/lodepng
316
+ * jpeg-compressor https://github.com/richgel999/jpeg-compressor
317
+ * miniz https://github.com/richgel999/miniz
318
+ * GPU Cubic B-Spline Interpolation (optional) in volume shader http://www.dannyruijters.nl/cubicinterpolation/ <sup>2</sup>
319
+ * stb_image_resize http://github.com/nothings/stb
320
+
321
+ ---
322
+ <sup>1</sup> [Stegman, D.R., Moresi, L., Turnbull, R., Giordani, J., Sunter, P., Lo, A. and S. Quenette, *gLucifer: Next Generation Visualization Framework for High performance computational geodynamics*, 2008, Visual Geosciences](http://dx.doi.org/10.1007/s10069-008-0010-2)
323
+ <sup>2</sup> [Ruijters, Daniel & ter Haar Romeny, Bart & Suetens, Paul. (2008). Efficient GPU-Based Texture Interpolation using Uniform B-Splines. J. Graphics Tools. 13. 61-69.](http://dx.doi.org/10.1080/2151237X.2008.10129269)
@@ -3,7 +3,7 @@
3
3
  [![Build Status](https://github.com/lavavu/LavaVu/workflows/Test/badge.svg)](https://github.com/lavavu/LavaVu/actions?query=workflow:Test)
4
4
  [![Deploy Status](https://github.com/lavavu/LavaVu/workflows/Deploy/badge.svg?branch=1.7.3)](https://github.com/lavavu/LavaVu/actions?query=workflow:Deploy)
5
5
  [![DOI](https://zenodo.org/badge/45163055.svg)](https://zenodo.org/badge/latestdoi/45163055)
6
- [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/lavavu/LavaVu/1.8.76)
6
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/lavavu/LavaVu/1.9.5)
7
7
 
8
8
  A scientific visualisation tool with a python interface for fast and flexible visual analysis.
9
9
 
@@ -11,11 +11,12 @@ Documentation available here [LavaVu Documentation](https://lavavu.github.io/Doc
11
11
 
12
12
  ![examplevis](http://owen.kaluza.id.au/Slides/2017-08-15/combined.png)
13
13
 
14
- LavaVu development is supported by the [Monash Immersive Visualisation Plaform](http://monash.edu.au/mivp) and the Simulation, Analysis & Modelling component of the [NCRIS AuScope](http://www.auscope.org.au/ncris/) capability.
14
+ LavaVu development is supported by [ACCESS-NRI](https://www.access-nri.org.au/).
15
+ Prior development was funded by the Monash Immersive Visualisation Plaform at [Monash eResearch](https://www.monash.edu/researchinfrastructure/eresearch) and the Simulation, Analysis & Modelling component of the [NCRIS AuScope](http://www.auscope.org.au/ncris/) capability.
15
16
 
16
17
  The acronym stands for: lightweight, automatable visualisation and analysis viewing utility, but "lava" is also a reference to its primary application as a viewer for geophysical simulations. It was also chosen to be unique enough to find the repository with google.
17
18
 
18
- The project started in the gLucifer<sup>1</sup> framework for visualising geodynamics simulations. The OpenGL visualisation module was separated from the simulation and sampling libraries and became a more general purpose visualisation tool. gLucifer continues as a set of sampling tools for Underworld simulations as part of the [Underworld2](https://github.com/underworldcode/underworld2/) code. LavaVu provides the rendering library for creating 2d and 3d visualisations to view this sampled data, inline within interactive IPython notebooks and offline through saved visualisation databases and images/movies.
19
+ The project started as a replacement rendering library for the gLucifer<sup>1</sup> framework, visualising geodynamics simulations. The new OpenGL visualisation code was re-implemented as a more general purpose visualisation tool. gLucifer continues as a set of sampling tools for Underworld simulations as part of the [Underworld2](https://github.com/underworldcode/underworld2/) code. LavaVu provides the rendering library for creating 2d and 3d visualisations to view this sampled data, inline within interactive Jupyter notebooks and offline through saved visualisation databases and images/movies.
19
20
 
20
21
  As a standalone tool it is a scriptable 3D visualisation tool capable of producing publication quality high res images and video output from time varying data sets along with HTML5 3D visualisations in WebGL.
21
22
  Rendering features include correctly and efficiently rendering large numbers of opaque and transparent points and surfaces and volume rendering by GPU ray-marching. There are also features for drawing vector fields and tracers (streamlines).
@@ -23,12 +24,11 @@ Rendering features include correctly and efficiently rendering large numbers of
23
24
  Control is via python and a set of simple verbose scripting commands along with mouse/keyboard interaction.
24
25
  GUI components can be generated for use from a web browser via the python "control" module and a built in web server.
25
26
 
27
+ Widgets for interactive use in the Jupyter notebook environment allow use for remote visualisation, eg: on supercomputing environments.
28
+
26
29
  A native data format called GLDB is used to store and visualisations in a compact single file, using SQLite for storage and fast loading. A small number of other data formats are supported for import (OBJ surfaces, TIFF stacks etc).
27
30
  Further data import formats are supported with python scripts, with the numpy interface allowing rapid loading and manipulation of data.
28
31
 
29
- A CAVE2 virtual reality mode is provided by utilising Omegalib (http://github.com/uic-evl/omegalib) to allow use in Virtual Reality and Immersive Visualisation facilities, such as the CAVE2 at Monash, see (https://github.com/mivp/LavaVR).
30
- Side-by-side and quad buffer stereoscopic 3D support is also provided for other 3D displays.
31
-
32
32
  ### This repository ###
33
33
 
34
34
  This is the public source code repository for all development on the project.
@@ -39,13 +39,10 @@ Development happens in the "master" branch with stable releases tagged, so if yo
39
39
  It's now in the python package index, so you can install with *pip*:
40
40
 
41
41
  ```
42
- pip install --user lavavu
42
+ python -m pip install lavavu
43
43
  ```
44
44
 
45
- > If you don't have pip available, you can try `sudo easy_install pip` or just install [Anaconda](https://www.anaconda.com/download), which comes with pip and a whole lot of other useful packages for scientific work with python. Once in anaconda `pip install lavavu` will install the package.
46
-
47
- > Currently no binaries are provided and the installer needs to compile the library, so on Linux you may need some developer tools and headers first, eg: for Ubuntu:
48
- `sudo apt install build-essential libgl1-mesa-dev libx11-dev zlib1g-dev`
45
+ > Currently binary wheels are provided for Linux x86_64, MacOS x86_64 and ARM64 and Windows x86_64.
49
46
 
50
47
  To try it out:
51
48
 
@@ -62,7 +59,12 @@ Alternatively, clone this repository with *git* and build from source:
62
59
  ```
63
60
  git clone https://github.com/lavavu/LavaVu
64
61
  cd LavaVu
62
+ python -m pip install .
63
+ ```
64
+ or
65
+ ```
65
66
  make -j4
67
+
66
68
  ```
67
69
 
68
70
  If all goes well the viewer will be built, try running with:
@@ -71,14 +73,14 @@ If all goes well the viewer will be built, try running with:
71
73
  ### Dependencies ###
72
74
 
73
75
  * OpenGL and Zlib, present on most systems, headers may need to be installed
74
- * To use with python requires python 2.7+ and NumPy
75
- * For video output, requires: libavcodec, libavformat, libavutil, libswscale (from FFmpeg / libav)
76
+ * To use with python requires python 3.6+ and NumPy
77
+ * For video output, requires: PyAV or for built in encoding, libavcodec, libavformat, libavutil, libswscale (from FFmpeg / libav)
76
78
  * To build the python interface from source requires swig (http://www.swig.org/)
77
79
 
78
80
  ### Who do I talk to? ###
79
81
 
80
82
  * Report bugs/issues here on github: https://github.com/lavavu/LavaVu/issues
81
- * Contact developer: Owen Kaluza (at) monash.edu
83
+ * Contact developer: Owen Kaluza (at) anu.edu.au
82
84
 
83
85
  For further documentation / examples, see the online documentation
84
86
  * https://lavavu.github.io/Documentation