Vertex colors finally supported?

Posted By: Lennart_hillen

Vertex colors finally supported? - 03/11/11 10:15

Hey everyone,

After God knows how many years, I've returned to these forums with a question; Does 3dgs, after all these years of updates, now finally support vertex color data? That would be lovely, I would be so happy.

That will be all.

Lennart away!
*flies off*
Posted By: Pappenheimer

Re: Vertex colors finally supported? - 03/11/11 10:45

Nope.
Most probably the shader gurus of the forum can program this for you.

While seeing you here:
What are you doing? Still somehow in games and game development involved?
Any level shots under the hood that you could share with the forum?
Posted By: Hummel

Re: Vertex colors finally supported? - 03/12/11 19:07

It actually does but you need a shader to display them.
Posted By: ventilator

Re: Vertex colors finally supported? - 03/13/11 01:53

you also need a custom exporter to export them in the second uv-set of the model file. the mdl7 format only contains u and v values so you would have to encode the color values into one or two floats.
Posted By: JibbSmart

Re: Vertex colors finally supported? - 03/13/11 03:08

If you're not using the tangent coordinate set for tangent space calculations you could use that.

Jibb
Posted By: ventilator

Re: Vertex colors finally supported? - 03/13/11 03:19

but the problem is... how do you get the vertex colors from your modeling application into the engine? the mdl7 format only supports two uv-sets with 2 components each.
Posted By: Uhrwerk

Re: Vertex colors finally supported? - 03/13/11 15:27

Sorry for the offtopic, but could someone enlighten me, what a per vertex color is good for?
Posted By: Slin

Re: Vertex colors finally supported? - 03/13/11 15:54

They give your vertex a color! laugh

Okay, okay, there are some situations where they make more sense, like for example for weighting animation within the vertex shader, blending between textures instead of using a blendmap, using it instead of a lightmap. They are basicly just a lot cheaper than textures, donīt need you to unwrap your model, allow to tile your textures but still highlight some areas different than others in a very easy and artist friendly way and stuff like that laugh.
-> They are great stuff, especially for things like fish or plants animations and especially on hardware not supporting vertex shader texture lookups, where you can do stuff like geometric wave animation on the cpu or somethig like that. And much more tongue
Posted By: Uhrwerk

Re: Vertex colors finally supported? - 03/13/11 16:07

Ah, ok. Thanks for the explanation.
© 2024 lite-C Forums