journal (Mon Sep 07 2020)

Today I learnt

  • #threejs

  • Notion of a material - the surface quality of a mesh.
  • Rendering mode - wireframe - lets you visualize a mesh
  • MeshBasicMaterial, MeshNormalMaterial, MeshStandardMaterial(shading/shadows/scene - more like real life, also flatshaded, smoothshaded).
  • You can create your own Geometry
  • mesh = geometry + material
  • A single geometry instance can be used to create multiple mesh instances.
  • PerspectiveCamera - 2 vanishing points - just like the real world.
  • Orthographic camera - no vanishing points.
  • Webgl renders in a HTML 5 canvas node