1 / 62

3D Game Programming Graphics Tools

3D Game Programming Graphics Tools. Ming-Te Chi Department of Computer Science,  National Chengchi University. Outline. Graphics Tools GIMP: Image Manipulation  Blender: 3D content creation. GIMP. GIMP. GIMP : GNU Image Manipulation Program. Find Info About Your Image.

kassia
Télécharger la présentation

3D Game Programming Graphics Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3D Game Programming Graphics Tools • Ming-Te Chi • Department of Computer Science,  • National Chengchi University

  2. Outline • Graphics Tools • GIMP: Image Manipulation  • Blender: 3D content creation

  3. GIMP

  4. GIMP • GIMP : GNU Image Manipulation Program

  5. Find Info About Your Image

  6. Change the Size of an Image (Scale) • Image size • Pixel format

  7. Crop An Image

  8. Selection

  9. Transform • Rotate • Scale • Shear

  10. Layer

  11. BLENDER

  12. Blender • Model • Shade • Animate • Render • Composite • Interactive 3d

  13. The HomerCarlos R. BisquerttYafray Render The Dawn of the OrnithopterDoug OllivierBlender Render Treefrog and DragonflyJason PierceBlender Render

  14. What am I looking at? Info window 3D window Buttons Window

  15. Configuring the screen your way Middle mouse button on the bordern

  16. The Toolbox - Adding a sphere • You can call up the toolbox either by clicking on the toolbox icon in the top-right of the Blender screen, or by pressing SPACE

  17. About Object Mode

  18. About Edit Mode

  19. Loading and saving your work. • Saving a Blender File • Loading a Blender File • Export a model

  20. A SIMPLE WINTER SCENE http://biorust.com/index.php?page=tutorial_detail&tutid=81&lang=en

  21. The Snowman • Add > Mesh > UVSphere • press the S key (size) to make the sphere 4 squares wide. • Edit mode “Tab”

  22. Front View “1” • Add a 2nd UVsphere in the scene. Resize it (S) to 2 squares wide. • Now press the G key (G=Grab) and move the head on top of the body.

  23. you can "link/join" all the elements together. Select them by pressing the B key and drawing a square all around them. • Then press Ctrl+J and click on "join selected meshes".

  24. Add > Mesh > Cone. • Switch to the side view (3 on numpad).

  25. Switch to the front view (1 on numpad), add a sphere • duplicate it by pressing Shift+D, and put it (G) at the place of the second eye. 

  26. move to the top view (7 on numpad), • ress Z to switch to "Solid" mode (instead of "wireframe" mode).

  27. In the object mode (tab) select the snowman body. • Now go to the editing menu (F9 or the button that is circled) and click "Set Smooth".

  28. Then, click on "New" to create a new material for the snowman, and click "Shading" (or F5) to go onto the shading menu.

  29. Now, select the nose of the snowman. • On the shading menu (F5) click on "Add New" to create a new material for this part. Name it "Orange" or whatever you want, and set the RGB values to an orange color.

  30. Do the same thing for the eyes of the snowman (name the material "coal" and set the RGB to zero).

  31. The Fir Trees • elect (only) the second layer. Switch to the top view (7), • and add a Cone (Add > Mesh > Cone).

  32. Switch to the front view (1), and make the cone a little flatter.  To do this, select the top of the cone (right-click on it) and move (G) it. To move it only in one direction (e.g. along the z axis only) start your move in the direction you want and do a click with the middle-button. The move should now be restricted to only one axis. Click a 2nd time with the middle button to cancel. Then switch to the object mode (Tab) and increase the size (S) of the cone. Make it 8 squares wide. 

  33. Keep the cone selected, and go to the shading menu (F5). • Click on Add New (as in step 9), and name the new material "FirTree". Then, click on the Texture Menu button.

  34. Click on "Add New" to add a texture to the FirTree material, then select "Image", because the texture will be based on an image. Click on "load image" and choose the image you'll find here.Set the "Xrepeat" value to 2 (the Xrepeat button is underneath the "Load image" one).

  35. Go to the material menu, and select the "Map Input" tab. Choose "Tube". Make sure the cone is still selected, go back to the editing menu (F9) and select "Set Smooth" (as in step 7). By the way, the textures can't be seen in the solid mode (Z), they're visible only in renders. 

  36. In the front view (1), duplicate (Shift+D) the cone, and put the duplicated cone on top of the other. • Repeat this once to have 3 cones. Decrease slightly the size of the cone on the top and in the middle. You should have something looking like the picture opposite. 

  37. Switch to the top view (7) and add a cylinder (Add > Mesh > Cylinder). Make it small enough (S) to be the trunk of the tree, and put it at the right place in the front (1) view.make them smooth and add appropriate materials. Make the material brown (R:0.500, G:0.250, B:0.000). 

  38. Switch to the top view and select the whole fir tree (A or B and draw a square around it). • Select the first layer (press Shift when you click on it to keep the layer with the fir tree selected). There's a big probability that the fir tree will be over the snowman, so move it (G) away. 

  39. Use Shift+D to copy the fir tree and create a little forest around the snowman. (Don't put fir trees in front of him, or he'll be totally hidden from the camera). • You can make some trees bigger or smaller, so it won't look too artificial Verify your scene in the front/side views (1/3) that the bigger trees are not half-underground and the smaller trees half-flying.

  40. The Ground • Select another layer and add a plane (Add > Mesh > Plane). Now select the 3 layers you used, and (with the plane still selected) grow the plane to be bigger than the forest. This is going to be the ground. Switch to the object mode (Tab) and make sure in the front or side view (1 or 3) that the ground is not floating above the trees, but directly under them.

  41. Now go to the shading menu (F5), and instead of choosing "Add New", click on the small arrows on the left of the Add New button and choose "Snow".

  42. CREATING A VASE

  43. To add a circle press [Space-bar] to bring up the toolbox. In it go toAdd>> Mesh>> Circle, confirm the circle of 32 vertices.

  44. Edit-mode • To do that first press [S](scale) then keep pressed [Ctrl](Constrained movement) and bring the mouse towards the circle pivot

  45. Press [Numpad1] to get in to front view. • Keep all the vertices selected(yellow, [A] to toggle), • now press [E](extrusion) select 'Region' from pop-up and start moving the mouse upwards(Y axis)

  46. first select all the vertices by pressing [A] then press [Ctrl+N] to recalculate surface normals.

  47. Press [E] then[Y](Y axis) to constrain movement vertically, now move it .1000 unit upwards. Scale it down to .600. To scale the selection press [S] then move the mouse, click to commit scaling.

  48. 1) .1000 extrude up, scale 1.300. 2) .1000 extrude up, scale 1.200. 3) .3000 extrude up, scale 1.300.4) .4000 extrude up.5) extrude and move up 2 big units([Ctrl]) and then .700 scale inwards.

  49. 6) .2000 extrude upwards, scale .800 inwards. Next two extrusions will shape the 'neck' of the vase.7) .2000 extrude upwards, scale .600 inwards.8) .1000 extrude upwards.9) .1000 extrude upwards, 1.400 scale outwards.10) .1500 extrude upwards.11) .600 extrude inwards, and lastly12) .3000 extrude downwards.

More Related