![]() |
PhotoGENius V1.0.0
A basic library for generating photorealistic images, developed for the course Numerical techniques for photorealistic image generation.
|
Interface for a generic 3D shape: the method RayIntersection is implemented in different concrete shapes. More...
Public Member Functions | |
virtual ? HitRecord | RayIntersection (Ray ray) |
Compute the intersection between a ray and a shape More... | |
virtual bool | QuickRayIntersection (Ray ray) |
Determine whether a ray hits the shape or not More... | |
Public Attributes | |
Transformation | Transf |
Material | Material |
Interface for a generic 3D shape: the method RayIntersection is implemented in different concrete shapes.
|
virtual |
Determine whether a ray hits the shape or not
ray |
NotImplementedException |
Reimplemented in PGENLib.Sphere, PGENLib.XyPlane, and PGENLib.Cylinder.
Compute the intersection between a ray and a shape
ray |
NotImplementedException |
Reimplemented in PGENLib.Sphere, PGENLib.XyPlane, and PGENLib.Cylinder.