Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 31st December 2003, 03:13 PM   #1
JimB
Junior Member
Member
 
Join Date: Jun 2003
Location: U.K
Posts: 20
Default Chipped paint effect

Hi
I dont know if this is the right place for this question but can anyone please
tell me how to create a chipped paint effect please?
JimB is offline   Reply With Quote
Old 31st December 2003, 03:42 PM   #2
-WOODY-
Senior Member
Professional user
 
Join Date: Sep 2003
Location: Homje of the Indy 500
Posts: 176
Default Re: Chipped paint effect

Well if you're using POV-Ray to render, you can create a bump map and apply that to your surface normal which can give it the appearence of a rough or raised surface.
Normally you would use your favorite paint program to create an image texture of your paint and Pov will convert that to a black and white image map.
You can use the same image and apply that to your object as well. If you're using Pov, I could come up with the script for you to input into your object's property box.
__________________
http://home.earthlink.net/~slwoodgraphics/coupe_sig.jpg
Take a gander at my fan site Three D madness
-WOODY- is offline   Reply With Quote
Old 31st December 2003, 05:01 PM   #3
JimB
Junior Member
Member
 
Join Date: Jun 2003
Location: U.K
Posts: 20
Default Re: Chipped paint effect

Thanks -WOODY-
I was thinking of doing it in Photoshop(4.0) because I would like the
effect to be part of a model texture if possible.
JimB is offline   Reply With Quote
Old 31st December 2003, 07:45 PM   #4
-WOODY-
Senior Member
Professional user
 
Join Date: Sep 2003
Location: Homje of the Indy 500
Posts: 176
Default Re: Chipped paint effect

Ok then. The first thing to do then is within AC3D, select your object that you want to give the surface normal effect to and bring up it's property box. Copy and paste this directly into it.


normal {
bump_map {
gif "c:\woody's stuff\custom models\various textures\carpet\greencarpet.gif" interpolate 2
map_type 0
bump_size 4.0
} scale 1
}


As you can see by my example of the image that I've used, you first have to specify the file type used which in my case was a gif file image. After that, you have to specify where the image is stored followed by the file name.
As far as the settings go ( map_type ), there are different mapping types that you can specify.

map_type 0 gives the default planar mapping.

map_type 1 gives a spherical mapping.

With map_type 2 you get a cylindrical mapping.

Finally map_type 5 is a torus or donut shaped mapping.


The bump size setting gives you the depth of the bump, and the scale setting speaks for itself. If your model is large, you can specify a larger scale to match the paint chip texture. You'll just have to play around and experiment to get the results that you want.
The bump size ranges from 0.1 to as high as 5.0

Now if you go with the default planar ( flat ) type of projection ( map_type 0 ), it will by default project the normal bump effect horizontally like onto a vertical wall.
So if you want it to project vertically ( like looking down on to it from above ), then you'll have to give a rotation setting to it, ie...

normal {
bump_map {
gif "c:\woody's stuff\custom models\various textures\carpet\greencarpet.gif" interpolate 2
map_type 0
bump_size 4.0
} scale 1 rotate <90, 0, 0>

}

As you can see, I've rotated the bump effect 90 degrees along the x axis so that it will look right when looking at a completely horizontally flat surface. There are a number of good sites where you can find some great textures ( look in resources section ) of old rusted or chipped paint etc. That is if you don't feel like creating you own. Or you can take an existing texture and change the colors to siute your taste.
After you apply your texture to your model, you can use it as well as a normal bump map texture.

Keep in mind as well that these surface normal effects are highly dependent on lighting for them to show up. The better the light sources you use, the better the results will be.
You can use this technique to come up with some pretty cool and realistic effects. Have fun.
__________________
http://home.earthlink.net/~slwoodgraphics/coupe_sig.jpg
Take a gander at my fan site Three D madness
-WOODY- is offline   Reply With Quote
Old 1st January 2004, 05:27 PM   #5
JimB
Junior Member
Member
 
Join Date: Jun 2003
Location: U.K
Posts: 20
Default Re: Chipped paint effect

Thanks again WOODY for your help I'll now do a bit of experimenting.
JimB is offline   Reply With Quote
Old 14th January 2004, 10:01 AM   #6
titchStewart
Member
Advanced member
 
Join Date: Jan 2004
Location: London
Posts: 34
Default Re: Chipped paint effect

WOODY,

I tried your example but it didn't work.

Can you supply the pov file please?

Cheers,

Titch
titchStewart is offline   Reply With Quote
Old 15th January 2004, 05:41 PM   #7
titchStewart
Member
Advanced member
 
Join Date: Jan 2004
Location: London
Posts: 34
Default Re: Chipped paint effect

Can you have the bump map stretch over the whole object rather than repeating?

Cheers,

Titch
titchStewart is offline   Reply With Quote
Old 15th January 2004, 05:50 PM   #8
-WOODY-
Senior Member
Professional user
 
Join Date: Sep 2003
Location: Homje of the Indy 500
Posts: 176
Default Re: Chipped paint effect

Yes, you would have to add the additional term "once" to the code. So now it would look like this:

normal {
bump_map {
gif "c:\woody's stuff\custom models\various textures\carpet\greencarpet.gif" interpolate 2
map_type 0
bump_size 4.0
once
} scale 1
}

Keep in mind though that you may still have to play around with the scale numbers to get it the right size on your object.
__________________
http://home.earthlink.net/~slwoodgraphics/coupe_sig.jpg
Take a gander at my fan site Three D madness
-WOODY- is offline   Reply With Quote
Old 15th January 2004, 06:06 PM   #9
titchStewart
Member
Advanced member
 
Join Date: Jan 2004
Location: London
Posts: 34
Default Re: Chipped paint effect

Woody,

Many thanks for another piece of valuable info.

Cheers,

Titch
titchStewart is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 05:55 PM.


AC3D Forum
(C) Inivis Limited 2020