MegaGlest Forum
Modding and game content creation => Tools => Topic started by: jammyjamjamman on 26 November 2020, 20:25:59
-
Blender 2.9x G3D Exporter Available!
You can download the new script here (https://raw.githubusercontent.com/MegaGlest/megaglest-source/develop/source/tools/glexemel/g3d_support_b290.py).
Screenshots and Notes
Importing/ exporting is fairly similar to how it's done in old blender:
(http://jammy.megaglest.org/g3d_blender/import.png)
Animated mesh:
http://jammy.megaglest.org/g3d_blender/worker_blender.webm (http://jammy.megaglest.org/g3d_blender/worker_blender.webm)
Texturing is a little different. Here's a screenshot of the node tree for the g3d mesh material:
(http://jammy.megaglest.org/g3d_blender/texture_graph.png)
Final notes:
- Everything should be working. But much more testing is needed. Any feedback would be great!
- I'm not 100% happy with how textures currently display in blender. So there's a good chance the material configuration g3d's require will change.
- Blender 2.9x is radically different from blender < 2.79. So there's lots of new things to find.
Happy Blender-ing!
-
Well done, Jammy!
-
Thanks ;D
-
Jammy, i've tried now this and it works perfectly, thx and good job. ;D ;D
-
Neat! Thanks for testing it :)
-
I've made some changes+additions to the script (thanks to robotkiller and titi finding bugs):
- Meshes without textures now load.
- All the 3d views are set to a mode where you can see the texture without any lighting (i.e. how it looks in megaglest).
- If the filename of a texture is wrong, the script will try to guess the file name with other extensions (png, jpeg, tga and gif, which replicates megaglest's behaviour).
- Textures are set to "alpha blend" and the alpha node of an image is linked to the alpha channel of the material shader. This is so that texture transparency can be viewed.
-
(https://i.imgur.com/ktVJDrz.jpg)
(https://upload.cc/i1/2021/05/19/LmDitv.jpg)
這問題要怎麼解決啊?
-
(https://i.ibb.co/3Y0YT0r/maybe-a-hint.png)
Maybe this setting?
-
Very nice!