드롭다운 메뉴 (Drop down menu) - NabiEILAB/ProjectionMappingSimulator GitHub Wiki
메뉴 헤더(menu header)
https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/DropDownMenu/screenshot01.png
메인화면 우측 상단에 '파일'과 '모델링'이라는 메뉴박스가 있다.
사용자가 메뉴를 누르면 해당되는 서브메뉴들이 드롭다운 형태로 제공된다.
in upper right on main view, there is a menu box which is referred as '파일', '모델링'
if user pressed one of the menu button, corresponding submenus will comes up.
파일 버튼('파일' - means 'file' button)
새 프로젝트 서브메뉴('새 프로젝트' - means 'new project')
'새 프로젝트'는 현재 렌더링 되어있는 화면을 전부 초기화하는 기능을 담당한다.
if user pressed '새 프로젝트' menu, current scene will be refreshed to empty space.
프로젝트 저장 서브메뉴('프로젝트 저장' - means 'save project')
https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/DropDownMenu/screenshot03.png
OS가 제공하는 파일 다이얼로그를 통해 원하는 디렉토리에
현재까지 진행한 시뮬레이션 상태를 txt파일로 저장하는 역할을 한다.
through the file dialog system given by OS,
user can save the current project as txt file to specific directory where user wants.
프로젝트 불러오기 서브메뉴('프로젝트 불러오기' - means 'load project')
https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/DropDownMenu/screenshot04.png
저장과 마찬가지로 파일 다이얼로그를 통해 저장된 txt파일을 토대로
시뮬레이션 상황에 맞게 오브젝트들을 재배치하는 역할을 한다.
through the file dialog system given by OS same as 'save project',
user can load the project's scenario to the current scene
모델링 메뉴('모델링' - means 'modeling')
https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/DropDownMenu/screenshot05.png
사용자가 원하는 3D 모델링의 파일을 파일 다이얼로그를 통해 불러오는 역할을 한다.
불러올 수 있는 확장자는 ofxAssimpModelLoader를 기반으로 다음과 같다.
- 3ds, ase, dxf, hmp, md2, md3, md5, mdc, mdl, nff, ply, stl, x, lwo, obj, smd, dae
through the file dialog system given by OS,
use can import the 3D modeling file to current project.
file extension can be imported is based on ofxAssimpModelLoader specification.
- 3ds, ase, dxf, hmp, md2, md3, md5, mdc, mdl, nff, ply, stl, x, lwo, obj, smd, dae
https://github.com/NabiEILAB/ProjectionMappingSimulator/blob/master/wiki/DropDownMenu/screenshot06.png
모델링이 렌더링 화면에 나타난 것을 확인할 수 있다.
we can confirm the modeling is imported to current rendering scene.