![]() |
|
Модераторы: Rickert |
![]()
|
|
||
|
|
| Ryoga |
|
|||
|
Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 262 Регистрация: 20.9.2005 Репутация: 3 Всего: 6 |
Direct3D
|
|||
|
||||
| Maniac |
|
|||
![]() Новичок Профиль Группа: Участник Сообщений: 42 Регистрация: 27.2.2006 Репутация: 1 Всего: 1 |
Аналогично, DirectX (хотя бы потому, что есть множество матаематических функций типа пересечение луча с mesh объектом)
|
|||
|
||||
| Helicopterr |
|
|||
|
Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 355 Регистрация: 20.8.2005 Где: Stavropol Репутация: нет Всего: 3 |
Что за ф-ция? Только с параметрами если можно. Это сообщение отредактировал(а) Helicopterr - 20.4.2006, 23:10 -------------------- people can fly |
|||
|
||||
| Goliath |
|
|||
|
Бывалый ![]() Профиль Группа: Участник Сообщений: 246 Регистрация: 1.3.2005 Репутация: 1 Всего: 5 |
Многие производители компьютерных игр (Valve, Atari, Sega и т.д) выбирают OpenGL. Я думаю спорете с выбором этих монстров просто нет cмысла
Это сообщение отредактировал(а) Goliath - 21.4.2006, 01:40 --------------------
Наша жизнь растрачивается на мелочи… Упрощайте, упрощайте. [Генри Торо] |
|||
|
||||
| empter |
|
|||
![]() Фанат ![]() Профиль Группа: Участник Сообщений: 224 Регистрация: 20.5.2005 Репутация: 1 Всего: 4 |
||||
|
||||
| Exekutor |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 440 Регистрация: 1.11.2005 Где: Казахстан. Костан ай Репутация: нет Всего: 4 |
OpenGL!!! OpenGL!!! OpenGL!!!
-------------------- [color=blue][size=2]En taro addun, ma sol larinas[/size][/color] |
|||
|
||||
| Maniac |
|
|||
![]() Новичок Профиль Группа: Участник Сообщений: 42 Регистрация: 27.2.2006 Репутация: 1 Всего: 1 |
D3DXIntersect(); Determines if a ray intersects with a mesh. Syntax
Parameters pMesh [in] Pointer to an ID3DXBaseMesh interface, representing the mesh to be tested. pRayPos [in] Pointer to a D3DXVECTOR3 structure, specifying the origin coordinate of the ray. pRayDir [in] Pointer to a D3DXVECTOR3 structure, specifying the direction of the ray. pHit [out] Pointer to a BOOL. If the ray intersects a triangular face on the mesh, this value will be set to TRUE. Otherwise, this value is set to FALSE. pFaceIndex [out] Pointer to an index value of the face closest to the ray origin, if pHit is TRUE. pU [out] Pointer to a barycentric hit coordinate, U. pV [out] Pointer to a barycentric hit coordinate, V. pDist [out] Pointer to a ray intersection parameter distance. ppAllHits [out] Pointer to an ID3DXBuffer object, containing an array of D3DXINTERSECTINFO structures. pCountOfHits [out] Pointer to a DWORD that contains the number of entries in the ppAllHits array. Return Value If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be E_OUTOFMEMORY. Remarks The D3DXIntersect function provides a way to understand points in and around a triangle, independent of where the triangle is actually located. This function returns the resulting point by using the following equation: V1 + U(V2-V1) + V(V3-V1). Any point in the plane V1V2V3 can be represented by the barycentric coordinate (U,V). The parameter U controls how much V2 gets weighted into the result and the parameter V controls how much V3 gets weighted into the result. Lastly, 1-U-V controls how much V1 gets weighted into the result. Barycentric coordinates are a form of general coordinates. In this context, using barycentric coordinates represents a change in coordinate systems. What holds true for Cartesian coordinates holds true for barycentric coordinates. |
|||
|
||||
| Rpahut |
|
|||
![]() 0xdeadbeef ![]() Профиль Группа: Участник Сообщений: 243 Регистрация: 9.4.2006 Репутация: 5 Всего: 7 |
OpenGL
И лишних слов не нужно --------------------
C/C++ GameDevRSS Раздела программирования игрOpenGL - уроки от NeHeКак продать идею? |
|||
|
||||
| Anarhist |
|
|||
![]() Шустрый ![]() Профиль Группа: Участник Сообщений: 89 Регистрация: 11.2.2006 Репутация: нет Всего: нет |
OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL OpenGL Это сообщение отредактировал(а) Anarhist - 25.4.2006, 09:30 |
|||
|
||||
![]()
|
| Правила форума "Программирование игр, графики и искуственного интеллекта" | |
|
|
НА ЗЛОБУ ДНЯ: Дорогие посетители, прошу обратить внимание что новые темы касающиеся новых вопросов создаются кнопкой "Новая тема" а не "Ответить"! Любые оффтопиковые вопросы, заданные в текущих тематических темах будут удалены а их авторы, при рецедиве, забанены.
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Rickert. |
| 0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
| 0 Пользователей: | |
| « Предыдущая тема | Программирование игр, графики и искусственного интеллекта | Следующая тема » |
|
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |