Skip to content

SorasitWang/pbrt-render-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Term project from Realtime Computer Graphics and Physics Simulation 2110514 (2022/1)

Thanks for helpful free asset

Leaf model and textures : https://www.cgtrader.com/free-3d-models/plant/leaf/dead-leaf

Sand textures : https://3dtextures.me/2020/02/14/sand-005/

Bark textures : https://3dtextures.me/2021/05/05/bark-006-2/

Bamboo textures : https://www.filterforge.com/filters/12411.html

Relavant Paper&Resource

Code Files

  • animate.py => Animate fluid simulation from density grid value.
  • density.py => Calculate density value for vexel by distance function + AABB.
  • grammar.py => l-system parser, see Python l-system.
  • pbrtGen.py => Convert position and object into pbrt file sturcture.
  • hair.py => Generate hair position (for each particle).
  • plot.py => Plot l-system for debugging, see Python l-system.
  • tree.py => Create tree, see Python l-system.
  • fluid.cpp => Generate density grid.

Report

finalproject_report.pdf (Thai)

Presentation

https://youtu.be/yrDMuLmWuVs (Thai)

Result

final

About

pbrt personal project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages