CAD objects are geometrical descriptions of physical scenes from the real world. Ray tracing is used to project the objects onto a pixel screen. A lit and a shadow zone are formed according to the direction of the incoming field (light) and the orientation of the pixel screen. The arc length along the surface of the object, from the shadow boundary to a point in the lit zone, is computed by means of numerical integration. The arclengths corresponding to two orthogonal directions that are aligned with the pixels on the pixel screen are computed and used for interpolation to obtain the arc length for all directions. A number of simulations for various CAD geometries are made using a ray-tracer implemented in FORTRAN 90.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:lnu-23039 |
Date | January 2012 |
Creators | Amoateng, Eric |
Publisher | Linnéuniversitetet, Institutionen för datavetenskap, fysik och matematik, DFM |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0019 seconds