Graphics Programs Reference
In-Depth Information
Shortcut
Description
Ctrl Z
Undo last operation
Ctrl Shift Z
Redo operation
Z
Toggle Wireframe mode
F
Make Face
E
Extrude Region
RightClick
Select single vertex, edge or face
Shift RightClick
Multi-select vertex, edge or face
Delete
Show Delete menu
G X
Translate selection along global X
R X
Rotate selection about global X
S X
Scale selection along global X
Parsing Objects for OpenGL ES
Now, we demonstrate the use of a Perl ( .obj ) parser to parse the triangulated mesh
data in .obj files. This parser is still in its early stages (it does not support tex-
tures for objects), but it has sufficient functionality to collect the following data from
.obj (and .mtl ) files:
▪ It can collect basic data about objects, such as names and materi-
als.
Listing 4-9 contains a few lines from the beginning of the file
tankFence5.obj , whereas Listing 4-10 contains a few lines
from the file tankFence5.mtl (you exported these files using
tankFence5.blend file).
Listing 4-9. Chapter4/Blender/tankFence5.obj
# Blender v2.63 (sub 0) OBJ File:
'tankFence5.blend'
# www.blender.org
mtllib tankFence5.mtl
o Plane
v 10.000000 -10.000000 0.000000
v -10.000000 -10.000000 0.000000
 
 
 
Search WWH ::




Custom Search