{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 12 - Spline surfaces (slides)

May be multiple intersections between the ray and the

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ationcostlybe costly ! Hence no closed form solution exists for a ray patch intersection Graphics Lecture 12: Slide 23! 23 / 35 Rendering a patch: Ray tracing " •  Numerical Ray-Patch algorithm ! ! 1.  Polygonise the patch at a low resolution (say 4 x 4) ! 2.  Calculate the ray intersection with the 32 triangles and find the nearest intersection. ! 3.  Polygonise the immediate area of the intersection and calculate a better estimate of the intersection ! 4.  Continue until the best estimate is found ! Graphics Lecture 12: Slide 24! Rendering a patch: Ray tracing " •  Numerical Ray-Patch algorithm! –  May be multiple intersections between the ray and the surface ! –  Algorithm will find an intersection, but not necessarily the nearest. !   If the object is relatively smooth it should work well in most cases. ! –  Note that it will be necessary to do a ray intersection with each patch of the object to find the nearest intersection. ! Graphics Lecture 12: Slide 25! Example of Using a Coons Patch Example of Using a Coons Patch " •  Part of a terrain map defined on a regular x-y grid is as follows: ! Part of a terrain map defined on a regular xy grid is as follows: x, µ # 7 8 9 10 11 2 · · · · · y, ⌫ ! 3 4 5 · · · · 10 9 14 12 11 15 13 14 · 10 11 6 · · 10 10 · 7 · · · · · • the Coons patch patch on the centre four Find  Find the Coons on the centre four points points ! ! Graphics Lecture 12: Slide 26! Corners Corners Corners " •  The corners at µ, ν = 0, 1 are defined directly in the The corners at µ, ,⌫⌫ = 00,11are defined directly in the question: The question: ! corners at µ = , are defined directly in the question: P(0, ,0) = (9, ,44,12) P(0 0) = (9 , 12) P(0, ,1) = (9, ,55,11) P(0 1) = (9 , 11) 77 88 x, ,µ x µ 99 ## 10 10 11 11 Graphics Lecture 12: Slide 27! 22 ·· ·· ·· ·· ·· P(1,,0) = (10,,44,13) P(1 0) = (10 , 13) P(1,,1) = (10,,55,14) P(1 1) = (10 , 14) yy ,⌫⌫ ! , ! 33 44 ·· ·· · · 10 10 14 12 14 12 15 13 15 13 · · 10 10 55 66 77 ·· ·· ··...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern