Trying to add fluid simulation

This commit is contained in:
Dynamitos committed 2026-04-12 20:49:02 +02:00
1 parent 056589a6f9
commit ac317a3829
65 files changed
+2708 -371

No files matched your search

+12 -12
View File
@@ -21,9 +21,9 @@ using namespace Seele::Editor;
static Gfx::OGraphics graphics;
int main() {
std::string gameName = "MeshShadingDemo";
std::filesystem::path outputPath = fmt::format("/Users/dynamitos/{0}Game/", gameName);
std::filesystem::path sourcePath = fmt::format("/Users/dynamitos/{0}/", gameName);
std::string gameName = "FluidSimulation";
std::filesystem::path outputPath = fmt::format("/home/dynamitos/{0}Game/", gameName);
std::filesystem::path sourcePath = fmt::format("/home/dynamitos/{0}/", gameName);
#ifdef WIN32
std::string libraryEnding = "dll";
#elif __APPLE__
@@ -31,7 +31,7 @@ int main() {
#else
std::string libraryEnding = "so";
#endif
std::filesystem::path binaryPath = sourcePath / "build/Debug" / fmt::format("{}.{}", gameName, libraryEnding);
std::filesystem::path binaryPath = sourcePath / "build" / fmt::format("{}.{}", gameName, libraryEnding);
std::filesystem::path cmakePath = outputPath / "cmake";
if (true) {
graphics = new Vulkan::Graphics();
@@ -46,9 +46,9 @@ int main() {
AssetImporter::importFont(FontImportArgs{
.filePath = "./fonts/arial.ttf",
});
// AssetImporter::importEnvironmentMap(EnvironmentImportArgs{
// .filePath = sourcePath / "import" / "textures" / "newport_loft.hdr",
// });
AssetImporter::importEnvironmentMap(EnvironmentImportArgs{
.filePath = sourcePath / "import" / "newport_loft.hdr",
});
// AssetImporter::importTexture(TextureImportArgs{
// .filePath = sourcePath / "import" / "textures" / "grass_block_side.png",
// .importPath = "",
@@ -62,12 +62,12 @@ int main() {
// .importPath = "rttest",
// });
// AssetImporter::importMesh(MeshImportArgs{
// .filePath = sourcePath / "import" / "models" / "cube.fbx",
// .importPath = "",
// });
AssetImporter::importMesh(MeshImportArgs{
.filePath = sourcePath / "import" / "models" / "cube.fbx",
.importPath = "",
});
AssetImporter::importMesh(MeshImportArgs{
.filePath = sourcePath / "import" / "models" / "rttest.gltf",
.filePath = sourcePath / "import" / "rttest.gltf",
.importPath = "rttest",
});