02.취미

  • GPS 작업 05

    1. startMonitoringSignificantLocationChanges 사용시 종료해도 화살표 안 사라지는 것 https://asteris.pe.kr/blog/1568 의 계속 AppDelegate에 locationManager를 사용하는 클래스를 불러오겠다고 선언한다. 이번의 경우 GpsLayer.h/GpsLayer.m에서 사용하므로 AppDelegate.h 에 @class GpsLayer; 추가 @property (strong, nonatomic) GpsLayer…

  • GPS 작업 04

    GPS 작업 04

    1. 위치정보 관련 헤더 @interface GpsLayer : CCLayer <CLLocationManagerDelegate, MKMapViewDelegate> {     CLLocationManager* locationManager;    CCLabelTTF *label; } @property (nonatomic, retain) CLLocationManager* locationManager; // 구현 -(void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation…

  • GPS 작업 03

    1. 글자 표시 CCLabelTTF *label = [CCLabelTTF labelWithString:@”Hello World” fontName:@”HelveticaNeue-CondensedBlack” fontSize:64];        // ask director for the window size CGSize size = [[CCDirector sharedDirector] winSize];       …

  • GPS 작업 02

    1. 기본으로 Retina는 On. if( ! [director_ enableRetinaDisplay:YES] ) CCLOG(@”Retina Display Not supported”); -hd 붙은 이미지로 저해상도 대응 2. 위치 관련 프레임 워크들 세팅해주기 3. 화면잠김 금지     [[UIApplication…

  • GPS 작업 01

    1. cocos2D로 기본 scene 설정후 Layer 추가 -> scene 추가 없이 바로 CCLayer 추가해서 +메소드로 처리할 수 있는지 체크.(Hello world) 2. BackGround 및 나침반 이미지 표시 -> iPhone4 : 960*640…

  • 135(풀프레임)규격과 APS-C(크롭) 규격의 피사계 심도 차이

    135(풀프레임)규격과 APS-C(크롭) 규격의 피사계 심도 차이

    가끔 카메라 동호회에서 글을 보다 보면, 판타지 소설을 쓰시는 분들이 계셔서 간단히 설명하겠습니다. 피사체를 일정거리를 두고 배열 한 뒤 135규격과 APS-C규격으로 사진을 찍어봅니다. 1. 같은 거리에서 찍을 때. 겉의 붉은…

  • K.I.T.T.2

    K.I.T.T.2

    이번에 테이프에서 발굴한 데이터는..1986년에 그린 얼짱각도 K.I.T.T. MSX BASIC에서 한라인 한라인 장인의 손길로..(퍽..)