메인화면 (Main View) - NabiEILAB/ProjectionMappingSimulator GitHub Wiki

메인 화면 UI (Main View UI)

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot01.png
비어있는 3D 공간에 그리드 좌표가 그려진 형태로 렌더링
rendering grid coordinate in empty 3D space

시점 이동 (Moving camera view)

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot02.png
현재 렌더링되는 화면상에서 시점을 변환하기 위해
그림과 같은 UI패널을 이용한다.
마우스 클릭으로 누르고 있으면 해당 이미지에
상응하는 시점변환을 마우스 버튼을 놓을 때까지 지속된다.
마우스 뿐만 아니라 키보드 입력으로도 변환이 가능하다.

to manipulate camera view which is rendering current scene,
you can use UI panel equivalent to above picture.
for the pressing button, camera moves toward corresponding to button image.
it keeps moving until you release the button.
you can also use keyboard key to move camera

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot03.png
현 시점이 바라보는 곳으로 화면을 줌인 또는 줌 아웃을 하는 기능을 담당한다.
these buttons are acting as zoom-in, zoom-out toward current views target.

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot04.png
'+' 버튼은 줌인을 뜻하며 키보드 'e'키를 통해서도 이용이 가능하다.
'-' 버튼은 줌아웃을 뜻하며 키보드 'q'키를 통해서도 이용이 가능하다.
'+' button means zoom-in. you can use it through 'e' key.
'-' button means zoom-out. you can use it through 'q' key.

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot05.png
해당 패널에서는 총 3종류의 시점변환 양식을 선택할 수 있게 한다.
수평이동인 Translate, 좌표 고정 회전인 Rotate, 타겟 고정 회전인 Orbit 으로
총 3가지중 하나를 사용자가 하단의 드롭다운 메뉴를 통해 고를 수 있게 한다.
화살표 버튼 4개는 줌인 & 줌아웃처럼 키보드 버튼으로도 이용이 가능하다.
상 - 'w', 하 - 's', 좌 - 'a', 우 - 'd'로 키보드 버튼을 할당

in this panel, you can choose camera movement mode you want.
there are 3 modes - Translate, Rotate and Orbit.
you can choose through dropdown menu.
you can also use those 4 arrow buttons through keyboard button.
up - 'w', down - 's', left - 'a', right - 'd'

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot06.png
Translate는 시점의 현 좌표에서 누른 버튼의 방향을 향해 시점을 수평이동 시킨다.
Translate mode is moves camera toward to corresponding arrow button horizontally.

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot07.png
Rotate는 시점의 현 좌표는 고정된 상태에서 시점이 바라보는 곳을 회전을 통해 변환한다.
Rotate mode is rotates camera with fixing current camera position.

https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/Main/screenshot08.png
Orbit은 시점이 바라보는 타겟 좌표를 고정한채 타겟과의 거리는 유지하면서 주변을 배회하며 회전한다.
Orbit mode is moves camera just like rotate target with maintaining distance