Some vertex colors missing with FBX export

I think I found the solution to this bug. It appears to happen when you change the color after you lay brush strokes. Ex on the owl i did yesterday (daily) the body was one color which I made using a symmetry script. I changed the color for the wings and collar and when it was exported only one color showed. The rest I did not change using recolor in game were separated even when using the same paint type.
34 Replies
andybak
andybak2y ago
OK. I didn't realise (or I forgot...) we were splitting meshes by color! Have you got an example I can see? Even just a screenshot. I'll try it myself when I get a moment.
Zandy
ZandyOP2y ago
Out of OB...wings and base have 2 colors
No description
Zandy
ZandyOP2y ago
materials wouldnt apply to those bits
No description
andybak
andybak2y ago
Can you send me the files? It's scene hierarchy in Blender I want to see. I might be misunderstanding you as I'm still thinking about when you last explained this. Is this about which layers appear in Blender for exported Open Brush sketches? i.e. how the strokes are split into different meshes?
Zandy
ZandyOP2y ago
Just sent. Yes look at the color on the base, wings and collar are dark (top photo)
andybak
andybak2y ago
So over here:
No description
andybak
andybak2y ago
those meshes are split by group then by brush type. Are you saying it used to also split by color?
Zandy
ZandyOP2y ago
Also the eyes. The brush strokes where I used rebrush to color dont appear to show on the model in marmoset Yes but the hull for example of the body is one but it has two different colors on it
andybak
andybak2y ago
Talking just about this panel for a moment (I'm not looking at the mesh itself)
No description
andybak
andybak2y ago
are you saying that the way the sketch is split up in that hierarchy has changed?
Zandy
ZandyOP2y ago
Im saying that when you recolor hull, it is still grouped as one. When I add a material to that hull, it is laying down one color only, not the two using the recolor tool in the UI But, the ones I did using one color without rebrush are separated.
andybak
andybak2y ago
So You're not talking about any changes to the scene hierarchy?
Zandy
ZandyOP2y ago
no
andybak
andybak2y ago
ok. i have completely misunderstood then
Zandy
ZandyOP2y ago
mesh only no prob
andybak
andybak2y ago
Can you DM me the tilt file? I presume that still looks correct?
Zandy
ZandyOP2y ago
Yes. Lol Pretty soon you'll have enough for a gallery. lol
andybak
andybak2y ago
I just can't remember how fbx works. I can't get any colors on it I'm more familiar with glb in Blender and I want to compare against how it looks in OB
andybak
andybak2y ago
Here's what I see in Blender:
No description
andybak
andybak2y ago
@zandyxr what's wrong with that?
Zandy
ZandyOP2y ago
It’s not showing the difference in marmoset. The body is one color. So maybe it’s one of those funky things where things change once it’s in another program. That happens a lot with some 3d models. If you do any work in one program it doesn’t function properly in another. Not sure what’s going on Maybe it’s the fbx? Was that the glb?
andybak
andybak2y ago
Yep
Zandy
ZandyOP2y ago
Ok. Good to know. Unfortunately still need fbx for many programs. Wonder if that’s what’s going on.
andybak
andybak2y ago
let me try the fbx
Unfortunately still need fbx for many programs.
If the glb works, why not export that out as fbx for apps that don't support glb?
Zandy
ZandyOP2y ago
Could try but wonder if things will still get lost in the process
andybak
andybak2y ago
Not as much as they are with fbx! Can you make it clear if you report export issues - what format you're using from the outset? And always try glb for comparison.
Zandy
ZandyOP2y ago
Ok will do a quick try today. The mesh is one for the body but is not recognizing the change of colors Will do Thanks for checking on your end
andybak
andybak2y ago
No probs
Zandy
ZandyOP2y ago
ok just checked. Imported the glb to blender and exported as fbx. Marmoset still does not differentiate the vertex colors on the mesh. Maybe its a marmoset thing. Checked the FBX in blender and it confirms the vertex colors are missing on FBX.
andybak
andybak2y ago
The one on the left is the fbx that I exported and reimported:
No description
andybak
andybak2y ago
The one on the right is the glb. When I reimported the fbx I assigned the same material used on the glb. You can see the vertex colors are there. So it has to be a Blender issue. Or rather an issue with fbx materials. The data is there
Zandy
ZandyOP2y ago
ok good to know. weird how this happens....
AncientWorlds
AncientWorlds2y ago
Pretty rusty on marmoset, haven't tried it post XR. What are the messages in the error console? If I remember correctly, you had to take some extra steps to get the materials in, due to the naming conventions. Will have to check my notes and test, probably cant' get to it until Sunday or so, because rendering. If your using custom brushes it's tricky because it just takes the first one, unless the texture names are unique, as I recall. Marmoset does have the ability to take python plugin scripts, iirc, to set all that up automatically. Maybe find some time to play with ChatGPT to do that if I dig back into that area. Would make life a lot easier.
Also seem to remember that there's a couple different fbx formats, and I'm not sure that marmoset uses the same one.
Apologies for being vague, has been months since I've played around with that. Around the time I was trying to get models working for snow x purposes
Zandy
ZandyOP2y ago
I didn't see any errors at all. Hopefully youd have more luck
Want results from more Discord servers?
Add your server