Computer Graphics
search
⌘Ctrlk
Computer Graphics
  • Computer Graphics for Games
  • hand-wave5CM507 Graphics 2025/26
    • Module
    • Schedule
    • Assessments
    • Lectures B (Spring 2026)
    • Labs A (Autumn 2025)
      • LabA01 Hello OpenGL
      • LabA02 Shaders and Transforms
      • LabA 03 Meshes and Scene Graphs
      • Lab A04 View and Projection
      • Lab A05 Let There Be Light
      • Lab A06 GGX Lighting with GenAI
      • Lab A07 Texture Mapping
        • Add Texture Support to Mesh
        • Load Mesh Texture
          • Install stb_image.h
          • Load and Bind Texture
        • Update Mesh::initBuffer()
        • Use Texture in Shaders
        • Revise Mesh::draw()
        • Load the Bunny in main()
      • Lab A08 Normal Mapping
      • LabA09 Shadow Maps
      • LabA10 Image Space Effects : Bloom
      • LabA11 Picking and Collision Detection
      • Notes for Improvements
    • Labs B (Spring 2026)
    • Resources
    • People
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. hand-wave5CM507 Graphics 2025/26chevron-right
  2. Labs A (Autumn 2025)chevron-right
  3. Lab A07 Texture Mapping

Load Mesh Texture

Install stb_image.hchevron-rightLoad and Bind Texturechevron-right
PreviousMesh::loadModel()chevron-leftNextInstall stb_image.hchevron-right

Last updated 5 months ago