Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: transforming planes

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000

    transforming planes

    My final purpose is to compute the distance of a point from a plane. The problem is that I have to transform the plane coefficient with the modelview matrix, so I thought I had to use the inverse transpose to compute the transformed normal but that is really cpu expensive. Is there another way to achieve the same result?

  2. #2

    Re: transforming planes

    I assume you want to transform your clipping planes into object space in order to perform clipping in object space? If so, I think there is no other way around it. You could do the clipping in view space but then again, you would have to transform all the vertices into view space first. But it's still faster to do culling in object space and transform only visible vertices than transform all vertices into view space. And of course bounding boxes or spheres speed things up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts