Results 1 to 2 of 2

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

  1. #1
    Member 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
    Member 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.

Similar Threads

  1. triangle rotation/movement
    By duesentrieb66 in forum OpenGL: General
    Replies: 2
    Last Post: 03-24-2018, 02:46 PM
  2. triangle rotation - is my logic correct?
    By jacksmash in forum OpenGL: General
    Replies: 1
    Last Post: 05-05-2010, 02:22 PM
  3. problem with triangle strip rotation
    By Piotrek Janisz in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-27-2008, 02:30 AM
  4. Problem with basic triangle rotation
    By ukdeveloper in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-16-2005, 12:03 AM
  5. Getting back to previous coordinate for rotation
    By m3the01 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-06-2005, 05:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean