The Model's Pose: Raphael's Early Use of Antique and Italian Art
Texture Jackie Hundley. Color Mapping These are full color images that are applied to the model's...
-
date post
22-Dec-2015 -
Category
Documents
-
view
216 -
download
1
Transcript of Texture Jackie Hundley. Color Mapping These are full color images that are applied to the model's...
TextureJackie Hundley
Color Mapping These are full color images that These are full color images that are applied to the model's are applied to the model's surface. Any markings or graphics surface. Any markings or graphics are incorporated into the color are incorporated into the color map. The completed model below map. The completed model below wears a total of 131 texture maps.wears a total of 131 texture maps.
Bump Mapping
Bump mapping can give the visual illusion Bump mapping can give the visual illusion of the presence in the surface of small of the presence in the surface of small bumps, holes, irregularities, carvings, bumps, holes, irregularities, carvings, engraving, scales, and so on; if managed engraving, scales, and so on; if managed efficiently, this can be achieved at a very efficiently, this can be achieved at a very small fraction of the rendering time that small fraction of the rendering time that would be necessary for an object with would be necessary for an object with similar characteristics modeled as similar characteristics modeled as geometry.geometry.
Bump Mapping Bump mapping can give the Bump mapping can give the visual illusion of the presence in visual illusion of the presence in the surface of small bumps, the surface of small bumps, holes, irregularities, carvings, holes, irregularities, carvings, engraving, scales, and so onengraving, scales, and so on.
Diffusion Mapping Depending on values, the Depending on values, the surface will appear dull and dirty surface will appear dull and dirty or bright and clean. Works well for or bright and clean. Works well for illustrating grease grime and worn illustrating grease grime and worn paint.paint.
Turbulence
A simple turbulence function can A simple turbulence function can be computed by summing many be computed by summing many different frequencies of noise different frequencies of noise functionsfunctions.
Turbulence can be used to Turbulence can be used to generate beautiful 3D marble generate beautiful 3D marble textures. The idea is simple. Fill textures. The idea is simple. Fill space with black and white stripes, space with black and white stripes, using a sine wavefunction. Then using a sine wavefunction. Then use turbulence at each point to use turbulence at each point to distort those planes.distort those planes.
The snake was rendered with a color texture map for the skin markings and a bump map for the scales.
Textures and Cylinders
//First the pencil body - this uses a 6-sided cylinder...
PencilTexture = TextureLoad("pencil.bmp", GL_FALSE, GL_LINEAR, GL_LINEAR, GL_REPEAT);
gluQuadricNormals(PencilObj, GLU_FLAT);
glBindTexture(GL_TEXTURE_2D, PencilTexture);
gluCylinder(PencilObj, 5.0, 5.0, 40.0, 6, 2);
//Then the ends - a cone at the tip and a flat cone at the base...
LeadTexture = TextureLoad("lead.bmp", GL_FALSE, GL_LINEAR, GL_LINEAR, GL_REPEAT);
gluQuadricNormals(PencilObj, GLU_SMOOTH);glBindTexture(GL_TEXTURE_2D, LeadTexture);
gluCylinder(PencilObj, 5.0, 0.0, 7.5, 6, 2);
/*Normally we might use a disk shape for this, but unfortunately the texture coordinates don't match up...*/
gluCylinder(PencilObj, 5.0, 0.0, 0.0, 6, 2);
References
http://www.cs.nps.navy.mil/people/faculty/capps/4473/projects/01Summer/textures/2d%20texture%20mapping.htm
http://developer.nvidia.com/object/cube_map_ogl_tutorial.html
http://www.cs.berkeley.edu/~ug/slide/docs/slide/spec/spec_frame_hierarchy.shtml
Foley, J, A. Dam, S. Feiner, and J. Hughes. Computers Graphic: Principles and Practice, 2d. Reading, MA: Addison-Wesley.
Wright, R. and M. Sweet. Color, lighting, and materials. In OpenGL Super Bible, 2d. Indianapolis: Waite Group Press.
Questions?Thank you