This is my practice related to AI & Computer Graphics. This repository is for educational purposes only.
Also I always wanted to make a tutorial/blog about computer graphics and hope this material will be complimentary for those who use slangpy.
Requirements:
- Python >= 3.9
Follow these steps in following order:
- git clone https://github.com/wh1t3lord/ai.git
- pip install requirements.txt
- now choose demo and run using main.py files that store in each top level subfolders (cg_raster; cg_rtx; cg_neural)
This chapter contains different demos that are ordered
- Flow-matching
This chapter contains implementation of path tracing following "Physically Based Rendering: From Theory to Implementation"
- Path tracer
This chapter contains only one file that accumulates all below demos in one app (.py file)
- Super trivial shading
- Loading GLTF model with phong lighting
- Skybox
- Normal mapping
- Bump mapping
- Bump paralax mapping
- Terrain rendering from heightmap
- Shadowmapping
- Instancing
- Discrete geometry lods
- Geomorphing
- HLOD
- PBR
- Lightmapping
- Irradiance volumes
- Voxel cone tracing
- Area lights
- OIT
- Atmospheric scattering
- RESTIR
- OpenPBR material system
- Neural shading
- Discord: @wh1t3lord
- Twitter: @wh1t3lord