Skip to content
Browse files

Added License file and taged all our source files with zlib license.

  • Loading branch information...
1 parent 6124e88 commit 1271da6e2298b1003aa5ca1c0afb6b7d5734d7fe Andrew Stephen Young committed Sep 14, 2011
Showing with 5,472 additions and 3 deletions.
  1. +24 −0 rtpslib/RTPS.cpp
  2. +24 −0 rtpslib/RTPS.h
  3. +24 −0 rtpslib/RTPSettings.cpp
  4. +24 −0 rtpslib/RTPSettings.h
  5. +24 −0 rtpslib/domain/Domain.cpp
  6. +24 −0 rtpslib/domain/Domain.h
  7. +24 −0 rtpslib/domain/IV.cpp
  8. +24 −0 rtpslib/domain/IV.h
  9. +24 −0 rtpslib/domain/UniformGrid.cpp
  10. +24 −0 rtpslib/domain/UniformGrid.h
  11. +24 −0 rtpslib/gtod_windows.cpp
  12. +24 −0 rtpslib/gtod_windows.h
  13. +24 −0 rtpslib/materials_lights.h
  14. +24 −0 rtpslib/matrix_library/Point1.inline.h
  15. +24 −0 rtpslib/opencl/Buffer.cpp
  16. +24 −0 rtpslib/opencl/Buffer.h
  17. +24 −0 rtpslib/opencl/CLL.cpp
  18. +24 −0 rtpslib/opencl/CLL.h
  19. +24 −0 rtpslib/opencl/Kernel.cpp
  20. +24 −0 rtpslib/opencl/Kernel.h
  21. +24 −0 rtpslib/opencl/Program.cpp
  22. +24 −0 rtpslib/opencl/Program.h
  23. +24 −0 rtpslib/render/Render.cpp
  24. +24 −0 rtpslib/render/Render.h
  25. +24 −0 rtpslib/render/SSFRender.cpp
  26. +24 −0 rtpslib/render/SSFRender.h
  27. +24 −0 rtpslib/render/Sphere3DRender.cpp
  28. +24 −0 rtpslib/render/Sphere3DRender.h
  29. +24 −0 rtpslib/render/SpriteRender.cpp
  30. +24 −0 rtpslib/render/SpriteRender.h
  31. +24 −0 rtpslib/render/shaders.cpp
  32. +24 −0 rtpslib/render/shaders/curvature_flow.cl
  33. +24 −0 rtpslib/render/util/stb_image.h
  34. +24 −0 rtpslib/render/util/stb_image_write.h
  35. +24 −0 rtpslib/rtps_common.h
  36. +24 −0 rtpslib/structs.cpp
  37. +24 −0 rtpslib/structs.h
  38. +24 −0 rtpslib/system/Cloud.cpp
  39. +24 −0 rtpslib/system/Cloud.h
  40. +24 −0 rtpslib/system/FLOCK.cpp
  41. +24 −0 rtpslib/system/FLOCK.h
  42. +24 −0 rtpslib/system/FLOCKSettings.cpp
  43. +24 −0 rtpslib/system/FLOCKSettings.h
  44. +24 −0 rtpslib/system/ForceField.h
  45. +24 −0 rtpslib/system/OUTER.cpp
  46. +24 −0 rtpslib/system/OUTER.h
  47. +24 −0 rtpslib/system/OUTERSettings.cpp
  48. +24 −0 rtpslib/system/OUTERSettings.h
  49. +24 −0 rtpslib/system/SPH.cpp
  50. +24 −0 rtpslib/system/SPH.h
  51. +24 −0 rtpslib/system/SPHSettings.cpp
  52. +24 −0 rtpslib/system/SPHSettings.h
  53. +24 −0 rtpslib/system/Simple.cpp
  54. +24 −0 rtpslib/system/Simple.h
  55. +24 −0 rtpslib/system/System.h
  56. +24 −0 rtpslib/system/boids.cpp
  57. +24 −0 rtpslib/system/boids.h
  58. +0 −1 rtpslib/system/common/BitonicSort.cpp
  59. +24 −0 rtpslib/system/common/CellIndices.cpp
  60. +24 −0 rtpslib/system/common/CellIndices.h
  61. +0 −1 rtpslib/system/common/CloudBitonicSort.cpp
  62. +24 −0 rtpslib/system/common/CloudBitonicSort.h
  63. +24 −0 rtpslib/system/common/CloudPermute.cpp
  64. +24 −0 rtpslib/system/common/CloudPermute.h
  65. +24 −0 rtpslib/system/common/Hash.cpp
  66. +24 −0 rtpslib/system/common/Hash.h
  67. +24 −0 rtpslib/system/common/Hose.cpp
  68. +24 −0 rtpslib/system/common/Hose.h
  69. +24 −0 rtpslib/system/common/Permute.cpp
  70. +24 −0 rtpslib/system/common/Permute.h
  71. +0 −1 rtpslib/system/common/Radix.cpp
  72. +24 −0 rtpslib/system/common/cl_src/cl_hash.h
  73. +24 −0 rtpslib/system/common/cl_src/cl_macros.h
  74. +24 −0 rtpslib/system/common/cl_src/cl_structs.h
  75. +24 −0 rtpslib/system/common/cl_src/hash.cl
  76. +24 −0 rtpslib/system/flock/EulerIntegration.cpp
  77. +24 −0 rtpslib/system/flock/EulerIntegration.h
  78. +24 −0 rtpslib/system/flock/Rules.cpp
  79. +24 −0 rtpslib/system/flock/Rules.h
  80. +24 −0 rtpslib/system/flock/Sort.cpp
  81. +24 −0 rtpslib/system/flock/cl_src/cl_hash.h
  82. +24 −0 rtpslib/system/flock/cl_src/cl_macros.h
  83. +24 −0 rtpslib/system/flock/cl_src/cl_neighbors.h
  84. +24 −0 rtpslib/system/flock/cl_src/cl_structs.h
  85. +24 −0 rtpslib/system/flock/cl_src/euler_integration.cl
  86. +24 −0 rtpslib/system/flock/cl_src/rule_alignment.cl
  87. +24 −0 rtpslib/system/flock/cl_src/rule_avoid.cl
  88. +24 −0 rtpslib/system/flock/cl_src/rule_cohesion.cl
  89. +24 −0 rtpslib/system/flock/cl_src/rule_goal.cl
  90. +24 −0 rtpslib/system/flock/cl_src/rule_leaderfollowing.cl
  91. +24 −0 rtpslib/system/flock/cl_src/rule_separation.cl
  92. +24 −0 rtpslib/system/flock/cl_src/rules.cl
  93. +24 −0 rtpslib/system/outer/Collision_cloud.cpp
  94. +24 −0 rtpslib/system/outer/Collision_cloud.h
  95. +24 −0 rtpslib/system/outer/Collision_triangle.cpp
  96. +24 −0 rtpslib/system/outer/Collision_triangle.h
  97. +24 −0 rtpslib/system/outer/Collision_wall.cpp
  98. +24 −0 rtpslib/system/outer/Collision_wall.h
  99. +24 −0 rtpslib/system/outer/DataStructures.cpp
  100. +24 −0 rtpslib/system/outer/DataStructures.h
  101. +24 −0 rtpslib/system/outer/Density.cpp
  102. +24 −0 rtpslib/system/outer/Density.h
  103. +24 −0 rtpslib/system/outer/Euler.cpp
  104. +24 −0 rtpslib/system/outer/Euler.h
  105. +24 −0 rtpslib/system/outer/Force.cpp
  106. +24 −0 rtpslib/system/outer/Force.h
  107. +24 −0 rtpslib/system/outer/Kernels.cpp
  108. +24 −0 rtpslib/system/outer/LeapFrog.cpp
  109. +24 −0 rtpslib/system/outer/LeapFrog.h
  110. +24 −0 rtpslib/system/outer/Lifetime.cpp
  111. +24 −0 rtpslib/system/outer/Lifetime.h
  112. +24 −0 rtpslib/system/outer/Neighbors.cpp
  113. +24 −0 rtpslib/system/outer/Prep.cpp
  114. +24 −0 rtpslib/system/outer/Prep.h
  115. +24 −0 rtpslib/system/outer/Pressure.cpp
  116. +24 −0 rtpslib/system/outer/Scopy.cpp
  117. +24 −0 rtpslib/system/outer/Sort.cpp
  118. +24 −0 rtpslib/system/outer/Viscosity.cpp
  119. +24 −0 rtpslib/system/outer/XOUTER.cpp
  120. +24 −0 rtpslib/system/outer/cl_src/cl_collision.h
  121. +24 −0 rtpslib/system/outer/cl_src/cl_density.h
  122. +24 −0 rtpslib/system/outer/cl_src/cl_force.h
  123. +24 −0 rtpslib/system/outer/cl_src/cl_hash.h
  124. +24 −0 rtpslib/system/outer/cl_src/cl_kernels.h
  125. +24 −0 rtpslib/system/outer/cl_src/cl_macros.h
  126. +24 −0 rtpslib/system/outer/cl_src/cl_neighbors.h
  127. +24 −0 rtpslib/system/outer/cl_src/cl_structs.h
  128. +24 −0 rtpslib/system/outer/cl_src/cl_surface_extraction.h
  129. +24 −0 rtpslib/system/outer/cl_src/cl_surface_tension.h
  130. +24 −0 rtpslib/system/outer/cl_src/collision_tri.cl
  131. +24 −0 rtpslib/system/outer/cl_src/collision_wall.cl
  132. +24 −0 rtpslib/system/outer/cl_src/density.cl
  133. +24 −0 rtpslib/system/outer/cl_src/euler.cl
  134. +24 −0 rtpslib/system/outer/cl_src/force.cl
  135. +24 −0 rtpslib/system/outer/cl_src/leapfrog.cl
  136. +24 −0 rtpslib/system/outer/cl_src/lifetime.cl
  137. +24 −0 rtpslib/system/outer/cl_src/lifetime_smoke.cl
  138. +24 −0 rtpslib/system/outer/cl_src/neighbors.cl
  139. +24 −0 rtpslib/system/outer/cl_src/prep.cl
  140. +24 −0 rtpslib/system/outer/cl_src/scopy.cl
  141. +24 −0 rtpslib/system/simple/Collision.cpp
  142. +24 −0 rtpslib/system/simple/Euler.cpp
  143. +24 −0 rtpslib/system/simple/ForceField.cpp
  144. +24 −0 rtpslib/system/simple/cl_src/euler.cl
  145. +24 −0 rtpslib/system/simple/cl_structs.h
  146. +24 −0 rtpslib/system/simple/euler_cl.cpp
  147. +24 −0 rtpslib/system/simple/forcefield_cl.cpp
  148. +24 −0 rtpslib/system/simple/test.h
  149. +24 −0 rtpslib/system/sph/CloudDataStructures.cpp
  150. +24 −0 rtpslib/system/sph/CloudDataStructures.h
  151. +24 −0 rtpslib/system/sph/CloudEuler.cpp
  152. +24 −0 rtpslib/system/sph/CloudEuler.h
  153. +24 −0 rtpslib/system/sph/CloudVelocity.cpp
  154. +24 −0 rtpslib/system/sph/CloudVelocity.h
  155. +24 −0 rtpslib/system/sph/Collision_cloud.cpp
  156. +24 −0 rtpslib/system/sph/Collision_cloud.h
  157. +24 −0 rtpslib/system/sph/Collision_triangle.cpp
  158. +24 −0 rtpslib/system/sph/Collision_triangle.h
  159. +24 −0 rtpslib/system/sph/Collision_wall.cpp
  160. +24 −0 rtpslib/system/sph/Collision_wall.h
  161. +24 −0 rtpslib/system/sph/DataStructures.cpp
  162. +24 −0 rtpslib/system/sph/DataStructures.h
  163. +24 −0 rtpslib/system/sph/Density.cpp
  164. +24 −0 rtpslib/system/sph/Density.h
  165. +24 −0 rtpslib/system/sph/Euler.cpp
  166. +24 −0 rtpslib/system/sph/Euler.h
  167. +24 −0 rtpslib/system/sph/Force.cpp
  168. +24 −0 rtpslib/system/sph/Force.h
  169. +24 −0 rtpslib/system/sph/Kernels.cpp
  170. +24 −0 rtpslib/system/sph/LeapFrog.cpp
  171. +24 −0 rtpslib/system/sph/LeapFrog.h
  172. +24 −0 rtpslib/system/sph/Lifetime.cpp
  173. +24 −0 rtpslib/system/sph/Lifetime.h
  174. +24 −0 rtpslib/system/sph/Neighbors.cpp
  175. +24 −0 rtpslib/system/sph/Prep.cpp
  176. +24 −0 rtpslib/system/sph/Prep.h
  177. +24 −0 rtpslib/system/sph/Pressure.cpp
  178. +24 −0 rtpslib/system/sph/Scopy.cpp
  179. +24 −0 rtpslib/system/sph/Viscosity.cpp
  180. +24 −0 rtpslib/system/sph/XSPH.cpp
  181. +24 −0 rtpslib/system/sph/cl_src/cl_collision.h
  182. +24 −0 rtpslib/system/sph/cl_src/cl_density.h
  183. +24 −0 rtpslib/system/sph/cl_src/cl_force.h
  184. +24 −0 rtpslib/system/sph/cl_src/cl_hash.h
  185. +24 −0 rtpslib/system/sph/cl_src/cl_kernels.h
  186. +24 −0 rtpslib/system/sph/cl_src/cl_macros.h
  187. +24 −0 rtpslib/system/sph/cl_src/cl_neighbors.h
  188. +24 −0 rtpslib/system/sph/cl_src/cl_structs.h
  189. +24 −0 rtpslib/system/sph/cl_src/cl_surface_extraction.h
  190. +24 −0 rtpslib/system/sph/cl_src/cl_surface_tension.h
  191. +24 −0 rtpslib/system/sph/cl_src/cloud_euler.cl
  192. +24 −0 rtpslib/system/sph/cl_src/cloud_leapfrog.cl
  193. +24 −0 rtpslib/system/sph/cl_src/cloud_velocity.cl
  194. +24 −0 rtpslib/system/sph/cl_src/collision_cloud.cl
  195. +24 −0 rtpslib/system/sph/cl_src/collision_tri.cl
  196. +24 −0 rtpslib/system/sph/cl_src/collision_wall.cl
  197. +24 −0 rtpslib/system/sph/cl_src/density.cl
  198. +24 −0 rtpslib/system/sph/cl_src/euler.cl
  199. +24 −0 rtpslib/system/sph/cl_src/force.cl
  200. +24 −0 rtpslib/system/sph/cl_src/leapfrog.cl
  201. +24 −0 rtpslib/system/sph/cl_src/lifetime.cl
  202. +24 −0 rtpslib/system/sph/cl_src/lifetime_smoke.cl
  203. +24 −0 rtpslib/system/sph/cl_src/neighbors.cl
  204. +24 −0 rtpslib/system/sph/cl_src/prep.cl
  205. +24 −0 rtpslib/system/sph/cl_src/scopy.cl
  206. +24 −0 rtpslib/timege.cpp
  207. +24 −0 rtpslib/timege.h
  208. +24 −0 rtpslib/timer_eb.cpp
  209. +24 −0 rtpslib/timer_eb.h
  210. +24 −0 rtpslib/util.cpp
  211. +24 −0 rtpslib/util.h
  212. +24 −0 rtpslib/vecmatquat/Math/FastSqrt.cpp
  213. +24 −0 rtpslib/vecmatquat/Math/FastSqrt.h
  214. +24 −0 rtpslib/vecmatquat/Math/FastTrigonometry.cpp
  215. +24 −0 rtpslib/vecmatquat/Math/FastTrigonometry.h
  216. +24 −0 rtpslib/vecmatquat/Math/Matrix/Matrix 4x4.cpp
  217. +24 −0 rtpslib/vecmatquat/Math/Matrix/Matrix 4x4.h
  218. +24 −0 rtpslib/vecmatquat/Math/Quaternion/Quaternion.cpp
  219. +24 −0 rtpslib/vecmatquat/Math/Quaternion/Quaternion.h
  220. +24 −0 rtpslib/vecmatquat/Math/Vector/Vector 2.cpp
  221. +24 −0 rtpslib/vecmatquat/Math/Vector/Vector 2.h
  222. +24 −0 rtpslib/vecmatquat/Math/Vector/Vector 3.cpp
  223. +24 −0 rtpslib/vecmatquat/Math/Vector/Vector 3.h
  224. +24 −0 rtpslib/vecmatquat/Math/Vector/Vector 4.cpp
  225. +24 −0 rtpslib/vecmatquat/Math/Vector/Vector 4.h
  226. +24 −0 rtpslib/vecmatquat/Types.h
  227. +24 −0 test/main.cpp
  228. +24 −0 test/main_flock.cpp
  229. +24 −0 test/main_multi.cpp
  230. +24 −0 test/main_outer.cpp
  231. +24 −0 test/main_simple.cpp
