]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Mapping-textures-skybox-blender.md
Upload attachment zzz-bai-gfx-v8.pk3
[xonotic/xonotic.wiki.git] / Mapping-textures-skybox-blender.md
1 Skyboxes (with blender)
2 =======================
3
4 In this tutorial we will make a very simple skybox for Xonotic
5 --------------------------------------------------------------
6
7 ### Requirements
8
9 -   Xonotic (and a mapping setup (I use netradiant))
10 -   Blender (I will be using version 2.62, older versions may work)
11 -   gimp (I will be using 2.6, older versions may work)
12 -   a text editor (I’ll be using kate)
13
14 ### Intro
15
16 This is what we will make…
17
18 ![](start-shot.jpg)
19
20 Its actually not that hard to do, so lets get started
21
22 ### Step 1 - open blender
23
24 Lets get started.
25 The first thing you will need is blender, so open it up and delete the default cube, camera, and light.
26 ![](blender-open.jpg)
27
28 ### Step 2 - Make the ground
29
30 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.
31 ![](blender-add-plane.jpg)
32
33 ![](blender-plane.jpg)
34
35 After adding the plane hit [s] and scale it up quite a bit.
36
37 ![](blender-plane-scaled.jpg)
38
39 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)
40
41 ![](blender-plane-sub.jpg)
42
43 Enable proportional editing, It is in the lower left by default
44
45 ![](blender-pedit.jpg)
46
47 Set the proportional editing mode to random
48
49 ![](blender-redit.jpg)
50
51 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.
52
53 ![](blender-redit2.jpg)
54
55 Go crazy with the editing. I found that having the larger hills on outside, and a flatter area in the middle worked out best.
56
57 ![](blender-hills1.jpg)
58
59 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.
60
61 ![](blender-subsurf.jpg)
62
63 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.
64
65 ![](blender-smooth.jpg)
66
67 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
68
69 ![](blender-addlight)
70
71 Then turn on the sky option in the light settings
72
73 ![](blender-sky.jpg)
74
75 Finally adjust the camera (add one if you dont have one already), and render a shot.
76
77 ![](blender-render1.jpg)
78
79 … still working on it … sorry …
80