-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
21 lines (15 loc) · 999 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SPACELIKE
=========
A simple space piloting game in WebGL. Intended as an extended lesson on http://learningwebgl.com/
By Giles Thomas, [email protected]
Released under a Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License
See here for details: http://creativecommons.org/licenses/by-sa/2.0/uk/
If you modify the spacecraft model in Blender, the process for exporting it is a bit
manual (and will be improved, honest :-):
- Select the spacecraft from the Blender 3D view
- Export to Wavefront (.obj) format, with the following settings:
- Context: Selection only
- Output options: apply modifiers, rotate x90 and copy images off
- Export: edges off, triangulate on, materials off, uvs off, normals on, hq on, polygroups off, nurbs off, objects off, groups off, material groups off, keep vert order on
- Run the JavaScript conversion program by opening the file ObjToJSON.html in a browser
- Copy the content in the browser page, and paste it to spacecraft.json