Author Topic: New Blender 2.9x G3D Exporter!  (Read 2845 times)

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
New Blender 2.9x G3D Exporter!
« on: 26 November 2020, 20:25:59 »

Blender 2.9x G3D Exporter Available!



You can download the new script here.

Screenshots and Notes



Importing/ exporting is fairly similar to how it's done in old blender:


Animated mesh:
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:


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!
« Last Edit: 26 November 2020, 22:40:31 by jammyjamjamman »
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 478
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: New Blender 2.9x G3D Exporter!
« Reply #1 on: 27 November 2020, 08:39:49 »
Well done, Jammy!

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
Re: New Blender 2.9x G3D Exporter!
« Reply #2 on: 27 November 2020, 20:18:21 »
Thanks  ;D
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

RobotKiller001

  • Archer
  • *
  • Posts: 29
    • View Profile
Re: New Blender 2.9x G3D Exporter!
« Reply #3 on: 5 December 2020, 22:35:55 »
Jammy, i've tried now this and it works perfectly, thx and good job. ;D ;D
Working on Megaglest Improved Mod.

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
Re: New Blender 2.9x G3D Exporter!
« Reply #4 on: 7 December 2020, 21:13:02 »
Neat! Thanks for testing it :)
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
Re: New Blender 2.9x G3D Exporter!
« Reply #5 on: 10 December 2020, 01:21:21 »
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.
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

小丑遊戲

  • Archer
  • *
  • Posts: 23
    • View Profile
Re: New Blender 2.9x G3D Exporter!
« Reply #6 on: 19 May 2021, 15:10:55 »



這問題要怎麼解決啊?

atze

  • Technician
  • ****
  • Posts: 119
    • View Profile
Re: New Blender 2.9x G3D Exporter!
« Reply #7 on: 15 July 2021, 22:16:32 »



Maybe this setting?
this signature is not available in your country

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: New Blender 2.9x G3D Exporter!
« Reply #8 on: 30 July 2021, 22:07:29 »
Very nice!
Egypt Remastered!

Proof: Owner of glest@mail.com