Dependenciesįor this article, I will rely on several 3rd party libraries to simplify programming. A model can appear very shiny or very dull depending on the material properties of the model. Materials are used to determine how the light interacts with the surface of the model. With the correct use of lighting we can make a scene dark and gloomy or bright and cheery. Lighting also provides a cue to the eye what the direction and shape of an object has. Lighting is required to set the mood for a scene. As you can imagine, adding detail to a model in this way can be very inefficient. Without textures the only way to acquire the level of detail that can be achieved using texture mapping would be to specify a different colored vertex for each pixel of the screen. Texturing an object is the process of mapping a 2D (or sometimes 3D) image onto a 3D model so that you can achieve much higher detail in the model without using a lot of vertices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |