|
c65c6a3cfd
|
Use shared_ptr for Scene::mCamera
Makes memory management a bit easier...
|
2014-07-20 12:37:31 -07:00 |
|
|
c564791d1a
|
Camera doesn't inherit from Object; defines its own origin.
|
2014-07-20 12:37:04 -07:00 |
|
|
709453adcb
|
Fix a comment about Camera::mUp
|
2014-07-20 12:19:59 -07:00 |
|
|
6f04526d36
|
Default and copy constructors for Perspective and Orthographic cameras
|
2014-07-19 20:56:47 -07:00 |
|
|
b85a6aed7b
|
Bit more clean up of cameras
|
2014-07-19 17:24:52 -07:00 |
|
|
daf5c7d8a6
|
Clean up camera module
|
2014-07-19 16:30:26 -07:00 |
|
|
899064ce42
|
Add a perspective camera
Finally! :D Verified (mostly) and carefully thought through by looking at the
Pov-Ray code and doing the linear algebra by hand. Fun times.
|
2014-07-16 23:31:39 -07:00 |
|
|
0e1106aa41
|
Update the call signature of compute_primary_ray
It takes the current X and Y coordinates and the height and width of the image.
|
2014-07-16 23:29:54 -07:00 |
|
|
05327fbe7a
|
Missed a few things when I…
- Removed the (viewing) angle member
- Added Up and Right vectors
|
2014-07-16 23:29:01 -07:00 |
|
|
8336753bcf
|
Remove pixel dimensions from camera
The scene computes those and gives them to the camera for each ray
|
2014-07-16 23:24:32 -07:00 |
|
|
f6e92f2571
|
Fix compiler errors in camera module
|
2013-09-20 09:21:25 -07:00 |
|
|
746731398a
|
Accessors for Camera attributes
|
2013-09-20 09:10:56 -07:00 |
|
|
764afab8ac
|
Camera stuff -- empty implementations of compute_primary_ray
|
2013-09-20 09:10:56 -07:00 |
|
|
87b3ca0efc
|
Add camera module
|
2013-09-06 19:00:40 -07:00 |
|