Misc/Modeling2015. 1. 16. 02:12



유니티 기본 툰 셰이더 + Shadow


Posted by GNUPart
Misc/Modeling2015. 1. 14. 21:34

UV Unwrap 하는데 시간이 너무 많이 소요..





Posted by GNUPart
Misc/Modeling2015. 1. 7. 23:16


#1일차



#2일차






#3일차 

- 앞 프레임 변경

- 엔진 추가

- 전체 비율 수정



Posted by GNUPart
Misc/Modeling2015. 1. 7. 04:16

1일차

 - Normal Flip : Flip


2015.01.10





2015.01.13




- 눈 부분 모양잡기가 되게 어렵다. 다른 모델들 참고해야 할 듯.




Posted by GNUPart
Misc/Modeling2015. 1. 5. 12:43

- UV Unwrap

- 텍스쳐 그리기


- 참고 이미지 : https://sketchfab.com/models/6973f0bc978543008ec193369552b37e



-




Posted by GNUPart
Misc/Modeling2014. 12. 30. 18:14

모델링용 블루프린트 올리기



- 1장의 이미지를 Material로 assign

- Modifier / UV Map / Bitmap Fit 으로 각 면의 이미지 조정


- 각 기준선에 맞게 위치 조절


=> 원래 3개의 분리된 이미지들로 해봤지만, 비율조절이 어려웠음.



Posted by GNUPart
Misc/Modeling2014. 12. 30. 06:07

3D 모델링 공부 시작합니다.


- 기본 도형

- uv - unwrap - 매핑




Posted by GNUPart
Misc/CustomControl2014. 7. 28. 00:49

CPropGridColor



2014.07.28

 - R, G, B 및 Alpha값까지 조절할 수 있게 수정




Posted by GNUPart
Misc/Font2014. 7. 25. 17:32

* 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]



[영문 출력]


[한글, 일본어, 한문, 숫자 출력]


[기타]





Posted by GNUPart
Misc/MFC2014. 7. 24. 23:58

- Seperator's line 조절

void CMyPropertyGridCtrl::AdjustLayout() {

  m_nLeftColumnWidth = (m_nLeftColumnWidth * 2.0) / 3.0; // Adjust "Property" column width.
  CMFCPropertyGridCtrl::AdjustLayout();
}


-

Posted by GNUPart
Misc/MFC2014. 7. 11. 02:46

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 영역을 클릭하면 다시 보이기 때문에 사용하는데 문제가 없긴 하지만..)


PropGridSlider.zip




Posted by GNUPart
Misc/MFC2014. 7. 2. 22:43

CMainFrame:CFrameWndEx 에서

클래스 위자드 (Shift+Ctrl+X) -> 명령탭 : 변경할 메뉴아이템 ID 선택

-> 메시지창에서 UPDATE_COMMAND선택

-> 처리기추가 버튼 클릭




void CMainFrame::OnUpdateGlobal(CCmdUI *pCmdUI)

{

if ( 조건 ) pCmdUI->SetText(_T("조건:True"));

else pCmdUI->SetText(_T("조건:False"));

}


Posted by GNUPart
Misc/MFC2014. 4. 18. 05:04

* 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 입력


* Compile 속도 
  - Multi-processor compilation
- C/C++ > 일반 > 다중 프로세서 컴파일 : 예(/MP)
- C/C++ > 코드 생성 > 최소 다시 빌드 가능 : 아니요(/Gm-)


Posted by GNUPart
Misc/iOS Dev.2014. 3. 9. 20:09

- 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.



Posted by GNUPart