3D Fundamentals Tutorial 15

From Chilipedia
Revision as of 21:21, 12 May 2018 by Chili (Talk | contribs) (Created page with "Flat shading is cool and all, but chili likes it smooth. So we're gonna learn how to shade our shit so smooth, it be like a motherfuckin baby's bottom. Which is to say, very s...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Flat shading is cool and all, but chili likes it smooth. So we're gonna learn how to shade our shit so smooth, it be like a motherfuckin baby's bottom. Which is to say, very smooth indeed. And trust me, I know. I've touched a lot of baby bottoms in my day. Does that concern you? Well it motherfucking should. Anyways, we also generate some procedural geometry (sphere) and load a mesh from .obj with vertex normals.

Topics

  • Procedural sphere generation (with normals)
  • Gouraud (per vertex) smooth shading
  • Loading meshes with per-vertex normal information using SHITTY FUCKING TINYOBJ FUCK THAT LIBRARY

Video

The tutorial video is on YouTube here.

Downloads

The GitHub repository for the tutorial code is here.

See also