Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

just learned simply exporting to obj is wiping the vertex color info. I didn't know that. Any tips for doing what I'm trying ? (get vertex colors working in gamemaker?)

(+1)

The obj spec doesn’t officially support vertex color - although there are a few “unofficial” specs, which it seems that Crocotile actually uses. I’ll try to get back to you on that in a few hours.

That would be very appreciated! Thank you!

Okay, it seems to be working. I uploaded a “beta” version of the program (Penguin-beta.zip in the downloads), let me know if it works and I’ll promote it to the regular version.

Actually, I suppose while I’m at it I might as well see if I can get the transparency to play nicely with Crocotile models too.

(3 edits)

whoa it's so cool you are helping me (and other croc users) out on this! I tried the beta version, but may be doing something wrong tho. If I export to .obj from Crocotile (a model with vertex colors obviously, and checkmark "Vertex Colors") then add mesh into Penguin they should be showing up, right? It's still blank for me. The creator of Crocotile told me this when I asked, dunno if it helps: 

"crocotile adds the vertex r g b values to the end of the vertex x y z data in the .obj, if vertex colors is checked on export.. it's not a standard of obj, but some programs might read the vertex data such as MeshLab."

Okay, let’s see.

If you open the obj in notepad, does it show six values after every “v” line instead of three? Also, you tried it with the beta version of Penguin instead of the old one, right?

(1 edit)

yes. Tho they are weird long decimals on the colored vertexes I think.

o Default
v 0 4.75 3.125 1 1 1
v 5 9.75 0 1 1 1
v 0 9.75 3.125 0.32156863808631897 0.5686274766921997 0.7607843279838562
v 5 4.75 0 0.7019608020782471 0.10196078568696976 0.03921568766236305
v -5 4.75 0 0.7019608020782471 0.10196078568696976 0.03921568766236305
v 0 4.75 3.125 1 1 1
v -5 9.75 0 1 1 1
v 0 9.75 3.125 0.32156863808631897 0.5686274766921997 0.7607843279838562
v 0 9.75 3.125 1 0.8509804010391235 0.4588235318660736

etc...

(and yes, I made sure to get the beta version)

Can you send me the file? The ones I’ve tried work.

sure. Just a 12 tri mound with some colors on it I was using to test

dropbox link