본문 바로가기

전체 글53

[이득우 게임수학] 벡터 3.1 데카르트 좌표계직선의 수 집합을 수직으로 배치해 평면에 표기하는 방식곱집합의 원어가 데카르트 곱이다 (cartatian product)한 원소는 곱집합과 동일하게 순서쌍이라고 표현하며 좌표(coordinate)라고 부름크기, 방향 두가지 속성을 가짐3.2 벡터공간과 벡터평면은 두 실수를 결합해 만들어지며, 실수는 체의 구조를 가지고 있기떄문에 평면에서의 움직임을 표현하기 위해서는 덧셈과 곱셈 연산체계를 사용한다.벡터공간 : 두개 이상의 실수를 곱집합으로 묵어 형성한 집합을 공리적집합론 관점으로 규정한 것 $V$벡터 : 벡터 공간의 원소 $\vec{v} = (x,y)$스칼라 : 체의 구조를 지니는 수집합의 원소3.2.1 벡터 연산벡터와 벡터의 덧셈$\vec{v}_1 + \vec{v}_2 = (x_1.. 2024. 5. 16.
[이득우 게임수학] 수 수체계 이해를 위해서 수의 구조와 함수를 알아보기1. 수와 집합: 공리적집합론 (연산에 대한 공리를 기반으로 한 집합론) 개념으로 수의 구조를 알아보자-1.1 사칙연산 (이항연산)의 성질닫혀있음: 같은집합에 속한 두 수를 투입한 이항연산의 결과가 항상 투입집단에 속하면 닫혀있다고함교환법칙: 연산순서 관계없이 항상 동일한 결과가 나옴a + b = b + aa * b = b * a결합법칙:연산두번이상 연속될때 순서와 상관없이 같음(a + b) + c = a + (b + c)(a * b) * c = (a * b) * c분배법칙: 서로 다른 연산에대해 분배 값 만족 (좌분배 우분배)a * (b + c) = a * b + a * c(b + c) * a = b * a + c * a항등원, 역원항등원 : 연산결과를 .. 2024. 5. 13.
Unreal 창모드 빌드 유니티처럼 레지스트리에 저장되는게 아니었음..  https://docs.unrealengine.com/5.3/en-US/API/Runtime/Engine/GameFramework/UGameUserSettings/  GameUserSettings.ini 파일의 값을 수정해주면 된다. 2024. 3. 24.
[Adobe] 라이센스 팝업 방지 방화벽 설정 this unlicensed photoshop app will be disable라이센스 팝업시 처리방법 두가지 초간단 버전1. cmd (명령 프롬프트) 사용1.1 명령 프롬프트 관리자 권한으로 실행윈도우 검색창에서 cmd 검색 후 관리자 권한으로 실행1.2  인바운드, 아웃바운드 규칙 생성 명령어 입력 아래와 같이 실행프로그램 경로 부분에 해당 프로그램의 실행프로그램 경로를 복사하여 붙여넣기 하면 된다.인바운드netsh advfirewall firewall add rule name="규칙이름" dir=in program="실행프로그램 경로" action=block profile=private,domain,public enable=yes ↓ ↓ ↓  :: example) Photoshop 2023nets.. 2023. 9. 24.
시리얼 통신 터미널 프로그램 PuTTY 시리얼통신이나 ssh 쓸때 유용하게 썼던 프로그램 https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Download PuTTY: latest release (0.78)This page contains download links for the latest released version of PuTTY. Currently this is 0.78, released on 2022-10-29. When new releases come out, this page will update to contain the latest, so this is a good page to bookmark or link to. Alternativelwww.chiark.gre.. 2023. 7. 3.
[Autodesk] Autodesk Genuine Service 제거하기 (Window) Autodesk Genuine Service 제거 1. 마이크로소프트에서  프로그램 설치 및 제거 문제 해결사를 다운Micosoft troubleshooter 다운 링크https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d Fix problems that block programs from being installed or removed - Microsoft SupportExplore subscription benefits, browse training courses, learn how to secure .. 2023. 5. 4.
X570 AORUS ELITE 윈도우 11 업그레이드 tpm 2.0,  secure boot 설정 바꿔봤는데도 업데이트가 불가능했으나 바이오스 업데이트 했더니 바로 해결됨.. 1. 바이오스 진입 Advanced Mode로 들어가기2. TPM 2.0 활성화 Settings > Miscellaneous > AMD CPU fTPM > Enabled     3. Secure Boot 활성화** Secure Boot 옵션은 Settings 의 CSM Support 가 Disabled 되어야 나타남Settings > Boot > Secure Boot  > Enabled설정 했는데도 업데이트 안되면 바이오스 업데이트하기 바이오스 업데이트 usb 없어서 소프트웨어로 먼저  업데이트 시도를 했다가 자꾸 실패..결국 파일 다운받아서 업데이트함https://www.gigaby.. 2023. 5. 3.
[Unity] URL 관련 System.UriFormatException: Invalid URI: The hostname could not be parsed.   at UnityEngineInternal.WebRequestUtils.MakeInitialUrl (System.String targetUrl, System.String localUrl) [0x000c8] in :0 at UnityEngine.Networking.UnityWebRequest.set_url (System.String value) [0x00007] in :0    at UnityEngine.Networking.UnityWebRequest..ctor (System.String url, System.String method, UnityEngine.Networkin.. 2023. 4. 30.
Unity AnimationCurve 활용 public AnimationCurve myCurve; public GameObject animationObject; public float duration; void zoomIn() { StartCoroutine(MyAnimation(animationObject, .2f, .5f, duration)); } void ZoomOut() { StartCoroutine(MyAnimation(animationObject, .5f, .2f, duration)); } public IEnumerator MyAnimation(GameObject animationObject, float A, float B, float duration) { float elapsedTime = 0; while (elapsedTime < d.. 2023. 4. 18.
[Arduino] ESP8266 아두이노 개발환경 세팅 라이브러리 설치하기 url 입력http://arduino.esp8266.com/stable/package_esp8266com_index.json 2023. 1. 30.
삼각함수로 원 그리기 유니티에서 라이다 디버깅 뷰어용으로 쓸 원그리기삼각함수를 활용하면 된다반지름이 r 일때 길이가 1 인 벡터와 평행하고 길이는 r 배 만큼 증가했으므로 (x , y)는 스칼라 곱셈에 의해 $r\cdot (cos \theta , sin \theta) $가 됨삼각함수 내용 정리 :  https://8trian8.tistory.com/93 [이득우 게임수학] 삼각함수4.1 삼각함수$\theta$ : 한 각이 직각인 삼각형에서 밑변과 빗변의 사이각삼각비 : 직각삼각형을 구성하는 세 변에서 두 변을 뽑아 각각의 비럐관계를 나타낸것사인 Sine $sin\theta$ =$a \over c$코사인 Cos8trian8.tistory.com 유니티 코드public static class TrigonometricFunctio.. 2022. 7. 15.
Unity + Realsense F200 뎁스이미지 표시하기1. Intel® RealSense™ Depth Camera Manager 설치가장 최근 업데이트된 RealsenseSDK 2.0 는 F200를 지원 안함** DCM 설치 후 SDK를 설치https://www.intel.com/content/www/us/en/download/18309/intel-realsense-depth-camera-manager.html2. Realsense 2016 R2 설치R3은 모듈식, R2는 sdk 전체 설치 이므로 R2를 권장2016 R2는 더이상 공홈에서 제공하지 않으므로 아래 다이렉트 링크에서 다운로드Realsense 2016 R2 direct link (좌클릭으로 열기가 안되므로 복사해서 주소창에 넣어야 다운이 가능함)http://registratio.. 2022. 6. 14.
HDRP Raytracing 세팅 1. dx12 그래픽 세팅 Edit > Project Seetings > Player > Other Settings Direct3D12 추가하고 상위로 올리기 2. static batching 체크 해제 Edit > Project Seetings > Player > Other Settings ** 1,2 또는 Windows > Rendering> HDRP Wizard HDRP + DXR 에서 fix 누르기 3. Render Pipeline Asset 설정 새로운 파이프라인 에셋을 생성하여 설정해준다. Edit > Project Seetings > Quality 새로생성한 렌더 파이프라인 에셋 에서 Render부분의 Realtime Raytracing(Preview) 항목을 체크 Quality > HDRP.. 2022. 3. 14.
Unity + OpenCV OpticalFlowPyrLK + Visual Effect Graph 1. WebcamOpticalFlowPyrLK  함수를 쓰기위해서 현재 프레임과 이전프레임이 필요using System;using OpenCvSharp;using UnityEngine;public class WebCam : MonoBehaviour{ public Material mat; WebCamTexture webCamTexture; private OpenCVUnity Convert = new OpenCVUnity(); IplImage prev; IplImage curr; IplImage dst; private Texture2D dstTexture; // 계산 결과를 담을 텍스쳐 public CvPoint2D32f[] cornersPrev; pu.. 2022. 3. 10.
Component Inspector 항목들 General - Random Seed : 이 인스턴스에 사용된 현재 랜덤 시드를 표시하는 정수 필드 - Reseed On Play : Boolean 값으로 설정. Play Event 보낼때 마다 새로운 랜덤 시드를 계산함 Renderer 시각 효과 인스턴스가 조명을 렌더링하고 수신하는 방법을 제어 Proves - Light Probes : 환경광 (Ambient Light) 계산을 위한 Light Probe 제어 - Anchor Override : (Blend Probes) 프로브 샘플링 위치 계산을 위한 transform 정의 - Proxy Volume Override : (Use Proxy Volume) 프로브 샘플링 계산을 위한 Light Probe Proxy volume 정의 Additional.. 2022. 2. 26.