본문 바로가기
Major/Electromagnetics

Ray-Tracing Simulation

by 우프 2025. 3. 25.
반응형

1. NVIDIA Sionna: An Open-Source Library for 6G Physical-Layer Research: https://developer.nvidia.com/sionna

 

Sionna Software

A GPU-accelerated open-source library for 5G and 6G physical-layer research.

developer.nvidia.com

2. Sionna RT: Scene Creation with Blender using OpenStreetMap: https://youtu.be/7xHLDxUaQ7c?si=MbVo_r0IIpgWi6my

3. NVIDIA OptiX™ Ray Tracing Engine: https://developer.nvidia.com/rtx/ray-tracing/optix

 

NVIDIA OptiX™ Ray Tracing Engine

Join this fireside chat with NVIDIA CEO Jensen Huang at SIGGRAPH on July 29.   Register Now NVIDIA OptiX™ Ray Tracing Engine An application framework for achieving optimal ray tracing performance on the GPU. It provides a simple, recursive, and flexible

developer.nvidia.com

  • CUDA Toolkit 설치
  • OptiX SDK 설치
  • Visual Studio 2019 이상 설치 (Optix와 CUDA가 호환되는 환경)
  • Optix Samples: C:\ProgramData\NVIDIA Corporation\OptiX SDK 8.1.0
    (ProgramData 폴더가 보통 숨김폴더로 되어있으니 탐색기 보기설정 변경해야 가능함)
    • CMake 다운로드 & 설치
    • CMake (cmake-gui) 프로그램으로 빌드 가능 (SDK폴더의 "INSTALL-WIN.txt" 참고)
    • CMD(명령프롬프트)로 CMakeLists.txt 파일이 위치한 폴더로 이동 후 CMake 명령 실행
cmake -G "Visual Studio 17 2022" -A x64 ..
  • Visual Studio로 project를 열면, 하나의 solution으로 모든 sample project가 열림 > 여기서 빌드하고 실행하면 모든 project들을 실행시키기 때문에 정상적으로 실행 X > 솔루션 탐색기에서 실행할 프로젝트 마우스 오른쪽 클릭 후 "시작 프로젝트로 설정" 선택후 실행
더보기

CMakeLists.txt

 

If you wish to create your own project and use the SDK as a template there are a number of things you should do.
1. You should copy the contents of the SDK to a place of your choice.
2. You can remove any sample's directory you don't wish to build.  Be careful about  the following directories.
    a. CMake - contains helper scripts that make this all work. You should keep this.
    b. sutil and putil - Almost all of the samples make use of this shared code one way or another, so you should probably keep them until you have your own frameowrk for your code.
    d. data  - This directory contains the cow.obj file used as an example for manny of the samples.  You can move cow.obj anywhere as long as you fix all the file paths in the samples you wish to use it in.
3. You should update the list of sub directories that CMake needs to process below (look for the comment "List of samples found in subdirectories.")

The basic flow of execution of this file is to do the following.
1. Setup the project and other global settings.  This involves processing some helper scripts.
2. Look for external dependencies, CUDA, and OptiX.
3. Process all the subdirectories' CMakeLists.txt files.  These files create all the executable and library targets that are used to build the SDK.
4. As a convenience on Windows, copy the OptiX dlls into the build directories, so OptiX doesn't have to be in the path to run the samples.
5. Set a CMake variable that indicates we have configured for the first time.  This allows us to override and set varibles' defaults while allowing them to be modified later.

4. Blender: 오픈소스 3D 컴퓨터 그래픽 제작 SW, Python 연동

5. Rhino: 3D 컴퓨터 그래픽 제작 SW, C/C++ 연동

반응형