Главная страница


ru.algorithms

 
 - RU.ALGORITHMS ----------------------------------------------------------------
 From : Ianos Gnatiuc                        2:469/303.55   28 Jul 2002  11:46:09
 To : Oleg Sysoev
 Subject : Re: Повоpот в 3d
 -------------------------------------------------------------------------------- 
 
 25 Jul 02 20:42, you wrote to all:
 
  OS>  Hо это в 2d. А как быть, если точка pасположена в 3d?
  OS>  Большая пpосьба поделиться со мной соответствyющей
  OS> литеpатypой/линком, либо готовым алгоpитмом. Очень хотелось бы
  OS> полyчить фyнкцию со входными паpаметpами, как glRotatef в opengl.
 Харошаю литераруру по субжу можна наити в DirectX 5 SDK из MSDN
 Library Visual Studio 6.0 а также покапаися в samples из MSVS. Если
 есть возможность наиди DirectX 8 SDK. Там очень хорошии доки и
 дастатачно много samples...
 Зта из MSDN:
 
 .....................
 
 Rotation.
 The transformations described in this section are for left-handed
 coordinate systems, and so they may be different from transformation
 matrices you have seen elsewhere. The following transformation
 rotates the point (x, y, z) around the x-axis, producing a new point
 (x1,y1,z1):
 
                          [ 1,   0,   0,  0]
                          [ 0,  cos, sin, 0]
 [x1,y1,z1,1] = [x,y,z,1] [ 0, -sin, cos, 0]
                          [ 0,   0,   0,  1]
 
 The following transformation rotates the point around the y-axis:
 
                          [cos, 0, -sin, 0]
                          [ 0,  1,   0,  0]
 [x1,y1,z1,1] = [x,y,z,1] [sin, 0,  cos, 0]
                          [ 0,  0,   0,  1]
 
 The following transformation rotates the point around the z-axis:
 
                          [ cos, sin, 0, 0]
                          [-sin, cos, 0, 0]
 [x1,y1,z1,1] = [x,y,z,1] [  0,   0,  1  0]
                          [  0,   0,  0, 1]
 Angles are measured clockwise when looking along the rotation axis
 toward the origin.
 Ianos
 
 +++ SS Ianky          mailto: ssianky(at)<hotmail | yahoo>.com
 --- GoldED+/W32 1.1.4.7
  * Origin: SS Ianky - (373-2) 534966 (2:469/303.55)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Повоpот в 3d   Oleg Sysoev   25 Jul 2002 20:42:02 
 Re: Повоpот в 3d   Ianos Gnatiuc   28 Jul 2002 11:46:09 
 Повоpот в 3d   Victor A. Pavlov   31 Jul 2002 09:58:22 
 Re: Повоpот в 3d   Ianos Gnatiuc   01 Aug 2002 15:18:04 
 Повоpот в 3d   Victor A. Pavlov   02 Aug 2002 11:25:02 
 Повоpот в 3d   Eugene Goncharuk   03 Aug 2002 22:04:26 
 Повоpот в 3d   Eugene Goncharuk   13 Aug 2002 10:32:48 
 Повоpот в 3d   Oleg Sysoev   11 Aug 2002 22:57:35 
 Повоpот в 3d   Victor A. Pavlov   12 Aug 2002 10:17:46 
 Повоpот в 3d   Eugene Goncharuk   17 Aug 2002 12:44:40 
 Re: Повоpот в 3d   Max Alekseyev   18 Aug 2002 03:36:42 
Архивное /ru.algorithms/160963d43aff5.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional