forked from Dynamitos/Seele
Initial UI implementation by AI
This commit is contained in:
1 parent
f2a3f59ab1
commit
908b52441f
29 files changed
+884
-186
No files matched your search
+9
-13
@@ -21,7 +21,7 @@ using namespace Seele::Editor;
|
||||
static Gfx::OGraphics graphics;
|
||||
|
||||
int main() {
|
||||
std::string gameName = "FluidSimulation";
|
||||
std::string gameName = "MeshShadingDemo";
|
||||
std::filesystem::path outputPath = fmt::format("/home/dynamitos/{0}Game/", gameName);
|
||||
std::filesystem::path sourcePath = fmt::format("/home/dynamitos/{0}/", gameName);
|
||||
#ifdef WIN32
|
||||
@@ -31,7 +31,7 @@ int main() {
|
||||
#else
|
||||
std::string libraryEnding = "so";
|
||||
#endif
|
||||
std::filesystem::path binaryPath = sourcePath / "build" / fmt::format("{}.{}", gameName, libraryEnding);
|
||||
std::filesystem::path binaryPath = sourcePath / "bin" / fmt::format("{}.{}", gameName, libraryEnding);
|
||||
std::filesystem::path cmakePath = outputPath / "cmake";
|
||||
if (true) {
|
||||
graphics = new Vulkan::Graphics();
|
||||
@@ -47,7 +47,7 @@ int main() {
|
||||
.filePath = "./fonts/arial.ttf",
|
||||
});
|
||||
AssetImporter::importEnvironmentMap(EnvironmentImportArgs{
|
||||
.filePath = sourcePath / "import" / "newport_loft.hdr",
|
||||
.filePath = sourcePath / "import" / "textures" / "newport_loft.hdr",
|
||||
});
|
||||
// AssetImporter::importTexture(TextureImportArgs{
|
||||
// .filePath = sourcePath / "import" / "textures" / "grass_block_side.png",
|
||||
@@ -57,20 +57,16 @@ int main() {
|
||||
// .filePath = sourcePath / "import" / "models" / "main1_sponza" / "sponza.gltf",
|
||||
// .importPath = "sponza",
|
||||
//});
|
||||
// AssetImporter::importMesh(MeshImportArgs{
|
||||
// .filePath = sourcePath / "import" / "models" / "rttest.gltf",
|
||||
// .importPath = "rttest",
|
||||
// });
|
||||
|
||||
// AssetImporter::importMesh(MeshImportArgs{
|
||||
// .filePath = sourcePath / "import" / "models" / "cube.fbx",
|
||||
// .importPath = "",
|
||||
// });
|
||||
AssetImporter::importMesh(MeshImportArgs{
|
||||
.filePath = sourcePath / "import" / "rttest.gltf",
|
||||
.filePath = sourcePath / "import" / "models" / "rttest.gltf",
|
||||
.importPath = "rttest",
|
||||
});
|
||||
|
||||
AssetImporter::importMesh(MeshImportArgs{
|
||||
.filePath = sourcePath / "import" / "models" / "cube.fbx",
|
||||
.importPath = "",
|
||||
});
|
||||
|
||||
getThreadPool().waitIdle();
|
||||
vd->commitMeshes();
|
||||
WindowCreateInfo mainWindowInfo = {
|
||||
|
||||
Reference in new issue
Block a user