]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Mapping-textures-skybox-blender.textile
Fix blockquote and table rendering
[xonotic/xonotic.wiki.git] / Mapping-textures-skybox-blender.textile
1 h1. Skyboxes (with blender)
2
3 h2. In this tutorial we will make a very simple skybox for Xonotic
4
5 h3. Requirements 
6
7 * Xonotic (and a mapping setup (I use netradiant))
8 * Blender (I will be using version 2.62, older versions may work)
9 * gimp (I will be using 2.6, older versions may work)
10 * a text editor (I'll be using kate)
11
12 h3. Intro
13
14 This is what we will make...
15
16 !start-shot.jpg!
17
18 Its actually not that hard to do, so lets get started
19
20 h3. Step 1 - open blender
21
22 Lets get started.
23 The first thing you will need is blender, so open it up and delete the default cube, camera, and light.
24 !blender-open.jpg!
25
26 h3. Step 2 - Make the ground
27
28 We are going to make the ground using a large plane. So hit [shift] + [a] to bring up the add menu, and add a plane. 
29 !blender-add-plane.jpg!
30
31 !blender-plane.jpg!
32
33 After adding the plane hit [s] and scale it up quite a bit.
34
35 !blender-plane-scaled.jpg!
36
37 Then with the plane selected hit [tab] to enter edit mode. After that find the subdivide button on the left and subdivide your plane, also move up the number of divisions to get smaller squares. (you may have to subdivide twice)
38
39 !blender-plane-sub.jpg!
40
41
42 Enable proportional editing, It is in the lower left by default
43
44 !blender-pedit.jpg!
45
46
47 Set the proportional editing mode to random
48
49 !blender-redit.jpg!
50
51
52 Now you can move one face, and the nearby faces will follow suit. Note that you can adjust the radius of effect by using your mouse's scroll wheel. 
53
54 !blender-redit2.jpg!
55
56
57 Go crazy with the editing. I found that having the larger hills on outside, and a flatter area in the middle worked out best.
58
59 !blender-hills1.jpg!
60
61 After you are done making some hills, we are going to smooth them out. To easily do this, we simply add a subdivision surface modifier. So, first click on the modifiers tab (the little wrench). Then click the "add modifier" drop down box. And finally hit Subdivision Surface.
62
63 !blender-subsurf.jpg!
64
65
66 Adjust the subsurf values so the hills become nice and smooth (poly count does not matter here), then press the smooth shading button on the left. 
67
68 !blender-smooth.jpg!
69
70 Now we need to add the sun and sky. To do this simple go to the add menu [shift][a]  and add a "sun" light
71
72 !blender-addlight!
73
74 Then turn on the sky option in the light settings
75
76 !blender-sky.jpg!
77
78 Finally adjust the camera (add one if you dont have one already), and render a shot.
79
80 !blender-render1.jpg!
81  
82
83
84
85
86
87 ... still working on it ... sorry ...
88