본문 바로가기

전체 글53

Maya arnold aiOslShader 써보기 Render Settings 로 들어가 Filter 의 Type을 contour 로 바꿔준다. aiToon 을 만든다. aiToon 에서 Edge Detection 의 Mask color 에 aiOslShader 를 연결해준다. * OSL 은 open shader language의 약자로 아놀드 렌더러 엔진에서 사용하기 위해 만들어진 쉐이더언어이다. outValue 와 maskColor를 연결해준다. https://github.com/ADN-DevTech/3dsMax-OSL-Shaders 3dsMax-OSL-Shaders/3ds Max Shipping Shaders/UberNoise.osl 코드를 복사하여 위 빈칸에 붙여넣기한다. 복붙하고 Compile OSL Code 를 클릭했을때 정상적으로 컴파일이 .. 2021. 8. 12.
Processing + LeapMotion 연동 립모션 SDK 를 설치해줘야 하는데 공홈의 최신 드라이버(4.1.0)에는 java sdk 가 없다고 한다. 4.1.0 을 설치했다면 Uninstall 하고 3.2 버전을 설치한다. https://developer.leapmotion.com/releases/?category=orion Legacy Releases — Ultraleap for Developers This is the place to find current and past Leap Motion downloads. Be sure to check the SDK and asset requirements for all Unity releases. Orion SDK › Unity Assets › developer.leapmotion.com 설치를 했으.. 2021. 7. 29.
Cellular Automata 1 Dimention Binary State Simulator p5js로 Cellular Automata 1 Dimention Binary State Simulator를 만들었다. inputfield 창에 0 -255 사이의 수를 입력하면 규칙별 시뮬레이션이 가능하다. 1차원 2개의 상태(0,1 또는 살아있거나 죽어있거나)가 있는 환경의 세포자동자 에서는 어떤 셀의 양 옆 셀의 정보를 바탕으로 특정 규칙에 따라 다음 세대에서의 셀 상태가 결정된다. 검은 칸은 죽어있는 상태이고(1) 하고 흰 칸(0)은 살아있는 상태라고 가정하자. 한 칸이 다음세대에 어떻게 진화되는지 알기위해서는 위의 그림처럼 나와 양 옆의 두 이웃 , 총 3개 셀을 검사해야한다. 그러면 나와 양 옆의 셀 모두 죽은 경우 -> 0,0,0 나와 오른쪽 셀은 살아있고 왼쪽 셀은 죽은상태인 경우 -> 0,.. 2021. 7. 20.
Processing Visual Studio Code Setup Processing을 VisualStudioCode 에서 편집하고 실행하기 위한 세팅 방법 1. Processing 과 Visual Studio Code 를 설치한다. 2. Processing 이 설치된 경로를 복사하여 환경변수로 설정한다. 내PC > 오른쪽마우스 클릭 - 속성> 고급 시스템 설정> 환경변수 - Path 클릭하여 복사한 경로 추가 3. Processing에 들어가 Interfascia 라이브러리 설치 4. Vscode 에서 Processing Language extension 설치한다. 5. View > Command Palette(또는 Ctrl + Shift +P)눌러 Processing : Create Task File 선택후 나오는 경로확인하고 선택한다. 6. tasks Json 파.. 2021. 7. 18.
Atom 단축키 비주얼스튜디오 버전 'body': 'alt-up': 'core:move-up' 'alt-down': 'core:move-down' 'ctrl-k s': 'window:save-all' 'atom-workspace atom-text-editor:not([mini])': 'alt-up': 'editor:move-line-up' 'alt-down': 'editor:move-line-down' 'alt-shift-up': 'editor:duplicate-lines' 'alt-shift-i': 'editor:split-selections-into-lines' 'alt-shift-down': 'editor:duplicate-lines' 'ctrl-k ctrl-c': 'editor:toggle-line-comments' 'ctrl-sh.. 2021. 7. 15.
P5.js Atom Setup 1. P5.js 라이브러리 다운받기https://p5js.org/ko/download/ 2. Atom 설치하기https://atom.io/ 3. Atom Pacakage 설치하기Ctrl + ,  를 눌러서 setting 에 들어가고 Install 탭에서 설치 atom-live-servep5xjs-autocompleteatom-beautify 하려고했는데 안됨(혹시 애드가드를 사용중이라면 끄고 검색해야한다) 4. P5.js 라이브러리 다운https://p5js.org/ko/download/다운받은 P5 라이브러리 안에있는 이 폴더를 복사해서 원하는 이름으로 바꿔주고 Atom 에서 열어준다. 스케치파일 코드 작성하고 html 파일 열어보니까 에러뜨고 안됨 여기 저 .. 에 라이브러리 폴더경로를 써줘야되는거였.. 2021. 7. 14.
유니티 포톤네트워크_Photon view https://www.youtube.com/watch?v=7tjez6oZDlA 2021. 7. 5.
토끼와 거북이 알고리즘 Floyd's Tortoise and Hare Algorithm 자료구조 공부 중 연결 리스트 안에 루프가 있는지 탐지 하는 방법에 대해 설명한 부분 서로 다른 속도로 이동하는 포인터를 두개 만들어서 싸이클 있는지 탐지함 2021. 6. 18.