'Misc'에 해당되는 글 14건
- 2015.01.16 카트+맵
- 2015.01.14 맵 모델링 연습
- 2015.01.07 Kart
- 2015.01.07 캐릭터 얼굴
- 2015.01.05 5일차
- 2014.12.30 2일차
- 2014.12.30 1일차
- 2014.07.28 CMFCPropertyGridProperty Color Custom Control
- 2014.07.25 Font Rendering Test
- 2014.07.24 CMFCPropertyGridCtrl, CMFCPropertyGridProperty 관련
- 2014.07.11 CMFCPropertyGridProperty 슬라이더 컨트롤 넣기 1
- 2014.07.02 MFC, 메뉴이름 바꾸기
- 2014.04.18 VC++ Compile 관련
- 2014.03.09 Apple Archive 관련 에러
* References
* 폰트 렌더링 관련 (font rendering)
- FreeType2 : http://www.freetype.org/
- stb_truetype : http://nothings.org/stb/stb_truetype.h
* 텍스쳐 캐싱 관련 (texture caching)
- http://clb.demon.fi/projects/more-rectangle-bin-packing
* 텍스쳐에 Font 한글자 찍기
* Texture Bin Packing
[256x256 텍스쳐, 네이버 나눔 고딕, 32 height pixel]
"가나다라1234뷁家安龍 レストラン、カフェ、雑貨屋など、事業の形態 The quick brown fox jumps over the lazy dog."
* LRU List 구현
* Dynamic Bin Packing
* 문자열 vertex 출력
[Glyph metrics]
[영문 출력]
[한글, 일본어, 한문, 숫자 출력]
[기타]
mfc, CMFCPropertyGridProperty, CSliderCtrl
CMFCPropertyGridProperty의 float 타입을 좀더 쉽게 사용하기 위해 Slider Control을 삽입했다.
CMFCPropertyGridProperty *group = new CMFCPropertyGridProperty("Camera");
...
...
CPropGridSlider *prop = new CPropGridSlider(_T("FOVy"), _fovy, _T("Tip Message"), 10.0f, 170.0f, 160 );
group->AddSubItem( prop );
생성방법은 다음과 같다.
new CPropGridSlider( 이름 , (float) 초기값, 팁 메시지, (float)최소값, (float)최대값, (int)슬라이더 해상도 )
// '슬라이더 해상도' : 최대값 ~ 최소값의 간격
* 슬라이더가 포커스를 잃을때 가끔(?) 사라지는 현상이 있다. (value 영역을 클릭하면 다시 보이기 때문에 사용하는데 문제가 없긴 하지만..)
* SAFESEH 관련 에러 : 속성(프로젝트) > 구성속성 > 링커 > 고급 >
"이미지에 안전한 예외 처리기 포함" -> 아니요(/SAFESEH:NO) 로 설정
* "atlthunk.lib" 관련 에러 : 속성(프로젝트) > 구성속성 > 링커 > 명령줄 >
추가 옵션(D) 칸에 /NODEFAULTLIB:"atlthunk" 추가
* _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) 경고
-> 해당 파일에 #include <SDKDDKVer.h> 추가
* error LNK2005: _DllMain@12이(가) dllmain.obj에 이미 정의되어 있습니다.
-> 링커(Linker) > 명령줄 > 추가 옵션(D) : /FORCE:MULTIPLE 입력
- Nib file 'Main-iPad~ipad.nib' was not found. Please ensure....
http://stackoverflow.com/questions/21848740/iphone-app-converted-to-universal-works-fine-on-device-but-validation-fails-wi
I finally fixed it.
- I created another Universal App Project. It created 2 storyboards, each for iPhone and iPad.
- Copied the iPad storyboard file to my original project to Base.lproj folder.
- Dragged and dropped the storyboard file (Main-iPad.storyboard) to my project.
- Created Archive and ran the validation. Everything worked fine, uploaded it to App Store, and waiting for approval.
The reason I didn't create a new storyboard on my original project was that it creates a blank storyboard with 'no scenes' message. I didn't want to deal with the hassle of figuring out how to fix that issue. So I gave a shot with my above solution, it worked.