Skip to content

gzfrozen/EM_tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EM_tracing

About the name

'EM' means 'Electromagnetic Waves'. However not many EM related functions at this point.

Introduction

EM_tracing is a software based on Nvidia Optix Ray Tracing Engine. A big part of the code came from ingowald/optix7course.

Building the code

This code requires CMake (version 3.18 or higher) to build. MSVC 2019 and Clang 10.0.0 C++ compiler under Windows 10 has been tested to build successfully. (Theoretically other combinations of compilers and OS like GCC under Linux should also work)

Dependencies

Important settings and parameters

set_target_properties(CudaPTX PROPERTIES
...
CUDA_ARCHITECTURES 75-real # Set your GPU architecture (important)
...
)
  • Also in /CMakeLists.txt, _OBJ_FILE. Change it to match your .obj file path
#Set your OBJ file path
target_compile_definitions(EM_tracing PUBLIC _OBJ_FILE="${PROJECT_SOURCE_DIR}/models/sponza.obj")

Controlling

  • Use left, middle, right mouse button to drag and scroll
  • Press w, s, a, d to move
  • Press =, - to control drag speed, alt + =, - to control move speed
  • Press p, l to switch between pin-hole camera and 360 degree camera (not working properly at the moment)
  • Press r, t to switch between normal rendering mode and phase detection mode
  • Press c to check current camera information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published