Vertex Paint

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
Greed
Gnoblar
Posts: 11
Joined: Mon May 09, 2005 9:51 pm
Location: Montreal

Vertex Paint

Post by Greed »

I am trying to get some vertex painted landscape into ogre the problem is that i don't have a clue how to export the vertex paint part from max..?

Where's that freakin switch!
User avatar
Greed
Gnoblar
Posts: 11
Joined: Mon May 09, 2005 9:51 pm
Location: Montreal

Post by Greed »

Anyone?!? Can't this be done at all?
User avatar
bugshake
Greenskin
Posts: 111
Joined: Sat Feb 26, 2005 1:12 pm
Location: Amsterdam
Contact:

Post by bugshake »

I don't know how vertex painting works exactly, but max would either create a texture for you or attach an RGB color value to every vertex. In the first case, you need to export the texture coordinates, using a checkbox called something like "export UV coords" or "export UV sets". If it's the second case, then you need to check "export vertex color". The exported mesh.xml file would then have a colour value for each vertex. If it has those, but they don't show up in your program, you need to enable something programaticly, I wouldn't know cause I haven't tried in Ogre.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

Does the 3DS exporter support vertex colours? That's what vertex painting is - OGRE supports it but the exporter has to write the data out. I thought there was an option for this, but I don't have Max.
mojokool
Gnoblar
Posts: 4
Joined: Fri Jun 24, 2005 2:54 am

Post by mojokool »

I don't know if this will help but I posted some info on what has been helping me out with exporting from Max.

Ogre Wiki under 3DS Max tips
http://www.ogre3d.org/wiki/index.php/OgreArticles

Or just go here:
http://gobotox.ronbravo.com/viewthread. ... e=1#pid375
Post Reply