KAIST

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ KAIST ] in KIDS
글 쓴 이(By): mkjung (iSTHMUS)
날 짜 (Date): 2000년 11월 14일 화요일 오후 07시 48분 55초
제 목(Title): Re: B - Spline 알고리즘.



커브를 n개의 Control Point(3차원좌표)를 이용해
OpenG로 그리고 싶은데..책을 읽거봐도 잘 모르겠네요.

누구 고수님들 한수 부탁합니다..                         


============
the easist way is using the very simple vector calculus. :)

if you have two point p_i and p_{i+1}, then we have a curve controled by
these two points given by a_i p_i + (1-a_i) p_{i+1} = q_i 
Now if you have one more points p_{i+1}, then what you do is form the vector 
again with q_i and p_{i+1}. Do it recursively then you get B-spline in terms
of the parameter a_i, a_{i+1}, ..... , it's only a matter of how you choose
these a_i's. 


[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.