mattboran / CudaRT

Photorealistic CPU or GPU (NVidia only) rendering engine written in C++/CUDA.
3 stars 0 forks source link

Refactor Camera struct #33

Closed mattboran closed 5 years ago

mattboran commented 5 years ago

Due to some discrepancies and a series of hacks that wound up in the Camera code, I think a solid understanding of the steps to create a camera ray are in order.

We should start with rays produced in camera space and then transform them to the world. This will require some refactoring of the plugin and a fundamental difference in how the Camera class works which I just don't want to do yet.

mattboran commented 5 years ago

Closing because feature/15/materials contains some fixes to the camera that make it work in most situations. We can re-open in the case of EnvironmentCamera