games + 3d3d tools
asset pipeline
from a blender model to a game: modeling, uvs, textures, rigs, export, and keeping it cheap to draw.
model it, unwrap it, texture it, rig it, export it as gltf. the game pays for every vertex, triangle and draw call, so keep them few.
- blender
- 5.2 lts every path and key here checked in its manual
- export
- .glb gltf 2.0, all in one binary file
- up axis
- z → y the gltf exporter turns it for you
- a cube's vertices
- 8 → 14 on the gpu, cut along 7 seams
- props and characters for a game engine
- models for three.js and the web
- anything that ships as gltf or fbx
on this page
an asset pipeline is the path a 3d model takes from the program it’s made in to the game that draws it. this sheet follows one model through blender: shape it, unwrap it, texture it, rig it, export it, and keep it cheap to draw.
every menu path and key was checked against blender 5.2 lts and its manual, with the default keymap, and the export defaults against the 5.2.3 source.1 menus move between versions, so check yours against these. in the tables, MMB is the middle mouse button, and Numpad 1 is the 1 on the number pad, not the one above the letters.
blender basics
the window is split into areas, and each area holds an editor: the 3d viewport, the outliner, the properties editor, the timeline. a workspace is a saved layout of them for one job, picked from the tabs along the top: Layout, Modeling, UV Editing, Shading, Animation and more.2
you edit an object in a mode. object mode moves whole objects. edit mode, Tab, edits a mesh’s vertices, edges and faces.3
| action | where | keys |
|---|---|---|
| orbit | 3D Viewport | MMB drag |
| pan | 3D Viewport | Shift-MMB drag |
| zoom | 3D Viewport | wheel |
| front, right, top view | View > Viewpoint | Numpad 1, 3, 7 |
| perspective or orthographic | View > Perspective/Orthographic | Numpad 5 |
| frame the selection | View > Frame Selected | Numpad . |
| add an object | Add | Shift-A |
| move, rotate, scale | Object > Transform | G, R, S |
| lock an axis, type an amount | while moving | X, Y, Z, a number |
| object or edit mode | the mode menu, top left | Tab |
| find a command by name | Edit > Menu Search | F3 |
| change what you just did | Edit > Adjust Last Operation | F9 |
| toolbar, sidebar | View | T, N |
| hide, show all again | Object > Show/Hide | H, Alt-H |
| wireframe, solid, rendered | Viewport Shading, top right | Z |
| undo, redo | Edit | Ctrl-Z, Shift-Ctrl-Z |
so S 2 Return doubles an object’s size, and G Z 1 Return lifts it one unit.4 Ctrl with a view key gives the opposite side: Ctrl-Numpad 1 is the back.5
- no numpad or no middle button: Edit > Preferences > Input. Emulate Numpad makes the number row act as the numpad, and Emulate 3 Button Mouse turns
Altwith the left button into the middle one.6 - on a mac,
Cmdworks in place ofCtrlfor most of these.3 - a new scene measures in meters, one unit to a meter, and gltf uses meters too, so a 2 m door arrives 2 m tall.7,8
modeling
a mesh is vertices, the edges between them, and the faces that fill them in. most modeling is a few moves, repeated: pull a face out, inset it, cut a loop around it, bevel an edge.9 modifiers like subdivision or decimate change the shape without touching the mesh, until you apply them.10
| action | where, in edit mode | keys |
|---|---|---|
| vertex, edge or face select | the header, by the mode menu | 1, 2, 3 |
| select a loop | Select > Select Loops | Alt-click |
| select what’s connected | Select > Select Linked | Ctrl-L, L |
| extrude | Mesh > Extrude | E, Alt-E |
| inset a face | Face > Inset Faces | I |
| cut a loop | Edge > Loop Cut and Slide | Ctrl-R |
| bevel edges | Edge > Bevel Edges | Ctrl-B |
| cut by hand | Mesh > Knife Topology Tool | K |
| merge vertices | Mesh > Merge | M |
| fill in an edge or a face | Vertex > New Edge/Face from Vertices | F |
| split off the selection | Mesh > Separate | P |
| point normals outward | Mesh > Normals > Recalculate Outside | Shift-N |
| join objects (object mode) | Object > Join | Ctrl-J |
| add subdivision (object mode) | Add Modifier > Generate | Ctrl-1 to Ctrl-5 |
| smooth by angle (object mode) | Object > Shade Auto Smooth | |
| apply scale (object mode) | Object > Apply > Scale | Ctrl-A |
L does the same for the part under the mouse, without selecting it first. E extrudes the selection and moves it. Alt-E opens a menu of other ways to extrude.9
- scaling in object mode puts the scale on the object, not on the mesh, and modifiers, constraints and parenting all read it. apply it with
Ctrl-A> Scale before you rig: the manual says to apply transforms before rigging and animation.11 - Face Orientation, in the viewport’s Overlays menu, paints the back of every face red. red on the outside of a model is a face turned inside out, and
Shift-Nturns them all outward.12,13 - model in quads if you like: the gltf exporter turns every face into triangles. so the count a game cares about is triangles, and the Statistics overlay shows it.14,12
uv unwrap
a uv map lays the surface flat on the texture, so every point of the model knows where in the image to read its color. u is the image’s x, v its y. you mark seams where the surface may be cut, then unwrap, and the pieces land in the uv editor as islands. more seams stretch the texture less, but each one is a visible join, so use as few as you can and hide them where nobody looks.15
every face lies flat as a whole square, so the checker stays square on the model.
a cube with a checker texture beside its uv map, with a button for each of four seam layouts. with no seams the map is projected straight down from the top: the top and bottom cover the whole square, and the four sides squash into lines on its border, so their texture smears into stripes. with 7 seams the cube unfolds into a cross: one island, and 14 vertices on the gpu with smooth shading. 9 seams make a band of four sides and two lids: three islands, 18 vertices. 12 seams cut every edge: six islands, 24 vertices. the seams are amber, dashed where they run along the hidden back of the cube, and the front face is cyan on the cube and in the map, so you can find it.
| action | where | keys |
|---|---|---|
| see the model and its map | UV Editing workspace | |
| mark or clear a seam | Edge > Mark Seam, Clear Seam | Ctrl-E |
| unwrap along the seams | UV > Unwrap Angle Based | U |
| unwrap by face angle | UV > Smart UV Project | U |
| select an island | UV Editor: Select > Select Linked | Ctrl-L, L |
| pin a uv for the next unwrap | UV Editor: UV > Pin | P |
| pack the islands in | UV Editor: UV > Pack Islands | none |
| give islands one scale | UV Editor: UV > Average Islands Scale | none |
the U menu in the 3d viewport has every unwrap in it, and Mark Seam too.16 Smart UV Project cuts wherever faces meet at a sharp angle, so it needs no seams. the manual suggests it for mechanical objects and architecture, and Unwrap for organic shapes.16
- every seam splits vertices. the gpu keeps one vertex for each position, normal and uv together, so a corner on a seam goes in once for each place it lands in the map. the figure’s cube goes from 8 vertices to 14 with 7 seams, and to 24 with every edge cut. a hard, flat-shaded edge splits them the same way.14
- Pack Islands and Average Islands Scale have no key in the default keymap.
Ctrl-PandCtrl-Aonly work in the 2.7x keymap, so use the UV menu orF3.17
texturing
gltf materials are metal and rough pbr: a base color, metallic, roughness, a normal map, occlusion and emission.14 the exporter reads them off a Principled BSDF node, so build the material in the Shading workspace, with an Image Texture node for each image, wired into that node.18 color images are sRGB. images that hold data, like roughness or normals, are linear, which blender calls Non-Color.8,19
| gltf texture | how it’s wired | color space |
|---|---|---|
| base color | Image Texture → Base Color | sRGB |
| metallic, roughness | Separate Color: B → Metallic, G → Roughness | Non-Color |
| normal | Normal Map node, Tangent Space → Normal | Non-Color |
| occlusion | R → Occlusion on a glTF Material Output group | Non-Color |
| emission | Image Texture → Emission Color | sRGB |
wired this way, the exporter copies each image into the file as it is. wired another way, it may try to rebuild the image to fit, which is slower.14 core gltf holds png and jpeg images, and the exporter converts anything else.14,8
baking moves detail from a high-poly model into the maps of a low-poly one:20
- set the render engine to Cycles. the Bake panel is under Properties > Render.
- give the low-poly model a uv map, and in its material add an Image Texture node with a new image. leave that node selected: the active image node is what gets baked into.
- select the high-poly model, then the low-poly one last, so it’s active.
- in Render > Bake, set Bake Type to Normal, turn on Selected to Active, and press Bake. rays go from the low-poly surface inward to find the high-poly one.
- the new image is generated inside blender and has no file yet. save it from the image editor with Image > Save As,
Shift-Alt-S.
- a normal map left as sRGB shades wrong everywhere. set it to Non-Color on its Image Texture node.19
- gltf normal maps put +Y up in the green channel. that’s blender’s default, the OpenGL convention. a map made for directx has green pointing down, so flip its green channel before it ships.21,14
rigging + animation
an armature is an object made of bones. you parent the mesh to it, and every vertex follows the bones by its weights: how much each bone moves it. a vertex’s weights add up to 1, and blender’s armature modifier scales them to 1 for you if they don’t.22 gltf skins a vertex the same way: a weighted sum of what each bone does to it.8
the joint ring is half on each bone, so it lands halfway between where each would put it, and keeps 71% of its width.
a tube of nine rings on two bones, and a slider that turns the second bone from 0 to 180 degrees, starting at 90. the first three rings belong to the first bone and stay put, the last three belong to the second bone and turn with it, and the three around the joint are split 75/25, 50/50 and 25/75. each ring is drawn in its mix of cyan, the first bone, and amber, the second, with a strip of its weights below and the rest pose dashed behind. the ring at the joint, half on each bone, lands halfway between where each bone alone would put it, so it keeps cos(angle / 2) of its width: 87% at 60 degrees, 71% at 90, and nothing at 180.
| action | where | keys |
|---|---|---|
| add an armature | Add > Armature | Shift-A |
| grow a bone from its tip | edit mode: Armature > Extrude | E |
| add a loose bone | edit mode: Add > Single Bone | Shift-A |
| skin the mesh to the bones | Object > Parent > With Automatic Weights | Ctrl-P |
| pose the bones | pose mode, armature selected | Ctrl-Tab |
| paint weights | weight paint mode, mesh selected | Ctrl-Tab |
| make weights add up to 1 | Weights > Normalize All | |
| keep a few bones a vertex | Weights > Limit Total | |
| set a keyframe | Pose > Animation > Insert Keyframe | I |
| keep an action for export | Action Editor: Action > Stash Action |
to skin, select the mesh, then the armature last. automatic weights work out each bone’s pull from how far the vertices are from it, the manual’s “bone heat”, so pose the rig to check, and repaint where it bends wrong.23 with a mesh selected, Ctrl-Tab opens a pie of modes, Weight Paint among them. with an armature, it toggles pose mode.3
- linear skinning pinches a bent joint, as the figure shows. the armature modifier’s Preserve Volume fixes it inside blender,24 but gltf skinning is linear, so a viewer that follows the spec draws the pinch again.8
- the exporter writes 4 bone influences a vertex unless you change Bone Influences. the manual warns that viewers may show the model wrong with any count but 4 or 8, and the spec lets them read only the first 4.14,8 Weights > Limit Total trims each vertex to its strongest few, so blender shows what the engine will.22
- an action exports only when it’s the active one on its object or sits on an nla track. with several, like idle, walk and run, Stash or Push Down each one in the Action Editor, a mode of the Dope Sheet, or it stays behind.25
gltf / fbx export
gltf 2.0 is the khronos group’s format for sending 3d scenes to whatever draws them: a json scene description, with nodes, meshes, materials, skins and animations, plus binary buffers and png or jpeg images. a .gltf keeps those as separate files. a .glb packs all of it into one binary file.8 its axes differ from blender’s: +Y is up and a model’s front faces +Z, where blender has +Z up and a model facing the front view looks down -Y. the exporter turns the model as it writes it.8,26
a drawing of the same three directions in blender and in gltf, named from the model's point of view. blender, in cyan: up is +z, the front is -y, and the model's left is +x. gltf, in amber: up is +y, the front is +z, and the left is still +x. an arrow between them reads export.
the exporter is File > Export > glTF 2.0 (.glb/.gltf). its dialog groups most settings into Include, Transform, Data and Animation panels. the ones that matter, with their defaults in 5.2:27
| setting | default | what it does |
|---|---|---|
| Format | glTF Binary (.glb) | one file. glTF Separate: .gltf, .bin, images |
| Selected Objects | off | on: only the selection |
| +Y Up | on | blender’s z up becomes gltf’s y up |
| Apply Modifiers | off | on: bakes modifiers in, but drops shape keys |
| UVs, Normals | on | |
| Tangents | off | the viewer works them out |
| Materials | Export | Placeholder keeps the slots, not the textures |
| Bone Influences | 4 | the most bones that move one vertex |
| Animation Mode | Actions | active actions and the ones on nla tracks |
the same export as a script, for a build step that runs without the window. -b runs blender in the background, the arguments run in order, and --python-exit-code 1 makes a python error fail the command.28
# export.py. run it:
# blender -b crate.blend --python-exit-code 1 --python export.py
import bpy
bpy.ops.export_scene.gltf(
# "//" is the .blend's folder. the exporter won't expand it, so do it here
filepath=bpy.path.abspath("//crate.glb"),
export_format="GLB",
export_yup=True,
export_apply=True, # bake the modifiers in. shape keys don't survive it
export_animations=True,
)
to find the python behind a button that runs a command, hover it and press Ctrl-C.3 to re-export the same asset again and again, give its collection an exporter: Properties > Collection > Exporters, Add Exporter, then Export All.29
fbx is autodesk’s format, read by unity and unreal.30 its sdk is c++, and a file is binary or ascii. the sdk creates objects right-handed and y up, with the centimeter as its default unit.31 blender writes it from File > Export > FBX (.fbx), with these defaults:32
- Forward -Z and Up Y, the pair the manual gives for programs where y is up.
- Apply Modifiers on, and Smoothing at Normals Only.
- Add Leaf Bones on: an extra bone at the end of every chain. its tooltip says it’s for editing the armature from the exported file, so turn it off for a game.
- Scale 1.0, with Apply Unit on. the manual’s export page says 10, but the 5.2.3 source and the api docs say 1.0.
optimization (lods, draw calls)
a draw call is the cpu asking the gpu to draw one batch of triangles with one material. each has a cost of its own, so drawing two things costs more than drawing one, even when they look the same.33 in gltf a mesh is a list of primitives, each one draw call, and blender’s exporter makes one primitive per material slot.8,14 so a crate with three materials costs three draws, and a hundred loose rocks cost a hundred. join objects that share a material, Ctrl-J, and give them one texture between them. the three.js manual merges about 19,000 boxes into one mesh and goes from under 20 frames a second to 60.33
level of detail cuts the triangles instead: the same model at a few sizes, with a lighter one drawn the smaller it gets on screen. make the lighter ones with a Decimate modifier, whose Ratio is the share of triangles to keep.34 three.js picks a level by its distance from the camera.35 unreal picks by screen size, how much of the screen the model covers, and can work those sizes out for you.36
the sphere covers 35% of the view's height, so lod 1 draws it with 320 of the full mesh's 1,280 triangles.
a slider moves a 1 meter sphere from 1.5 to 80 meters from a camera with a 60 degree view, starting near 5 meters. on the left, the sphere as the camera sees it, shrinking with distance. on the right, the mesh drawn at that distance, at a fixed size so its triangles show. four levels: an icosphere of 1,280 triangles while the sphere covers at least half the view's height, out to 3.6 m; 320 triangles to 7 m; 80 to 17.3 m; and the bare 20-triangle icosahedron beyond. past 86.6 m, where it would cover under 2%, it would draw nothing. a bar under the drawings shows each level's range, with the one in use in cyan.
| action | where | keys |
|---|---|---|
| count triangles | Overlays > Statistics | |
| copy the model | Object > Duplicate Objects | Shift-D |
| make the copy lighter | Add Modifier > Generate > Decimate | |
| set the share it keeps | Decimate > Ratio | |
| join objects into one | Object > Join | Ctrl-J |
| copy, sharing the mesh | Object > Duplicate Linked | Alt-D |
| see a mesh’s materials | Properties > Material |
name the levels so code can find them, like rock_lod0 to rock_lod3: the exporter keeps object names. then, in three.js, with the figure’s switch distances:35,37
import * as THREE from 'three';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
const gltf = await new GLTFLoader().loadAsync('rock.glb');
const lod = new THREE.LOD();
// each level shows from its distance, in meters, out to the next one
[0, 3.6, 7, 17.3].forEach((distance, i) => {
lod.addLevel(gltf.scene.getObjectByName(`rock_lod${i}`), distance);
});
lod.addLevel(new THREE.Object3D(), 86.6); // empty: past 86.6 m, draw nothing
scene.add(lod); // the renderer picks the level every frame
- a level that pops in at the boundary flickers when the camera sits on it.
addLeveltakes a third number, the hysteresis: a share of the distance to wait before switching back.35 - three.js drops dots from node names, so blender’s
rock.001loads asrock001. names with no spaces, dots, colons, brackets or slashes come through as they are.37 - a hundred copies of one rock don’t need joining. make them with
Alt-D, so they share one mesh, and turn on GPU Instances in the exporter’s Data > Scene Graph panel. they’re written with EXT_mesh_gpu_instancing, and three.js loads them as one InstancedMesh, drawn in fewer calls. the option is off by default, the copies must all be children of one empty, and a second material may be dropped.14,27,38
sources
-
blender’s download page (opens in a new tab) on 28 october 2026: 5.2.3 lts, released 22 october 2026. the paths and keys come from the blender 5.2 lts manual (opens in a new tab), and the defaults from the source at the v5.2.3 tag (opens in a new tab), on blender’s official github mirror. ↩
-
workspaces (opens in a new tab) in the 5.2 manual: areas holding editors, the default Layout workspace, and the others added by default. ↩
-
the default keymap (opens in a new tab) in the 5.2 manual:
MMBto orbit,Shift-MMBto pan,Ctrl-MMBto zoom,Tabfor edit mode,Ctrl-Tabfor pose mode or the mode pie,F3,F9,HandAlt-H,TandN,I, undo and redo,Ctrl-Cover a button to copy its python, andCmdforCtrlon macos. Edit > Menu Search (opens in a new tab) and the rest of the Edit menu are on the topbar page, and Viewport Shading (opens in a new tab), with itsZpie, has its own. ↩ ↩2 ↩3 ↩4 -
numeric input (opens in a new tab), with its
S 2 Returnexample, and axis locking (opens in a new tab) in the 5.2 manual. ↩ -
viewpoint (opens in a new tab), perspective and orthographic (opens in a new tab), and navigation (opens in a new tab), for Frame Selected and the wheel, in the 5.2 manual. ↩
-
input preferences (opens in a new tab) in the 5.2 manual: Emulate Numpad, and Emulate 3 Button Mouse with
Altand the left button. ↩ -
scene.cc (opens in a new tab) at v5.2.3: a new scene is metric with a unit scale of 1. units (opens in a new tab) in the 5.2 manual explains the unit scale. ↩
-
the gltf 2.0 specification (opens in a new tab), at the khronos repo’s commit 1c84b58: what a
.gltf, its.binfiles and a.glbhold (lines 416 to 426); right-handed, +y up, the front facing +z and the left +x, and meters (lines 754 to 764); a mesh as primitives, each with its material, matching draw calls (lines 1589 to 1606); tangents worked out with mikktspace when they’re missing (line 1822); linear blend skinning, up to four joints to a set of weights that add up to 1, and clients free to read only one set (lines 2020 to 2091), with the weighted sum of joint matrices at line 2259; base color and emission in srgb, metallic and roughness in blue and green, and normals and occlusion linear (lines 2676, 2701, 2752, 2830 and 2848). ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 -
the 5.2 manual’s pages on selection modes (opens in a new tab), loops (opens in a new tab), linked (opens in a new tab), extrude region (opens in a new tab), extrude (opens in a new tab), inset (opens in a new tab), loop cut and slide (opens in a new tab), bevel (opens in a new tab), knife (opens in a new tab), merge (opens in a new tab), new edge/face (opens in a new tab), separate (opens in a new tab), join (opens in a new tab), shade auto smooth (opens in a new tab), and the subdivision surface modifier’s
Ctrl-1toCtrl-5(opens in a new tab), which the v5.2.3 keymap (opens in a new tab) sets for levels 0 to 5. ↩ ↩2 -
modifiers (opens in a new tab) in the 5.2 manual: they change the shape without touching the editable mesh, until applied, and Add Modifier in the Modifiers tab lists them by category. ↩
-
apply (opens in a new tab) in the 5.2 manual:
Ctrl-A, how transforms affect modifiers, constraints and parenting, and applying them before rigging and animation. ↩ -
viewport overlays (opens in a new tab) in the 5.2 manual: Face Orientation shows the back of a face in red, and Statistics counts vertices, faces and triangles. ↩ ↩2
-
editing normals (opens in a new tab) in the 5.2 manual: Recalculate Outside,
Shift-N. ↩ -
the gltf 2.0 add-on (opens in a new tab) in the 5.2 manual: faces become triangles, split uvs and flat-shaded edges add vertices, and gpu instances have limits (meshes); the metal and rough channels, metallic in B and roughness in G of one Non-Color image, the occlusion group, the tangent-space normal map with +Y up, emission, and png or jpeg only (materials); each material slot as one primitive (variants); which actions export (animations); and Bone Influences with its warning about counts other than 4 or 8 (export properties). the page still calls the channel splitter Separate RGB; in 5.2 it’s the Separate Color (opens in a new tab) node. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
-
seams (opens in a new tab) in the 5.2 manual:
Ctrl-Efor Mark Seam, fewer seams against less stretching, and hiding them. ↩ -
uv operators (opens in a new tab) and editing uvs (opens in a new tab) in the 5.2 manual: Unwrap, which suits organic shapes, Smart UV Project, which cuts at sharp edges and suits mechanical objects, Pin, Pack Islands, and Select Linked in the uv editor.
Lpicks the island under the mouse in the v5.2.3 keymap (opens in a new tab), and theUmenu’s contents are in space_view3d.py (opens in a new tab) at v5.2.3. ↩ ↩2 -
the v5.2.3 keymap (opens in a new tab) gives Pack Islands
Ctrl-Pand Average Islands ScaleCtrl-Aonly whenparams.legacyis set, which the 2.7x keymap (opens in a new tab) does. the menu’s name for the second is in uvedit_unwrap_ops.cc (opens in a new tab). ↩ -
the principled bsdf (opens in a new tab) in the 5.2 manual. its inputs are declared in node_shader_bsdf_principled.cc (opens in a new tab) at v5.2.3, where Emission Color shows as Color, in an Emission panel that starts closed. ↩
-
color spaces (opens in a new tab) in the 5.2 manual: normal and displacement maps hold data, not colors, and should be Non-Color. the image texture node (opens in a new tab) sets it. ↩ ↩2
-
render baking (opens in a new tab) in the 5.2 manual: a uv map and an active Image Texture node as the target, Render > Bake, the Normal bake type, and Selected to Active casting from the low-poly model inward. image editing (opens in a new tab) has Image > Save As,
Shift-Alt-S. ↩ -
the normal map node (opens in a new tab) in the 5.2 manual: Tangent Space, Non-Color, and blender’s default OpenGL convention, green pointing up, against directx’s, green pointing down. ↩
-
weight painting (opens in a new tab) in the 5.2 manual:
Ctrl-Tabto the mode, and deforming weights adding up to 1, which the armature modifier does on its own. editing weights (opens in a new tab): Normalize All, and Limit Total, which drops the lowest weights first. ↩ ↩2 -
armature deform parent (opens in a new tab) in the 5.2 manual: select the mesh, then the armature,
Ctrl-P, With Automatic Weights and its bone heat, and fixing weights by hand. bones come from the armature introduction (opens in a new tab), adding bones (opens in a new tab) and extrude (opens in a new tab). ↩ -
the armature modifier (opens in a new tab) in the 5.2 manual: without Preserve Volume, joints shrink as they turn, to nearly nothing at 180 degrees. ↩
-
animations (opens in a new tab) on the gltf add-on’s page: in Actions mode, an action exports if it’s active or stashed on an nla track. the action editor (opens in a new tab) has Push Down Action and Stash Action, and keyframes (opens in a new tab) have
I. ↩ -
gltf2_blender_math.py (opens in a new tab) at v5.2.3: with +Y Up, a location (x, y, z) is written as (x, z, -y). ↩
-
the exporter’s
__init__.py(opens in a new tab) at v5.2.3: the formats, glb first (lines 139 to 157 (opens in a new tab)), uvs and normals on, tangents off, materials Export (lines 424 to 536 (opens in a new tab)), selected objects off, +Y Up on, Apply Modifiers off and its warning about shape keys (lines 618 to 684 (opens in a new tab)), animation mode Actions (lines 734 to 751 (opens in a new tab)), 4 bone influences (lines 926 to 931 (opens in a new tab)), GPU Instances off, for children of one empty (lines 991 to 996 (opens in a new tab)), and the menu’s label (line 1899 (opens in a new tab)). the gltf add-on’s page (opens in a new tab) names the panels. ↩ ↩2 -
command line arguments (opens in a new tab) in the 5.2 manual:
-b,--python,--python-exit-code, and arguments running in order.bpy.path.abspath(opens in a new tab) turns//into the .blend’s folder, andexport_scene.gltf(opens in a new tab) lists every option. the exporter writes to the path it’s given as it is, at line 1152 (opens in a new tab) of its__init__.py. ↩ -
collections (opens in a new tab) in the 5.2 manual: an exporter per collection, Export All, and File > Export All Collections. ↩
-
fbx (opens in a new tab) in the 5.2 manual: the format, and the programs and engines that read it. ↩
-
autodesk’s fbx sdk 2020 help: the fbx sdk (opens in a new tab), a c++ sdk; what fbx is (opens in a new tab), binary or ascii files; and axis and unit conversion (opens in a new tab): objects are made in a right-handed, y-up system, and the implicit unit is the centimeter. ↩
-
the fbx exporter’s
__init__.py(opens in a new tab) at v5.2.3: -Z forward and Y up (line 311 (opens in a new tab)), a scale of 1.0 with Apply Unit on (lines 344 to 358 (opens in a new tab)), Apply Modifiers on and Smoothing at Normals Only (lines 403 to 423 (opens in a new tab)), and Add Leaf Bones on, with its tooltip (lines 467 to 471 (opens in a new tab)). the api docs (opens in a new tab) also giveglobal_scale = 1.0. the manual’s export page (opens in a new tab) says the scale defaults to 10, and gives -Z forward and Y up for programs where y is up. ↩ -
optimizing lots of objects (opens in a new tab) in the three.js manual: every mesh is at least one request to draw, around 19,000 boxes run under 20 frames a second on the author’s machine, and merged into one geometry they run at 60. ↩ ↩2
-
the decimate modifier (opens in a new tab) in the 5.2 manual: Ratio is the share of faces kept, counted in triangles. ↩
-
LOD.js (opens in a new tab) at r186:
addLevel(object, distance, hysteresis), where a level shows from its distance out, and the hysteresis is a share of the distance.update()(opens in a new tab) picks the level by the camera’s distance, and the renderer calls it every frame whileautoUpdate(opens in a new tab) is on, as it starts. ↩ ↩2 ↩3 -
static mesh automatic lod generation (opens in a new tab) in the unreal engine 5.8 docs: levels switch by screen size, and Auto Compute LOD Distances works the screen sizes out. ↩
-
blender’s exporter names each gltf node after its object, in nodes.py (opens in a new tab) at v5.2.3. three’s GLTFLoader.js (opens in a new tab) at r186 runs every node name through
sanitizeNodeName(opens in a new tab), which turns spaces into underscores and drops[,],.,:and/. ↩ ↩2 -
duplicate linked (opens in a new tab) in the 5.2 manual: the copy’s data stays linked to the original’s. three’s GLTFLoader.js (opens in a new tab) at r186 turns EXT_mesh_gpu_instancing into an InstancedMesh (opens in a new tab): many objects with one geometry and material, in fewer draw calls. ↩