Blender 2.80 exporter?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
Hrenli
Halfling
Posts: 73
Joined: Tue Jun 14, 2016 12:26 pm
x 15

Blender 2.80 exporter?

Post by Hrenli » Wed Jul 17, 2019 1:16 pm

Blender 2.80 is around the corner it seems, and with all shiny new features it is also breaking python API. So I am curious, does anyone here has a plan to update one of the existing exporters or write a new one?

Reading these forums I've got an impression that quite a few users seem to prefer to use something else than .mesh and therefore don't need a special exporter. I was sticking to Blender -> .xml -> .mesh/.skeleton workflow till now. Even though I was not entirely happy about it and was thinking of maybe creating own exporter which would suit my needs a bit better still was not forced to do it. Now it might be the time, but before committing to it I thought I might try to ask around first maybe somebody is already working on updating/rewriting Blender -> Ogre xml exporter to work with 2.80. :)
1 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 921
Joined: Sun Mar 30, 2014 2:51 pm
x 206
Contact:

Re: Blender 2.80 exporter?

Post by paroj » Thu Jul 18, 2019 10:59 am

once it is there, somebody (eventually me) will likely update the code here:
https://github.com/OGRECave/blender2ogre

with the recent updates for Ogre 1.12.2, the XMLConverter got about 3x faster at XML -> mesh.

Also there is the possibility to use the python bindings to make blender write a .mesh directly instead of converting to XML.
3 x

loath
Platinum Sponsor
Platinum Sponsor
Posts: 142
Joined: Tue Jan 17, 2012 5:18 am
x 4

Re: Blender 2.80 exporter?

Post by loath » Sun Aug 04, 2019 3:57 pm

yes this would be super helpful.
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 921
Joined: Sun Mar 30, 2014 2:51 pm
x 206
Contact:

Re: Blender 2.80 exporter?

Post by paroj » Sat Sep 07, 2019 1:27 pm

there is now preliminary 2.80 support in the 2.80-support branch
2 x

loath
Platinum Sponsor
Platinum Sponsor
Posts: 142
Joined: Tue Jan 17, 2012 5:18 am
x 4

Re: Blender 2.80 exporter?

Post by loath » Sun Sep 08, 2019 6:34 pm

thanks for doing this! will try it out next week.
0 x

jlm
Gnoblar
Posts: 7
Joined: Fri Aug 16, 2019 10:17 pm

Re: Blender 2.80 exporter?

Post by jlm » Fri Sep 27, 2019 10:35 pm

I'm working off of this branch and I'm having an issue such that the mesh exports correctly, but the exported materials files they reference are always identical and have no info about color, etc. Any chance this is an issue in the branch itself? I figure I'm probably just exporting incorrectly somehow, but I'm not sure what I might be doing wrong. Thanks!
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 921
Joined: Sun Mar 30, 2014 2:51 pm
x 206
Contact:

Re: Blender 2.80 exporter?

Post by paroj » Sat Sep 28, 2019 9:33 pm

do things work with blender 2.79 and the master branch?
0 x

Tom Duhamel
Gnoblar
Posts: 3
Joined: Fri Nov 15, 2019 2:07 pm

Re: Blender 2.80 exporter?

Post by Tom Duhamel » Fri Nov 15, 2019 2:16 pm

I confirm, colours are not exported to the material file. No matter what I tried, only a generic material seems to be exported with the colour information set as:

diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 0.0

Was the previous version meant to use Cycles, or only the now deprecated Blender Internal? If so, I suppose that would be why, as the exporter now needs to get that information from a different location than before.
0 x

sercero
Bronze Sponsor
Bronze Sponsor
Posts: 24
Joined: Sun Jan 18, 2015 4:20 pm
x 5

Re: Blender 2.80 exporter?

Post by sercero » Sat Nov 16, 2019 2:21 pm

I think that the material definitions that the Ogre exporter was using come from Blender Render (the one previous to cycles).

I haven't used the new Blender 2.8 exporter.
0 x

Post Reply