|
OverviewThe goal of this lab was to study ray tracing implicit surfaces and to implement them in pbrt. We first implement ellipsoids as a new type of shape in pbrt and then implemented peg-blending on ellipsoids. The work here implemented the paper Guaranteed ray intersections with implicit surfaces by Kalra and Barr.A two sentence summary (not a very good one either) of the paper: The authors use an octree to subdivide the bounding box of the implicit surface. Next, given parameters L,G for a particular implcit function (which given bounds on the function and its gradient's continuity), it is able to guarantee intersections which it finds by searching in the octree. ResultsFirst I show a pbrt scene which uses my ellipsoid shape class:
And finally I show a scene where I've done peg blending with a flat ellipsoid as a base:
|