Blender 2.80 exporter?

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

Blender 2.80 exporter?

Post by Hrenli »

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. :)
paroj
OGRE Team Member
OGRE Team Member
Posts: 2106
Joined: Sun Mar 30, 2014 2:51 pm
x 1132

Re: Blender 2.80 exporter?

Post by paroj »

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.
loath
Platinum Sponsor
Platinum Sponsor
Posts: 290
Joined: Tue Jan 17, 2012 5:18 am
x 67

Re: Blender 2.80 exporter?

Post by loath »

yes this would be super helpful.
paroj
OGRE Team Member
OGRE Team Member
Posts: 2106
Joined: Sun Mar 30, 2014 2:51 pm
x 1132

Re: Blender 2.80 exporter?

Post by paroj »

there is now preliminary 2.80 support in the 2.80-support branch
loath
Platinum Sponsor
Platinum Sponsor
Posts: 290
Joined: Tue Jan 17, 2012 5:18 am
x 67

Re: Blender 2.80 exporter?

Post by loath »

thanks for doing this! will try it out next week.
jlm
Gnoblar
Posts: 7
Joined: Fri Aug 16, 2019 10:17 pm

Re: Blender 2.80 exporter?

Post by jlm »

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!
paroj
OGRE Team Member
OGRE Team Member
Posts: 2106
Joined: Sun Mar 30, 2014 2:51 pm
x 1132

Re: Blender 2.80 exporter?

Post by paroj »

do things work with blender 2.79 and the master branch?
Tom Duhamel
Gnoblar
Posts: 3
Joined: Fri Nov 15, 2019 2:07 pm

Re: Blender 2.80 exporter?

Post by Tom Duhamel »

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.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 479
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 167

Re: Blender 2.80 exporter?

Post by sercero »

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.
file2mail
Gnoblar
Posts: 2
Joined: Sat Feb 15, 2020 5:38 am
x 1

Re: Blender 2.80 exporter?

Post by file2mail »

staying tuned for an updated 2.8 exporter!