MappingApp 윈도우 (MappingApp window) - NabiEILAB/ProjectionMappingSimulator GitHub Wiki
MappingApp UI
https://github.com/NabiEILAB/ProjectorSimulator/blob/master/wiki/MappingApp/screenshot01.png
메인 화면과 함께 우측에 별도의 창이 항상 구동된다.
'MappingApp'이라 이름 붙여진 openFrameworks에서 제공되는 커스텀 ofBaseApp 클래스로
해당 창을 통해 추가적인 기능을 이용할 수 있다.
두 창이 서로 떨어진 상태로 프로그램이 작동된다면
마우스를 이용해 MappingApp 상단부를 드래그하여 옮길 수 있다.
there's other window on the right.
this window is called 'MappingApp' which is custom class that
derived from openFrameworks's base class called ofBaseApp.
user can use additional functions in this window.
if monitor is so small that two windows are overlapped, just drag the window away
https://github.com/NabiEILAB/ProjectorSimulator/blob/master/wiki/MappingApp/screenshot02.png
선택된 빔 프로젝터에 비디오파일이 로드되면 MappingApp창에 로드된 비디오 영상을 확인 할 수 있다.
if selected beam projector object has loaded video file,
user can confirm the loaded video file on MappingApp.
빔 프로젝터 스펙 선택(Select beam projector spec)
https://github.com/NabiEILAB/PRojectorSimulator/blob/master/wiki/MappingApp/screenshot03.png
MappingApp창에서 현재 선택된 빔 프로젝터의 스펙을 선택할 수 있다.
시뮬레이션 내의 빔 프로젝터에서 투사되는 영상의 크기가
실제 빔 프로젝터의 스펙과 동일하게 해주어 보다 사실적인 시뮬레이션 효과를 기대할 수 있다.
In MappingApp window, user can choose beam projector spec onto
current selected beam projector. this makes video that projected from beam projector object
has same size as real beam projector. so user can experience more realistic simulation.
https://github.com/NabiEILAB/PRojectorSimulator/blob/master/wiki/MappingApp/screenshot04.png
마우스를 이용하여 사용자는 원하는 빔 프로젝터 회사명과
해당 회사에서 제작된 모델명을 선택할 수 있다.
user can choose beam projector's manufacturer and model name.
https://github.com/NabiEILAB/PRojectorSimulator/blob/master/wiki/MappingApp/screenshot05.png
Barco의 F32 1080p라는 제품의 경우 스펙을 보면 영상을 16:9로 투사할 경우
피투영체와의 위치가 600cm(6M)정도 되는 경우 투사되는 영상은 759 x 427 cm크기가 된다고 나와있다.
시뮬레이션 내에서도 해당 스펙과 동일하게 크기가 적용이 되는것을 확인 할 수 있다.(그리드당 200cm 크기)
빔 프로젝터 스펙확인 홈페이지
http://www.projectorcentral.com/projection-calculator-pro.cfm
for example, 16:9 aspect ratio video that projected from
Barco's F32 1080p model has a 759 x 427 resolution, if its distance between object is 600cm.
in simulation program, video's size is same as real data.(200cm per grid)
beam projector spec list
link : http://www.projectorcentral.com/projection-calculator-pro.cfm
와핑(Warping)
https://github.com/NabiEILAB/PRojectorSimulator/blob/master/wiki/MappingApp/screenshot06.png
영상이 로드된 빔 프로젝터를 클릭시 MappingApp 윈도우에서
재생되고 있는 영상을 확인할 수 있다.
이를 마우스를 이용해 4곳의 꼭지점의 위치를 드래그하여 영상을 왜곡할 수 있는
'와핑'기능을 수행할 수 있다.
If beam projector that has loaded video file is clicked, User can confirm
current running video file in MappingApp window.
in this window, user can 'warp' the video by dragging the video's edges
https://github.com/NabiEILAB/PRojectorSimulator/blob/master/wiki/MappingApp/screenshot07.png
드래그 되어 왜곡되는 영상은 시뮬레이션의 메인화면에서도 실시간으로 적용이 되어
사용자가 원하는 모양으로 프로젝션 맵핑이 되도록 할 수 있다.
만일 'r'키를 누르게 되면 영상을 다시 원본으로 되돌릴 수 있다.
Warped video is adjusted to main view's simulation scenario in real time.
if user press 'r' key, video is resumed to original shape.