aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/voxel_light_baker.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-2/+2
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Update copyright statements to 2018Rémi Verschelde2018-01-011-4/+3
| | | | Happy new year to the wonderful Godot community!
* -Removed OpenMP support, replaced by a custom class.Juan Linietsky2017-12-241-1/+4
| | | | -Disabled Opus, implementation is wrong.
* Fix lightmapper rngHein-Pieter van Braam2017-12-201-1/+1
| | | | | | | | | | | | | | | In our previous attempts to fix the lightmapper we may have inadvertently introduced the same issue we were trying to fix. It appears that rand() will on some platforms introduce a mutex making it slower and on others may have a per-thread state that would need to be initialized with srand() on each thread. This slows down the lightbaking further. This sets up a separate rng state for each OpenMP thread by calling rand() only in the single-threaded part of the code. We then keep a vector of states. I believe this solves our problems.
* Fix lightbaker clang-format issue and add license headersHein-Pieter van Braam2017-12-201-0/+30
|
* properly plot normal when bakingJuan Linietsky2017-12-191-1/+2
|
* -Add lightmapperJuan Linietsky2017-12-141-0/+148
-Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)