how to create metallic shine on a surface

i am creating a ship and want it to look metallic. i have not used any textures so far. only some lighting, shading etc… what is the best way to make it look metallic? anybody has any sample codes?

You want to look at environment mapping for reflectivity, and specular highlights for shininess.

Hi,

I hope that this helps and is what you’re looking for … it’s an example in Delphi but it’s only API calls so you shouldn’t have any problems converting the idea …
there are two examples of specular highlights using environment mapping here …
http://www.sulaco.co.za/opengl5.htm

You’ll also find many other useful examples here and there’s a nice one on spherical environment mapping …

Good luck …

Andrew

thanx a lot. will try the program soon. regarding environment mapping… any suggestions for a good book or sample pgms to look up?