Đang chuẩn bị liên kết để tải về tài liệu:
3D Game Programming All in One- P16
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
3D Game Programming All in One- P16: During the past several years while working on the Tubettiland “Online Campaign” software and more recently while working on the Tubettiworld game, I figure I’ve received more than a hundred queries from people of all ages about how to get started making games. There were queries from 40-year-olds and 13-year-olds and every age in between. Most e-mails were from guys I would estimate to be in their late teens or early 20s. | Sources 357 Then choose Image Rotate Free Rotate to get the Free Rotate dialog box see Figure 11.9 . Click the Right button in the Direction frame and click the Free button in the Degrees frame. Finally type 1.00 in the text box next to the Free button and click OK. This will rotate the selected area 1 full degree to the right see Figure 11.10 . You should have your rotated area with the selection marquee still surrounding it. Don t touch anything yet leave Figure 11.8 Rectangular Selection tool icon. the selection as it is. Now after having explained the Crop tool I ll show you another way to crop the image that is sometimes more convenient than using the Crop tool. With the rotated area still selected choose Image Crop to Figure 11.9 The Free Rotate dialog box. Selection and the image will be cropped for you You will then end up with an image as shown in Figure 11.11 suitable for use as a texture. Now compare Figure 11.11 with Figure 11.7 and you will see the difference. Original Artwork The other approach to creating textures is to use original artwork. Some people believe this is not a real option for them because they think they can t draw or paint to save their lives. I tend to feel that everyone can learn the techniques required. My intent here however is not to teach you how to draw so if you want to learn more I encourage you to look into taking some lessons. Figure 11.10 The rotated woodgrain. Figure 11.11 The cropped woodgrain image. If you are satisfied with your artistic skills then you have another rich avenue for texture generation available to you. The techniques used to convert a photograph to a texture can also be used to convert your hand-made images to textures. Another approach for creating original artwork is to create your images directly in a tool like Paint Shop Pro. You can draw freehand using the mouse or a pen tablet. Team LRN 358 Chapter 11 Structural Material Textures With tools like Paint Shop Pro you have a wide variety of means for