Computer Graphics
Ctrlk
  • 5CM507 Graphics 2025/26
    • Module
    • Schedule
    • Assessments
    • 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
    • Resources
    • People
Powered by GitBook
On this page
  1. 5CM507 Graphics 2025/26
  2. Labs A (Autumn 2025)
  3. Lab A07 Texture Mapping

Load Mesh Texture

Install stb_image.hLoad and Bind Texture
PreviousMesh::loadModel()NextInstall stb_image.h

Last updated 1 month ago