Ray Bilinear Patch Intersections

Shaun D. Ramsey Kristin Potter Charles Hansen
University of Utah University of Utah University of Utah
Salt Lake City, UT Salt Lake City, UT Salt Lake City, UT
email: ramsey( )cs.utah.edu email: kpotter( )cs.utah.edu email: hansen( )cs.utah.edu

JGT Volume 9, No. 3, pages TBA
Received October 28, 2003; accepted in revised form January 31,2004.

Abstract

Ray tracing and other techniques employ algorithms which require the intersection between a 3D parametric ray and an object to be computed. The object to intersect is typically a sphere, triangle, or polygon but many surface types are possible. In this work we consider intersections between rays and the simplest parametric surface, the bilinear patch. Unlike other surfaces, solving the ray-bilinear patch intersection with simple algebraic manipulations fails. We present a complete and graceful formulation to solve ray-bilinear patch intersections quickly.

  • Full Paper in pdf: Ray Bilinear Patch Intersections
  • Grab all the src files at bilinear.zip

  • Individual files are below:
  • a simple math test main.cc
  • bilinear source header: bilinear.h
  • bilinear source cc: bilinear.cc
  • a vector class implementation: Vector.h
  • some source is here: Vector.cc
  • The ray bilinear patch intersection software is "Open Source" according to the MIT License located at: http://www.opensource.org/licenses/mit-license.php

    Copyright (c) 2003, 2004 Shaun David Ramsey, Kristin Potter, Charles Hansen
    
    Permission is hereby granted, free of charge, to any person obtaining a 
    copy of this software and associated documentation files (the "Software"), 
    to deal in the Software without restriction, including without limitation 
    the rights to use, copy, modify, merge, publish, distribute, sublicense, 
    and/or sell copies of the Software, and to permit persons to whom the 
    Software is furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in 
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
    DEALINGS IN THE SOFTWARE.