돌고래 홈페이지
ID:
PW:


  운영자(2020-05-08 10:36:14, Hit : 641, Vote : 227
 AABB line

AABB and Ray
https://www.scratchapixel.com/lessons/3d-basic-rendering/minimal-ray-tracer-rendering-simple-shapes/ray-box-intersection


line과 AABB 검색
https://gamedev.stackexchange.com/questions/18436/most-efficient-aabb-vs-ray-collision-algorithms
링크에서 다음 검색
Here's the Line vs AABB code I've been using:


Point vs. AABB  
AABB vs. AABB
Sphere vs. AABB
https://developer.mozilla.org/en-US/docs/Games/Techniques/3D_collision_detection


============================================================================================
2d, 3d line과 점의 거리 구하기

2D line point 거리를 구하는 방법
https://www.qc.edu.hk/math/Advanced%20Level/Point_to_line.htm

2D line point 거리
https://stackoverflow.com/questions/849211/shortest-distance-between-a-point-and-a-line-segment
https://www.randygaul.net/2014/07/23/distance-point-to-line-segment/

2D or 3D 모두 적용되는 공식인데 값 확인 필요  
검색 : dist_Point_to_Segment
http://geomalgorithms.com/a02-_lines.html


3D line point 거리 C++
https://www.geeksforgeeks.org/shortest-distance-between-a-line-and-a-point-in-a-3-d-plane/
3D line point 거리 Java
https://stackoverflow.com/questions/4862370/distance-of-a-3d-point-to-a-poly-line-segment-algorithm

3D line point 거리좌표 직접 풀기
https://onlinemschool.com/math/library/analytic_geometry/p_line/
minimum distance = (A (xa - xb) + B (ya - yb) + C (za - zb)) / sqrt(A2 + B2 + C2)
http://paulbourke.net/geometry/pointlineplane/
https://mathinsight.org/distance_point_plane

값이 5가 나와야 한다.
    MyVector3 src = MyVector3(3.0f, 1.0f, -1.0f);
    MyVector3 dest = MyVector3(5.0f, 2.0f, 1.0f);
    MyVector3 point = MyVector3(0.0f, 2.0f, 3.0f);
    float length = 0.0f;
    bool res = GetLengthLineAndPoint(src, dest, point, &length);
Line Box Intersection
https://www.3dkingdoms.com/weekly/weekly.php?a=3

line segment sphere intersection
http://nic-gamedev.blogspot.com/2011/11/using-vector-mathematics-and-bit-of_09.html

Intersection Testing    ---     Lecture
http://cse.csusb.edu/tongyu/courses/cs621/notes/intersect.php




물리엔진 ODE OPCODE 관련
ball projectile

Copyright 1999-2021 Zeroboard / skin by zero