Color on Meshes

Questions and answers about the how and why of making maps.
Post Reply
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Color on Meshes

Post by allejo »

Hi everyone i need help!

I'm making a mesh (Top Secret) for a new map idea of mine and i was wondering how do i add color. im using wings 3d and i know that i can do vertex color and i tried it but when i exported it the colors didn't. and my mesh has 350+ faces on wings3d (i had help) and i cant do trial and error with faces because it takes to long so was wondering if there is a way to color the faces. im on a mac (Mac OS X FTW) and im using the wings 3d exporter so please help! thank you all, bzflag fanatics!!!!! :):):):):):)
z[h]ero
Private First Class
Private First Class
Posts: 204
Joined: Mon Jan 31, 2005 12:00 am
Location: hiding behind box...a real Bz coward :/

Re: Color on Meshes

Post by z[h]ero »

Use "Material" instead "vertex color", and select your desired color there. "Material" is exactly above "vertex color".
Wirth's law: "Software is getting slower more rapidly than hardware becomes faster."
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Post by allejo »

ok when i try material a menu pops up then i look to see if i can enter numbers but i can only make black and white colors. or am i not seeing something?
z[h]ero
Private First Class
Private First Class
Posts: 204
Joined: Mon Jan 31, 2005 12:00 am
Location: hiding behind box...a real Bz coward :/

Post by z[h]ero »

Ha You Got Shot By Me wrote:...but i can only make black and white colors...
Yeah, what you see is the window attached as "material.png". Press there in the area which I painted red.
Then the window "color.png" will appear, where you can choose your desired color.
Attachments
material.png
material.png (7.17 KiB) Viewed 1005 times
color.png
color.png (4.12 KiB) Viewed 1001 times
Wirth's law: "Software is getting slower more rapidly than hardware becomes faster."
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Post by allejo »

oh ok thank you so much z[h]ero that will really save me time. so now if i export it with the wings 3d exporter it will export it with the colors? thank you! :D
z[h]ero
Private First Class
Private First Class
Posts: 204
Joined: Mon Jan 31, 2005 12:00 am
Location: hiding behind box...a real Bz coward :/

Post by z[h]ero »

No problem.
Ha You Got Shot By Me wrote:so now if i export it with the wings 3d exporter it will export it with the colors?
Yes, it should. (But simply test it)
Wirth's law: "Software is getting slower more rapidly than hardware becomes faster."
anomaly
Private First Class
Private First Class
Posts: 220
Joined: Tue Jul 26, 2005 10:32 pm
Location: Gainesville Florida

Post by anomaly »

you can also edit the material colors in the map file.
example:

Code: Select all

material
  name mat_name
  # change things in here
  diffuse 0.3 1 0.2 1
  addtexture mesh
end
any face with the matref named mat_name will have this color. In fact it's not really necessary to change the color in Wings3D. just add the materials as you normally would. The mesh won't look right in the modeller though.
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Post by allejo »

oh that is useful thanks so much this will save me time!
Post Reply