목록전체 글 (36)
일상
예를들어 case OO: int n; 이런식으로 내부에서 변수 선언을 할 시 에러가 발생한다. 원인은 내부변수가 switch 문의 종료에 영향을 미칠 수 있기 때문이라는데 확실하진 않다 이를 해결하려면 case OO: { int n; } 로 해결한다
https://github.com/Tom94/tev GitHub - Tom94/tev: High dynamic range (HDR) image viewer and comparison tool High dynamic range (HDR) image viewer and comparison tool - GitHub - Tom94/tev: High dynamic range (HDR) image viewer and comparison tool github.com 우분투에서 tev를 사용하기 위해 위의 repository에서 클론하여 빌드를 하려고 했으나 빌드 파일까지는 만들어지는데 make가 안되는 오류가 발생하였다 컴파일러를 gcc-9, clang-9 사용하였으나 둘다 실패하였고 조언을 통해 gcc-11, g+..
ubuntu에서 vscode의 C/C++ extension을 사용해도 자동완성(intellisense) 기능이 작동하지 않았다. 해결 방법은 밑의 사이트에 나와있다. https://stackoverflow.com/questions/44094817/why-is-visual-studio-code-telling-me-that-cout-is-not-a-member-of-std-namespace Why is visual studio code telling me that cout is not a member of std namespace? I am trying to setup visual studio code to program in c++. I have already installed the extensions ..
우분투를 포맷하고 다시 설치한 후 그래픽 드라이버를 설치하고 나면 해상도가 고정되고 $ nvidia-smi 입력 시 제대로 출력되지 않는 문제가 발생하였다. 원인은 커널 버전에 따른 오류 라고 보고 있으나 확실하진 않고 https://forums.developer.nvidia.com/t/ubuntu-20-04-4-hp-zbook-studio-g8-mobile-workstation-driver-fails/208836/3 Ubuntu 20.04.4 - HP ZBook Studio G8 Mobile WorkStation - driver fails Hi @generix Many thanks for your solution, after 2 days now the driver work :) By the way, I..

그럼, 어째서 이런 지저분한 카메라로 굳이 영화를 찍는거야? 대학교 4학년 2학기에 휴학을 한 후 집에 있기보다는 차라리 여행을 가자는 생각을 가지고 혼자 부산에 간 적이 있다. 혼자 여행을 가서 숙소에 가면 내가 가장 먼저 하는 행동이 무료영화에 어떤 영화가 있는 지 살펴보는 것이다. 여행 일정을 마친 후에 내가 고른 영화를 보면서 음식과 맥주를 마시며 여행의 마지막 날을 마감하는 것이 나의 혼자여행의 일종의 루틴이기 때문이다. 이때 당시에 일본영화에 관심이 있었고 제목이 인상깊어서 바로 이 영화를 고르고 난 뒤 부산 곳곳을 돌아보다가 저녁에 숙소에 도착을 하여 이 영화를 보았다. 영화를 다 보고 나서는 사실 그렇게까지 인상깊지는 않았는데 숙소의 침대에 누운 후부터 계속 이 영화에 대한 생각에 빠져버렸..
c++ - CMake: failed to run MSBuild command: MSBuild.exe - Stack Overflow 위 게시글 관련 에러가 나도 발생했는데 해결 방법은 2가지를 했는데 뭐가 맞는지는 잘 모르겠다. 1. path 환경변수 (위 게시글 방법) 2. cmake 관리자권한 실행 아마 2인 것 같긴 함

이전 포스팅에서 말했던대로 물체의 개수에 따라서 bvh의 성능이 어떻게 변하는지 확인해보겠습니다. 소스코드는 Ray Tracing: The Next Week https://raytracing.github.io/books/RayTracingTheNextWeek.html For spheres, texture coordinates are usually based on some form of longitude and latitude, _i.e._, spherical coordinates. So we compute $(\theta,\phi)$ in spherical coordinates, where $\theta$ is the angle up from the bottom pole (that is, up from ..

Ray Tracing: The Next Week https://raytracing.github.io/books/RayTracingTheNextWeek.html For spheres, texture coordinates are usually based on some form of longitude and latitude, _i.e._, spherical coordinates. So we compute $(\theta,\phi)$ in spherical coordinates, where $\theta$ is the angle up from the bottom pole (that is, up from -Y), and raytracing.github.io ray tracing을 좀 더 빠르게 해줄 수 있는 bv..

Ray Tracing: The Next Week https://raytracing.github.io/books/RayTracingTheNextWeek.html#rectanglesandlights For spheres, texture coordinates are usually based on some form of longitude and latitude, _i.e._, spherical coordinates. So we compute $(\theta,\phi)$ in spherical coordinates, where $\theta$ is the angle up from the bottom pole (that is, up from -Y), and raytracing.github.io Ray Tracing..