University of Pennsylvania, CIS 565: GPU Programming and Architecture, Project 5
- Zhuohao Lin
- Tested on: Windows 10, i7-10875H @ 2.30GHz 16GB, NVIDIA Grforce RTX 2060 6GB (personal machine)
This project implements real-time grass rendering based on a paper about responsive real-time rendering for general 3D scenes
.
I apply recovery, gravity and wind forces on the grass in this project. The comparison between using forces and not using forces is shown below.
Without Forces | With Forces |
---|---|
By culling grass based on orientation, view frustrum and distance, the program gets quite obvious FPS improvement.
The FPS drops as the number of grass blades increases. This is expected since there are more data needs to be computed with more grass blades.
All of the data below are derived under 640 x 480 resolution with 213 grass blades.
As we can see, all of culling methods contribute decent amount of performance improvements, especially for the orientation culling. This is simply because I set the threshold for culling low.