Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 1,100 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Vertex colors finally supported? #363154
03/11/11 10:15
03/11/11 10:15
Joined: Aug 2002
Posts: 365
netherlands
Lennart_hillen Offline OP
Senior Member
Lennart_hillen  Offline OP
Senior Member

Joined: Aug 2002
Posts: 365
netherlands
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*

Re: Vertex colors finally supported? [Re: Lennart_hillen] #363157
03/11/11 10:45
03/11/11 10:45
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
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?

Re: Vertex colors finally supported? [Re: Pappenheimer] #363442
03/12/11 19:07
03/12/11 19:07
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
It actually does but you need a shader to display them.

Re: Vertex colors finally supported? [Re: Hummel] #363531
03/13/11 01:53
03/13/11 01:53
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
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.

Re: Vertex colors finally supported? [Re: ventilator] #363535
03/13/11 03:08
03/13/11 03:08
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
If you're not using the tangent coordinate set for tangent space calculations you could use that.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Vertex colors finally supported? [Re: JibbSmart] #363536
03/13/11 03:19
03/13/11 03:19
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
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.

Re: Vertex colors finally supported? [Re: ventilator] #363591
03/13/11 15:27
03/13/11 15:27
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Sorry for the offtopic, but could someone enlighten me, what a per vertex color is good for?


Always learn from history, to be sure you make the same mistakes again...
Re: Vertex colors finally supported? [Re: Uhrwerk] #363598
03/13/11 15:54
03/13/11 15:54
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
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

Re: Vertex colors finally supported? [Re: Slin] #363603
03/13/11 16:07
03/13/11 16:07
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Ah, ok. Thanks for the explanation.


Always learn from history, to be sure you make the same mistakes again...

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1