lec39 - BSP Trees Binary space partitioning trees Used to...

Info icon This preview shows pages 1–19. Sign up to view the full content.

View Full Document Right Arrow Icon
BSP Trees Binary space partitioning trees. Used to store a collection of objects in n- dimensional space. Tree recursively divides n-dimensional space using (n-1)-dimensional hyperplanes.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Space Partitioning n-dimensional space splitting hyperplane (n-1)-dimensional a 1 x 1 + a 2 x 2 + … a n x n + a n+1 = 0 ax + by + c = 0 (2D) ax+by+cz+d = 0 (3D)
Image of page 2
Space Partitioning n-dimensional space +ve half space ax + by + c > 0 ax+by+cz+d > 0 -ve half space ax + by + c < 0 ax+by+cz+d < 0 coincident ax + by + c = 0 ax+by+cz+d = 0
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Classifying Object z In 2D, ph is the line ax + by + c = 0. Compute ax + by + c for all vertices of z . If all values are = 0; z is coincident to ph . If all values are <= 0; z is left of ph . If all values are >= 0; z is right of ph . Otherwise, z spans ph and is to be split by finding intersection points with ph .
Image of page 4
2D a b c d g e f h Equation of ph is x – 6 = 0 6
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2D a b c d g e f h Equation of ph is y –x – 2 = 0 2
Image of page 6
3D x z y Equation of ph is z – 2 = 0 General: ax + by + cz + d = 0
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Space Partitioning n-dimensional space -ve +ve -ve +ve coincident list
Image of page 8
Objects in 2D a b c d g e f h
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Objects in 2D a b c d g e f h
Image of page 10
Objects in 2D a b c d g e f h a-d e-h
Image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Objects in 2D a b c d g e f h a-d e-h
Image of page 12
Objects in 2D a b c d g e f h a-b e-f c-d g-h
Image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Objects in 2D a b c d g e f h a bc d e f g h
Image of page 14
Collision Detection a b c d g e f h a bc d e f g h
Image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Visibility Ordering a b c d g e f h a bc d e f g h
Image of page 16
BSP Tree Construction Select partitioning hyperplanes. Partition objects. Repeat on partitions.
Image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Partitioning Hyperplane Selection Face of an object.
Image of page 18
Image of page 19
This is the end of the preview. Sign up to access the rest of the 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