MX Bikes Official Forum

Mods => Track Editing => Topic started by: BeefLilly247 on June 25, 2020, 11:14:08 PM

Title: Blender shader fbx2edf issue
Post by: BeefLilly247 on June 25, 2020, 11:14:08 PM
I'm trying to export these mountains (see image 3) with the texture but fbx2edf just stops it's progress right at the end and then just sits.
Doesn't freeze or crash, just sits. (see image 1)
I included the blender shader view as well in case that's where my issue is.

Any ideas?

Image 1 - fbx2edf  (https://imgur.com/eFaQwdz)
Image 2 - Mountains Shader [Blender] (https://imgur.com/8xvflaT)
Image 3 - Object I'm exporting (https://imgur.com/JtiZCLY)
Title: Re: Blender shader fbx2edf issue
Post by: Resolute Kraken on June 25, 2020, 11:27:43 PM
I'm pretty sure that it won't use all those shaders.  If all of those are to make the final texture, you might be better off just rendering that texture from top view and applying it to the object's material.  MXB (FBXtoEDF) will only use the Diffuse and NormalMap images on the material - none of the shaders - that is done in the SHD file for the texture during conversion - and only accepts allow use of Normal/Spec and Reflection maps.

I could be wrong though, but pretty sure that is your problem.
Title: Re: Blender shader fbx2edf issue
Post by: BeefLilly247 on June 26, 2020, 12:29:16 AM
that's what I intially thought as well. But after exporting one without a texture applied, I think it's actually due to my poly count of the mesh itself.
Is there a limit on how many polygons fbx2edf will handle?
Title: Re: Blender shader fbx2edf issue
Post by: BeefLilly247 on June 26, 2020, 01:07:17 AM
Alright I think it was a mix of both. I was able to grab an old fbx export of the mountains, slapped a rendered version of the mountains shader over it, and it converted no problem in fbx2edf.
Now I'm facing this:
After converting and creating the map file, the geometry is very ugly, which wasn't happening before. I tried recalculating the normals but that did nothing.
Thoughts?
Title: Re: Blender shader fbx2edf issue
Post by: Resolute Kraken on June 26, 2020, 01:20:40 AM
hahah, I literally just had this problem. Apply the scale on your object before export.
Title: Re: Blender shader fbx2edf issue
Post by: Resolute Kraken on June 26, 2020, 01:22:17 AM
And I'm assuming that this is going to be used in your background.edf?
Title: Re: Blender shader fbx2edf issue
Post by: BeefLilly247 on June 26, 2020, 01:31:16 AM
Apply the scaling in blender before export? Could you elaborate?

well currently I have just been adding this into my hmf file as the "scene2".
Title: Re: Blender shader fbx2edf issue
Post by: Resolute Kraken on June 26, 2020, 01:37:38 AM
apply the scale to object in Blender - are you on the discord server?
Title: Re: Blender shader fbx2edf issue
Post by: BeefLilly247 on June 26, 2020, 01:39:09 AM
I am not. Is there a chance I can get a link to that?
Title: Re: Blender shader fbx2edf issue
Post by: Resolute Kraken on June 26, 2020, 01:41:28 AM
try mxb-discord.com

or see link at bottom of mxb-wiki.com
Title: Re: Blender shader fbx2edf issue
Post by: BeefLilly247 on June 26, 2020, 01:49:02 AM
Thanks. Joined in and verified!