diff --git a/Scenes/2D_Box.json b/Scenes/2D_Box.json new file mode 100644 index 0000000..b7aa014 --- /dev/null +++ b/Scenes/2D_Box.json @@ -0,0 +1,50 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Box", + "UniqueName" : "Box", + "BoxMin" : [-0.8, -0.5], + "BoxMax" : [0.8, 0.5], + "RotationAxisAngle" : [1, 0, 10], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_box.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/2D_Capsule.json b/Scenes/2D_Capsule.json new file mode 100644 index 0000000..88d4d4d --- /dev/null +++ b/Scenes/2D_Capsule.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Capsule", + "UniqueName" : "Capsule", + "Radius" : 0.4, + "Translation" : [0, 0], + "Scale" : 0.9, + "RotationAxisAngle" : [1, 0, 10], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_capsule.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/2D_Ellipsoid.json b/Scenes/2D_Ellipsoid.json new file mode 100644 index 0000000..cfc6fae --- /dev/null +++ b/Scenes/2D_Ellipsoid.json @@ -0,0 +1,50 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Ellipsoid", + "UniqueName" : "Ellipsoid", + "RadiusRatio" : [1, 0.6], + "Translation" : [0, 0], + "Scale" : 0.9, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_ellipsoid.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/Sphere2D.json b/Scenes/2D_Hexagon.json similarity index 89% rename from Scenes/Sphere2D.json rename to Scenes/2D_Hexagon.json index dfe43a2..669eb4b 100644 --- a/Scenes/Sphere2D.json +++ b/Scenes/2D_Hexagon.json @@ -10,13 +10,13 @@ "BoxMin" : [-1, -1], "BoxMax" : [1, 1] }, - "ParticleRadius" : 0.01 + "ParticleRadius" : 0.02 }, "ParticleGenerators": [ { - "GeometryType" : "Sphere", - "UniqueName" : "Sphere", + "GeometryType" : "Hexagon", + "UniqueName" : "Hexagon", "Translation" : [0, 0], "Scale" : 0.8, "JitterRatio" : 0.1, diff --git a/Scenes/2D_Sphere.json b/Scenes/2D_Sphere.json new file mode 100644 index 0000000..74b4bbe --- /dev/null +++ b/Scenes/2D_Sphere.json @@ -0,0 +1,49 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Sphere", + "UniqueName" : "Sphere", + "Translation" : [0, 0], + "Scale" : 0.8, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_sphere.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/2D_Torus.json b/Scenes/2D_Torus.json new file mode 100644 index 0000000..9dfabe6 --- /dev/null +++ b/Scenes/2D_Torus.json @@ -0,0 +1,50 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Torus", + "UniqueName" : "Torus", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "Scale" : 0.7, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_torus.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/2D_Torus88.json b/Scenes/2D_Torus88.json new file mode 100644 index 0000000..4ba7f72 --- /dev/null +++ b/Scenes/2D_Torus88.json @@ -0,0 +1,50 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Torus88", + "UniqueName" : "Torus88", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "Scale" : 0.7, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_torus88.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/2D_TorusInfInf.json b/Scenes/2D_TorusInfInf.json new file mode 100644 index 0000000..85965bc --- /dev/null +++ b/Scenes/2D_TorusInfInf.json @@ -0,0 +1,50 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "TorusInfInf", + "UniqueName" : "TorusInfInf", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "Scale" : 0.7, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_torusInfInf.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/2D_Triangle.json b/Scenes/2D_Triangle.json new file mode 100644 index 0000000..8e87244 --- /dev/null +++ b/Scenes/2D_Triangle.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 2 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1], + "BoxMax" : [1, 1] + }, + "ParticleRadius" : 0.02 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Triangle", + "UniqueName" : "Triangle", + "V0" : [-0.8, -0.8], + "V1" : [0.8, -0.5], + "V2" : [0, 0.8], + "Translation" : [0, 0], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/2D_triangle.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0, 0.5], + "CameraFocus" : [0, 0, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Box.json b/Scenes/3D_Box.json new file mode 100644 index 0000000..9dae765 --- /dev/null +++ b/Scenes/3D_Box.json @@ -0,0 +1,50 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Box", + "UniqueName" : "Box", + "BoxMin" : [-0.75, -0.35, -0.85], + "BoxMax" : [0.75, 0.35, 0.85], + "RotationAxisAngle" : [1, 0, 1, 20], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_box.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Capsule.json b/Scenes/3D_Capsule.json new file mode 100644 index 0000000..d991ebd --- /dev/null +++ b/Scenes/3D_Capsule.json @@ -0,0 +1,49 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Capsule", + "UniqueName" : "Capsule", + "Radius" : 0.4, + "RotationAxisAngle" : [1, 0, 0, -10], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_capsule.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Cone.json b/Scenes/3D_Cone.json new file mode 100644 index 0000000..41b6eb4 --- /dev/null +++ b/Scenes/3D_Cone.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Cone", + "UniqueName" : "Cone", + "BaseRadius" : 0.6, + "Scale" : 1.6, + "Translation" : [0, -0.7, 0], + "RotationAxisAngle" : [1, 0, 0, 0], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_cone.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Cylinder.json b/Scenes/3D_Cylinder.json new file mode 100644 index 0000000..32250eb --- /dev/null +++ b/Scenes/3D_Cylinder.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Cylinder", + "UniqueName" : "Cylinder", + "Radius" : 0.6, + "Scale" : 0.85, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [1, 0, 1, 45], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_cylinder.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Ellipsoid.json b/Scenes/3D_Ellipsoid.json new file mode 100644 index 0000000..1cdc5aa --- /dev/null +++ b/Scenes/3D_Ellipsoid.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Ellipsoid", + "UniqueName" : "Ellipsoid", + "RadiusRatio" : [1, 0.2, 1], + "Scale" : 0.95, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [-1, 0, 1, 10], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_ellipsoid.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_HexagonalPrism.json b/Scenes/3D_HexagonalPrism.json new file mode 100644 index 0000000..330b897 --- /dev/null +++ b/Scenes/3D_HexagonalPrism.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "HexagonalPrism", + "UniqueName" : "HexagonalPrism", + "Width" : 0.3, + "Scale" : 0.85, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [0, 1, -1, 45], + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_hexagonal_prism.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Mesh_Bear.json b/Scenes/3D_Mesh_Bear.json new file mode 100644 index 0000000..94a0dee --- /dev/null +++ b/Scenes/3D_Mesh_Bear.json @@ -0,0 +1,52 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.005 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Mesh", + "UniqueName" : "Mesh", + "MeshFile" : "Mesh/bear.obj", + "SDFStep" : 0.01, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [0, 1, 0, -20], + "Scale" : 0.9, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_mesh_bear.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0.75, 2.74], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Mesh_Bunny.json b/Scenes/3D_Mesh_Bunny.json new file mode 100644 index 0000000..2706b32 --- /dev/null +++ b/Scenes/3D_Mesh_Bunny.json @@ -0,0 +1,52 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Mesh", + "UniqueName" : "Mesh", + "MeshFile" : "Mesh/bunny.obj", + "SDFStep" : 0.01, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [1, 0, 0, -90], + "Scale" : 0.9, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_mesh_bunny.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Mesh_Elk.json b/Scenes/3D_Mesh_Elk.json new file mode 100644 index 0000000..132d25e --- /dev/null +++ b/Scenes/3D_Mesh_Elk.json @@ -0,0 +1,52 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.0025 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Mesh", + "UniqueName" : "Mesh", + "MeshFile" : "Mesh/elk.obj", + "SDFStep" : 0.005, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [0, 1, 0, -45], + "Scale" : 1, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_mesh_elk.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [0, 0.75, 2.74], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Mesh_EuroDragon.json b/Scenes/3D_Mesh_EuroDragon.json new file mode 100644 index 0000000..6873eff --- /dev/null +++ b/Scenes/3D_Mesh_EuroDragon.json @@ -0,0 +1,52 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.0025 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Mesh", + "UniqueName" : "Mesh", + "MeshFile" : "Mesh/euro_dragon.obj", + "SDFStep" : 0.005, + "Translation" : [0, 0, -0.15], + "RotationAxisAngle" : [0, 1, 0, -30], + "Scale" : 1, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_mesh_euro_dragon.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Mesh_Lion.json b/Scenes/3D_Mesh_Lion.json new file mode 100644 index 0000000..1cb2900 --- /dev/null +++ b/Scenes/3D_Mesh_Lion.json @@ -0,0 +1,52 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.0025 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Mesh", + "UniqueName" : "Mesh", + "MeshFile" : "Mesh/lion.obj", + "SDFStep" : 0.005, + "Translation" : [0, 0, 0], + "RotationAxisAngle" : [1, 0, 0, -90], + "Scale" : 1, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_mesh_lion.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Mesh_Tricertp.json b/Scenes/3D_Mesh_Tricertp.json new file mode 100644 index 0000000..e82b2b2 --- /dev/null +++ b/Scenes/3D_Mesh_Tricertp.json @@ -0,0 +1,52 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1.5], + "BoxMax" : [1, 1, 1.5] + }, + "ParticleRadius" : 0.0025 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Mesh", + "UniqueName" : "Mesh", + "MeshFile" : "Mesh/tricertp.obj", + "SDFStep" : 0.005, + "Translation" : [0, 0, -0.2], + "RotationAxisAngle" : [0, 1, 0, 0], + "Scale" : 1.2, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_mesh_tricertp.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/Sphere3D.json b/Scenes/3D_Sphere.json similarity index 76% rename from Scenes/Sphere3D.json rename to Scenes/3D_Sphere.json index b4fc847..3b402b3 100644 --- a/Scenes/Sphere3D.json +++ b/Scenes/3D_Sphere.json @@ -18,13 +18,18 @@ "GeometryType" : "Sphere", "UniqueName" : "Sphere", "Translation" : [0, 0, 0], - "Scale" : 0.8, + "Scale" : 0.85, "JitterRatio" : 0.1, - "SamplingRatio" : 0.85 + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_sphere.bgeo" } ], "VisualizationParameters": { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], "Light" : [ { diff --git a/Scenes/Torus3D.json b/Scenes/3D_Torus.json similarity index 67% rename from Scenes/Torus3D.json rename to Scenes/3D_Torus.json index a6156a2..9bfd39d 100644 --- a/Scenes/Torus3D.json +++ b/Scenes/3D_Torus.json @@ -10,23 +10,28 @@ "BoxMin" : [-1, -1, -1], "BoxMax" : [1, 1, 1] }, - "CellSize" : 0.02, - "RatioCellSizePRadius" : 4 + "ParticleRadius" : 0.01 }, "ParticleGenerators": [ { "GeometryType" : "Torus", "UniqueName" : "Torus", - "Translation" : [0, 0.0, 0], - "RotationAxisAngle" : [0, 0, 1, 90], + "RingRadius" : 0.3, + "Translation" : [0, 0], + "RotationAxisAngle" : [1, 0, 1, 20], "Scale" : 0.8, "JitterRatio" : 0.1, - "SamplingRatio" : 0.85 + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_torus.bgeo" } ], "VisualizationParameters": { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], "Light" : [ { diff --git a/Scenes/3D_Torus28.json b/Scenes/3D_Torus28.json new file mode 100644 index 0000000..5c3e9b9 --- /dev/null +++ b/Scenes/3D_Torus28.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Torus28", + "UniqueName" : "Torus28", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "RotationAxisAngle" : [1, 0, 1, 15], + "Scale" : 0.8, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_torus28.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Torus2Inf.json b/Scenes/3D_Torus2Inf.json new file mode 100644 index 0000000..7f08e97 --- /dev/null +++ b/Scenes/3D_Torus2Inf.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Torus2Inf", + "UniqueName" : "Torus2Inf", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "RotationAxisAngle" : [1, 0, 1, 15], + "Scale" : 0.8, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_torus2Inf.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_Torus88.json b/Scenes/3D_Torus88.json new file mode 100644 index 0000000..d35e79c --- /dev/null +++ b/Scenes/3D_Torus88.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "Torus88", + "UniqueName" : "Torus88", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "RotationAxisAngle" : [1, 0, 1, 15], + "Scale" : 0.7, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_torus88.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_TorusInfInf.json b/Scenes/3D_TorusInfInf.json new file mode 100644 index 0000000..dcaede8 --- /dev/null +++ b/Scenes/3D_TorusInfInf.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "TorusInfInf", + "UniqueName" : "TorusInfInf", + "RingRadius" : 0.3, + "Translation" : [0, 0], + "RotationAxisAngle" : [1, 0, 1, 15], + "Scale" : 0.7, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_torusinfinf.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file diff --git a/Scenes/3D_TriangularPrism.json b/Scenes/3D_TriangularPrism.json new file mode 100644 index 0000000..42cfee5 --- /dev/null +++ b/Scenes/3D_TriangularPrism.json @@ -0,0 +1,51 @@ +{ + "GlobalParameters": + { + "Dimension" : 3 + }, + "SimulationParameters": + { + "SimulationDomainBox" : + { + "BoxMin" : [-1, -1, -1], + "BoxMax" : [1, 1, 1] + }, + "ParticleRadius" : 0.01 + }, + "ParticleGenerators": + [ + { + "GeometryType" : "TriangularPrism", + "UniqueName" : "TriangularPrism", + "Width" : 0.5, + "Translation" : [0, -0.1, 0], + "RotationAxisAngle" : [1, 1, 0, 20], + "Scale" : 0.9, + "JitterRatio" : 0.1, + "SamplingRatio" : 0.85, + "UseFileCache" : true, + "ParticleFileType" : "bgeo", + "ParticleOutputFile" : "Data/3D_triangular_prism.bgeo" + } + ], + "VisualizationParameters": + { + "CameraPosition" : [-2.74, 0.75, 0], + "CameraFocus" : [0, -0.2, 0], + "Light" : + [ + { + "Position" : [-10, 20, 10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [10, 20, -10], + "Diffuse" : [0.7, 0.7, 0.7] + }, + { + "Position" : [0, -20, 0], + "Diffuse" : [1, 1, 1] + } + ] + } +} \ No newline at end of file