View
24 rtpslib/RTPS.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "GL/glew.h"
#include "RTPS.h"
#include "system/Simple.h"
View
24 rtpslib/RTPS.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_RTPS_H_INCLUDED
#define RTPS_RTPS_H_INCLUDED
View
24 rtpslib/RTPSettings.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "RTPSettings.h"
namespace rtps
{
View
24 rtpslib/RTPSettings.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_RTPSETTINGS_H_INCLUDED
#define RTPS_RTPSETTINGS_H_INCLUDED
View
24 rtpslib/domain/Domain.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <math.h>
#include "Domain.h"
View
24 rtpslib/domain/Domain.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef DOMAIN_H_INCLUDED
#define DOMAIN_H_INCLUDED
View
24 rtpslib/domain/IV.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "IV.h"
#include <vector>
View
24 rtpslib/domain/IV.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef IV_H_INCLUDE
#define IV_H_INCLUDE
View
24 rtpslib/domain/UniformGrid.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <math.h>
#include "UniformGrid.h"
View
24 rtpslib/domain/UniformGrid.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef UNIFORMGRID_H_INCLUDED
#define UNIFORMGRID_H_INCLUDED
View
24 rtpslib/gtod_windows.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "gtod_windows.h"
int gettimeofday(struct timeval *tv, struct timezone *tz)
{
View
24 rtpslib/gtod_windows.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef GTOD_WINDOWS_H
#define GTOD_WINDOWS_H
//#include "stdafx.h"
View
24 rtpslib/materials_lights.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
const GLfloat light_ambient[] = { 0.4f, 0.4f, 0.04, 1.0f };
const GLfloat light_diffuse[] = { 1.0f, 1.0f, 1.0f, 1.0f };
const GLfloat light_specular[] = { 1.0f, 1.0f, 1.0f, 1.0f };
View
24 rtpslib/matrix_library/Point1.inline.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
/*******************************************************************************
File: Point1.inline.h
View
24 rtpslib/opencl/Buffer.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
//#include "Buffer.h"
//namespace rtps {
View
24 rtpslib/opencl/Buffer.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_BUFFER_H_INCLUDED
#define RTPS_BUFFER_H_INCLUDED
/*
View
24 rtpslib/opencl/CLL.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <stdio.h>
#include <iostream>
View
24 rtpslib/opencl/CLL.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_CL_H_INCLUDED
#define RTPS_CL_H_INCLUDED
View
24 rtpslib/opencl/Kernel.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "Kernel.h"
namespace rtps
View
24 rtpslib/opencl/Kernel.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_KERNEL_H_INCLUDED
#define RTPS_KERNEL_H_INCLUDED
/*
View
24 rtpslib/opencl/Program.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "Program.h"
#include "../util.h"
View
24 rtpslib/opencl/Program.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_PROGRAM_H_INCLUDED
#define RTPS_PROGRAM_H_INCLUDED
/*
View
24 rtpslib/render/Render.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
View
24 rtpslib/render/Render.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_RENDER_H_INCLUDED
#define RTPS_RENDER_H_INCLUDED
View
24 rtpslib/render/SSFRender.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
/*#include <GL/glew.h>
#if defined __APPLE__ || defined(MACOSX)
#include <GLUT/glut.h>
View
24 rtpslib/render/SSFRender.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef SSF_RENDER_H
#define SSF_RENDER_H
View
24 rtpslib/render/Sphere3DRender.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "GL/glew.h"
View
24 rtpslib/render/Sphere3DRender.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef SPHERE3D_RENDER_H
#define SPHERE3D_RENDER_H
View
24 rtpslib/render/SpriteRender.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "GL/glew.h"
View
24 rtpslib/render/SpriteRender.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef SPRITE_RENDER_H
#define SPRITE_RENDER_H
View
24 rtpslib/render/shaders.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#define STRINGIFY(A) #A
//this code heavily based off NVIDIA's oclParticle example from the OpenCL SDK
View
24 rtpslib/render/shaders/curvature_flow.cl
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
__kernel void curvature_flow(image2d_t depth,
int width,
int height,
View
24 rtpslib/render/util/stb_image.h
@@ -1,2 +1,26 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#define STBI_HEADER_FILE_ONLY
#include "stb_image.c"
View
24 rtpslib/render/util/stb_image_write.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
/* stbiw-0.92 - public domain - http://nothings.org/stb/stb_image_write.h
writes out PNG/BMP/TGA images to C stdio - Sean Barrett 2010
no warranty implied; use at your own risk
View
24 rtpslib/rtps_common.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifdef RTPS_COMMON_H
#define RTPS_COMMON_H
View
24 rtpslib/structs.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "structs.h"
#include <math.h>
View
24 rtpslib/structs.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_STRUCTS_H_INCLUDED
#define RTPS_STRUCTS_H_INCLUDED
View
24 rtpslib/system/Cloud.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#define CLOUD_COLLISION 1
#include <GL/glew.h>
View
24 rtpslib/system/Cloud.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_CLOUD_H_INCLUDED
#define RTPS_CLOUD_H_INCLUDED
View
24 rtpslib/system/FLOCK.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <GL/glew.h>
#include <math.h>
View
24 rtpslib/system/FLOCK.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_FLOCK_H_INCLUDED
#define RTPS_FLOCK_H_INCLUDED
View
24 rtpslib/system/FLOCKSettings.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <FLOCK.h>
namespace rtps{
View
24 rtpslib/system/FLOCKSettings.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_FLOCKSETTINGS_H_INCLUDED
#define RTPS_FLOCKSETTINGS_H_INCLUDED
View
24 rtpslib/system/ForceField.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_FORCEFIELD_H_INCLUDED
#define RTPS_FORCEFIELD_H_INCLUDED
View
24 rtpslib/system/OUTER.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <GL/glew.h>
#include <math.h>
View
24 rtpslib/system/OUTER.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_OUTER_H_INCLUDED
#define RTPS_OUTER_H_INCLUDED
View
24 rtpslib/system/OUTERSettings.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
//#include <OUTERSettings.h>
#include <OUTER.h>
View
24 rtpslib/system/OUTERSettings.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_OUTERSETTINGS_H_INCLUDED
#define RTPS_OUTERSETTINGS_H_INCLUDED
View
24 rtpslib/system/SPH.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <GL/glew.h>
#include <math.h>
View
24 rtpslib/system/SPH.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_SPH_H_INCLUDED
#define RTPS_SPH_H_INCLUDED
View
24 rtpslib/system/SPHSettings.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
//#include <SPHSettings.h>
#include <SPH.h>
View
24 rtpslib/system/SPHSettings.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_SPHSETTINGS_H_INCLUDED
#define RTPS_SPHSETTINGS_H_INCLUDED
View
24 rtpslib/system/Simple.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <stdio.h>
#include <GL/glew.h>
View
24 rtpslib/system/Simple.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_SIMPLE_H_INCLUDED
#define RTPS_SIMPLE_H_INCLUDED
View
24 rtpslib/system/System.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#ifndef RTPS_SYSTEM_H_INCLUDED
#define RTPS_SYSTEM_H_INCLUDED
View
24 rtpslib/system/boids.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include "boids.h"
//----------------------------------------------------------------------
View
24 rtpslib/system/boids.h
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*
+* Copyright (C) 2011 Ian Johnson, Andrew Young, Gordon Erlebacher, Myrna Merced, Evan Bollig
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+*
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+*
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+****************************************************************************************/
+
+
#include <vector>
#include "structs.h"
View
1 rtpslib/system/common/BitonicSort.cpp
@@ -1,4 +1,3 @@
-
/**
* C++ port of NVIDIA's Bitonic Sort implementation
*/
View
24 rtpslib/system/common/CellIndices.cpp
@@ -1,3 +1,27 @@
+/****************************************************************************************
+* Real-Time Particle System - An OpenCL based Particle system developed to run on modern GPUs. Includes SPH fluid simulations.
+* version 1.0, September 14th 2011
+*