Skip to content

mittpat/meshoui-ray

Repository files navigation

meshouiray

sample viewer_output

Efficient baking of self-shadowing for ambiant, directional and point light sources to texture on CPU. Works by raycasting from uv coordinates on the surface of the model to a light source.

Compiling

  • git submodule update --init --recursive
  • mkdir BUILD & cd BUILD
  • cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ..
  • cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 14 2015 Win64" ..

Notes

Compiled and tested on

  • g++ (Ubuntu 7.3.0-27ubuntu1~18.04)
  • MSVC (Windows 10 x64, MSVC++ 14.0)

License

meshoui is licensed by Patrick Pelletier under the MIT License, see LICENSE for more information.

About

Reference raytracer (CPU)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors