Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

GPG Study 4.3 카메라 제어기법

1,196 views

Published on

GPG STUDY 4.3

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

GPG Study 4.3 카메라 제어기법

  1. 1. 카메라 제어기법 GPG STUDY 4.3
  2. 2. 기본적인 카메라 1
  3. 3. 기본적인 카메라 2
  4. 4. 1인칭 카메라 제어
  5. 5. 1인칭 카메라 제어 • 마우스가 움직이면 시야전환 • 마우스 위치값에 따라 Yaw / Pitch를 회전 • 키보드의 입력에 따라 카메라(=플레이어) 이동 • Forward 벡터 방향을 기준으로 앞/뒤/좌/우로 이동 • deltaTime에 의한 물리적 이동을 하는 것이 자연스럽다.
  6. 6. 미리 경로가 정해진 카메라 제어
  7. 7. B-Spline 곡선상에서 카메라 이동 • B – Spline 곡선 • 함수에 제어점을 집어넣으면 곡선 나옴  • 적당히 분할하여 동적으로 계산 • 카메라를 3차원 B-Spline 선상으로 이동 • 카메라의 위치는 OK • 카메라의 시선 방향은 ??
  8. 8. B-Spline 곡선상에서 카메라 방향제어 • View Vector • 1. 다음 이동 위치 – 현재 위치 = View Vector • 2. Spline함수를 미분하여 접선을 구하는 방법 • Up Vector • 구해진 두 개의 View Vector를 외적하여 right vector를 구하고 다시 외적 OK?
  9. 9. Catmull-Rom 곡선 • Spline 그림을 보면 알겠지만 안타깝게도 제어점에 카메라가 도달할 수는 없다. • 제어점을 반드시 지나가는 곡선이동을 하고 싶다면 다른 방법이 필요하다. • 그 방법이 Catmull-Rom 곡선 • 곡선 품질은 좀 떨어져도 반드시 제어점을 지나간다.
  10. 10. 카메라 줌업 • 시야각(fov)을 줄여야 한다.
  11. 11. 탄력있는 카메라이동 • 카메라가 대상과 밀당 • 가까우면 느리게 따라가고, 멀면 빠르게 따라가고 • 탄성력(용수철 공식)을 활용한다. • F = ma = - k* dx
  12. 12. 3인칭 카메라
  13. 13. 사원수(Quaternion) • 오일러 회전 변환에서 Gimbal Lock 현상 발생 (구글링 요망) • http://skmagic.tistory.com/entry/%EC%A7%90%EB%B2%8C%EB%9D%BDgimbal-lock • 이상한 수학자가 허수 표현식을 사용해서 회전을 표현한 것이 사원수 • 짐벌락 없음 • 이론적/수학적 이해가 잘 안되면 걍 시키는대로 가져다 쓰자.

×