Yue Posted August 11, 2018 Share Posted August 11, 2018 "When you don't understand what they're talking about but you find it fascinating. " Quote Link to comment Share on other sites More sharing options...
Monkey Frog Studio Posted August 14, 2018 Share Posted August 14, 2018 Hey, Josh. Here's an idea for you. I was watching a video on a game engine that is about to be released (Sheesh! There are zillions of them these days!) and the reviewer showed importing a glTF model into the engine via drag-n-drop (which is a nice feature, btw). When they dropped in the glTF, an import dialog opened. Earlier in this thread you had talked about wanting to use glTF just to bring in materials. Well, perhaps this could be done via an import dialog. So, for example, the end-user opens or drags-n-drops a glTF into Leadwerks, an import dialog opens and asks what they want to import ... model, material, etc. The end-user could just check/uncheck what they want (the default being all checked). Thoughts? Quote Creating professional 2D and 3D content is my passion! Monkey Frog Studio Link to comment Share on other sites More sharing options...
Josh Posted August 14, 2018 Author Share Posted August 14, 2018 31 minutes ago, Argent Arts said: Hey, Josh. Here's an idea for you. I was watching a video on a game engine that is about to be released (Sheesh! There are zillions of them these days!) and the reviewer showed importing a glTF model into the engine via drag-n-drop (which is a nice feature, btw). When they dropped in the glTF, an import dialog opened. Earlier in this thread you had talked about wanting to use glTF just to bring in materials. Well, perhaps this could be done via an import dialog. So, for example, the end-user opens or drags-n-drops a glTF into Leadwerks, an import dialog opens and asks what they want to import ... model, material, etc. The end-user could just check/uncheck what they want (the default being all checked). Thoughts? That makes it just another transfer format. I am talking about using it as the official file format. There would be no import / conversion it would just be loaded as-is. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Monkey Frog Studio Posted August 14, 2018 Share Posted August 14, 2018 1 minute ago, Josh said: That makes it just another transfer format. I am talking about using it as the official file format. There would be no import / conversion it would just be loaded as-is. Got ya. So, you are thinking of replacing MDL and TEX with glTF then. Quote Creating professional 2D and 3D content is my passion! Monkey Frog Studio Link to comment Share on other sites More sharing options...
Josh Posted August 14, 2018 Author Share Posted August 14, 2018 1 minute ago, Argent Arts said: Got ya. So, you are thinking of replacing MDL and TEX with glTF then. I don't think they have any texture format yet, but I saw an announcement Khronos is working on it. So yeah, then I would probably. Any extra info from our engine can be stored in the "extra" node in the format, which is exactly what it was put there for. Thanks for bringing this to my attention, BTW. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Monkey Frog Studio Posted August 14, 2018 Share Posted August 14, 2018 1 hour ago, Josh said: I don't think they have any texture format yet, but I saw an announcement Khronos is working on it. So yeah, then I would probably. Any extra info from our engine can be stored in the "extra" node in the format, which is exactly what it was put there for. Thanks for bringing this to my attention, BTW. Sure. No worries. Anything I can do to help. Quote Creating professional 2D and 3D content is my passion! Monkey Frog Studio Link to comment Share on other sites More sharing options...
Josh Posted August 15, 2018 Author Share Posted August 15, 2018 Okay, it looks like the new format is called KTX: https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ This is very very similar to our TEX format. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted August 15, 2018 Author Share Posted August 15, 2018 I think we will probably use GLTF for models and maybe materials, and then load image, DDS, and KTX files directly. A JPG texture is going to be slower-loading than a DDS texture, but it is convenient and if you want the extra loading performance you can use DDS. A converter will be used to convert all MDL and TEX files into these formats. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Monkey Frog Studio Posted August 15, 2018 Share Posted August 15, 2018 I would definitely allow glTF to import BOTH models and textures, else you sort of defeat the purpose of glTF. It is, after all, a SCENE export/import format, importing geometry, materials, lights, animation, etc. With glTF, I can set up an entire scene in my modeling program, comprised of many models, many materials, several lights, etc., and export the entire scene in one shot. Or, if I choose, I can just export out a single model. It's up to me. So, glTF would be great for creating level prefabs, consisting of wall and floor segments (for example), etc. There's not much sense, as far as I'm concerned, to only use glTF to import models and then have the end-user have to import the materials separately and apply them afterward. Quote Creating professional 2D and 3D content is my passion! Monkey Frog Studio Link to comment Share on other sites More sharing options...
Josh Posted August 15, 2018 Author Share Posted August 15, 2018 No, we would not do that. I think you will be happy with the result. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted August 20, 2018 Author Share Posted August 20, 2018 I restructured the model and texture loading code and now I have a system that can load TEX or PNG files, and it is simple to add support for additional file formats. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Monkey Frog Studio Posted August 20, 2018 Share Posted August 20, 2018 18 minutes ago, Josh said: I restructured the model and texture loading code and now I have a system that can load TEX or PNG files, and it is simple to add support for additional file formats. That's exciting! I can't wait to test this. I love working with glTF because it just simplifies a lot of what I do. Quote Creating professional 2D and 3D content is my passion! Monkey Frog Studio Link to comment Share on other sites More sharing options...
Josh Posted August 22, 2018 Author Share Posted August 22, 2018 Here's some discussion about using GLTF for materials: https://github.com/KhronosGroup/glTF/issues/1420 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.