목록분류 전체보기 (167)
알맹이방
블렌더에서 뼈대 만들고 오브젝트로 넘어오니 저 테두리 네모가 있길래 이게 뭐지 이것저것 눌러봤지만 역시 모르겠어서 그냥 클릭해서 vertex 삭제를 했다. 근데 안 지워지는 것도 있었다. 진짜 정체가 뭔지 모르겠다. 그냥 지워서 뼈대랑 살이랑 붙여봤더니 드디어 붙었다! 거의 4일만에 붙은 거 같다. 왜 안됐을까 정말로... 2차원 캐릭터긴 하지만 특성 유지한 채로 두께 좀 늘렸더니 공간감이 생겨서 붙은 걸까? 1. 이제 관절 위치 조정을 해야할 거 같다. 사람이 걷는 게 아닌 거 같다. 허리 추가하고 무릎 위치 조정하고 팔 관절 위치 조정을 해야겠다. 2. 텍스쳐 그리는법 강좌 찾아서 듣기
#include "maxSum.h" // DO NOT modify constuctor and distructor... maxSum::maxSum(int n, int* m){ int i=0; if(!m)return; num = n; money = new int[n]; for(i=0;i
#include #include #include "concat.h" using namespace std; concat::concat(void){ this->num = 0; this->pa = 0; return; } concat::concat(int* priority, char **words, int n){ int i=0; this->num = n; this->pa = new pri* [n]; for(i=0;ipa[i] = new pri(priority[i], words[i]); return; } concat::~concat(void){ if(this->pa){ int i=0, n = this->num; for(i=0;ipa[i])delete this->pa[i]; delete[] this->pa; } r..
#include #include "closest.h" #if 0 DO NOT MODIFY closest(void), ~closest(void), and setPoints(point* p, int n)! #endif closest::closest(void){ this->pnt = NULL; this->num = 0; return; } closest::~closest(void){ if(this->pnt)delete this->pnt; return; } void closest::setPoints(point* p, int n){ int i=0; if(this->pnt)delete this->pnt; this->pnt = new point[n]; this->num = n; for(i=0;ipnt[i] = p[i]..