mikejsavage.co.uk
•
About
•
Archive
•
RSS
•
Thanks for blocking ads!
Blocking ads owns:
AdGuard
uBlock Origin
27 Dec 2017 • Mesh generation checklist
This post contains a comprehensive checklist documenting all the steps
you need to go through to generate meshes in code for use in any kind of
real time or offline renderer.
- Kind of guess what the code should look like. Get it wrong.
- Guess again. Still wrong.
- Draw for a bit.
- Make a more informed guess. Still wrong.
- Realise you were drawing the wrong thing. Draw some more.
- Try again. It looks pretty good, but there are some random stray
triangles and/or missing triangles.
- Comb the code for ages to find the off by ones. This step often
involves drawing.
- Vow to never touch the code again.
- At some point in the future, notice more random stray triangles
and/or holes.
- Comb the code for ages to find the off by ones.
- Vow to never touch the code again.