Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Getting triangle's 3d coordinate after rotation..

  1. #1
    Intern Newbie
    Join Date
    Apr 2009
    Posts
    30

    Getting triangle's 3d coordinate after rotation..

    Hi,

    I've got two triangles whose coordinates are known to me before I do a series of rotations and translations.

    I need to find the distance between these two triangles and I'm curious as to whether OpenGL provides an easy way to do that.

    If not, is there a good tutorial where I can refresh my memory on how to do 3D rotation in matrix math?

    Thanks.

  2. #2
    Intern Newbie
    Join Date
    Apr 2009
    Posts
    30

    Re: Getting triangle's 3d coordinate after rotation..

    By the way, I'm using one series of rotations & translations for one triangle, and another set of rotations & translations for the other.

    But I need the distance between the two AFTER they're rotated & translated.

    Thanks for any help.

Posting Permissions

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