author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
577,488
22.10.2019 22:15:33
-10,800
60e1e78daeec4d6f5960e7fc1fb1ad9b11ce016f
Cleanup component index API.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Scene/Scene.cpp", "new_path": "Source/Urho3D/Scene/Scene.cpp", "diff": "@@ -97,10 +97,10 @@ Scene::~Scene()\ni->second->ResetScene();\n// Validate registry\n- if (registryActive_)\n+ if (registryEnabled_)\n{\nassert(reg_.alive() == 1);\n- for (au...
C++
MIT License
rokups/rbfx
Cleanup component index API.
577,488
23.10.2019 01:14:33
-10,800
6dac52c49f032d61185bd183082d6117bb370e08
Optimize EnTT includes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Scene/Node.h", "new_path": "Source/Urho3D/Scene/Node.h", "diff": "#include \"../Math/Matrix3x4.h\"\n#include \"../Scene/Animatable.h\"\n-#include <entt/entity/registry.hpp>\n+#include <entt/entity/entity.hpp>\n+#include <entt/entity/fwd.hpp>\nnam...
C++
MIT License
rokups/rbfx
Optimize EnTT includes.
577,497
24.10.2019 19:33:18
-7,200
4791c3887cff0be25a9bc873a76c7dd7622b218c
Fix editor leaks
[ { "change_type": "MODIFY", "old_path": "Source/Tools/Toolbox/SystemUI/Widgets.cpp", "new_path": "Source/Tools/Toolbox/SystemUI/Widgets.cpp", "diff": "@@ -34,6 +34,11 @@ namespace ImGui\nstruct UIStateWrapper\n{\n+ ~UIStateWrapper()\n+ {\n+ Unset();\n+ }\n+\nvoid Set(void* state, void(*deleter)(void*...
C++
MIT License
rokups/rbfx
Fix editor leaks
577,488
22.12.2019 18:40:43
-10,800
53a663ccce7a969540977882fa8dca87687d7b1f
Add support of global shader defines.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/Graphics.cpp", "new_path": "Source/Urho3D/Graphics/Graphics.cpp", "diff": "@@ -293,6 +293,12 @@ void Graphics::PrecacheShaders(Deserializer& source)\nShaderPrecache::LoadShaders(this, source);\n}\n+void Graphics::SetGlobalShaderDefines(c...
C++
MIT License
rokups/rbfx
Add support of global shader defines.
577,488
29.12.2019 22:48:09
-10,800
2224d1d7e8a6ecdfa9ccbb81f279b2508a686a96
Rename add-on vector::push_back to vector::append.
[ { "change_type": "MODIFY", "old_path": "Source/Extras/OgreBatchConverter/OgreBatchConverter.cpp", "new_path": "Source/Extras/OgreBatchConverter/OgreBatchConverter.cpp", "diff": "@@ -35,7 +35,7 @@ int main(int argc, char** argv)\nea::vector<ea::string> cmdArgs;\ncmdArgs.push_back(files[i]);\ncmdArgs....
C++
MIT License
rokups/rbfx
Rename add-on vector::push_back to vector::append.
577,488
31.12.2019 01:45:07
-10,800
6a18d56c3b1154b6055debf82a4e17dfdba56a6d
Fix hash collision in D3D11ShaderVariation. Fix collision check in StringHashRegister.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Core/StringHashRegister.cpp", "new_path": "Source/Urho3D/Core/StringHashRegister.cpp", "diff": "@@ -55,7 +55,7 @@ StringHash StringHashRegister::RegisterString(const StringHash& hash, const char\n{\nmap_.populate(hash, string);\n}\n- else if (ite...
C++
MIT License
rokups/rbfx
Fix hash collision in D3D11ShaderVariation. Fix collision check in StringHashRegister.
577,488
27.10.2019 23:50:37
-10,800
2bcae8715b0f538b11f5d68d320d00e3abeccacb
Add thekla into build system.
[ { "change_type": "MODIFY", "old_path": "CMake/Modules/UrhoOptions.cmake", "new_path": "CMake/Modules/UrhoOptions.cmake", "diff": "@@ -93,6 +93,7 @@ _option(URHO3D_STATIC_RUNTIME \"Link to static runtime\"\nset (URHO3D_SSE SSE2 CACHE STRING \"Enable SSE instructions\")\n# Subsystems\n+_option2(URHO3D...
C++
MIT License
rokups/rbfx
Add thekla into build system.
577,488
09.11.2019 21:10:00
-10,800
87e1751d53af566a8622c5043d741d5d01222704
Add embree into build system. Fix Glow integration and compilation.
[ { "change_type": "MODIFY", "old_path": "Source/ThirdParty/CMakeLists.txt", "new_path": "Source/ThirdParty/CMakeLists.txt", "diff": "@@ -46,6 +46,25 @@ if (NOT MINI_URHO)\nif (URHO3D_GLOW)\nadd_subdirectory(thekla)\n+\n+ set (EMBREE_ISPC_SUPPORT OFF CACHE BOOL \"\")\n+ set (EMBREE_TUTORIALS OFF CACHE...
C++
MIT License
rokups/rbfx
Add embree into build system. Fix Glow integration and compilation.
577,488
15.11.2019 00:56:41
-10,800
43c48e3725a46582747f7ab7d2a16aedf7a80d48
Add support of Scene-wise lightmaps for StaticModel-s.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/Batch.cpp", "new_path": "Source/Urho3D/Graphics/Batch.cpp", "diff": "@@ -263,6 +263,11 @@ void Batch::Prepare(View* view, Camera* camera, bool setModelTransform, bool all\n}\n}\n+ if (lightmapScaleOffset_)\n+ {\n+ graphics->SetShaderPara...
C++
MIT License
rokups/rbfx
Add support of Scene-wise lightmaps for StaticModel-s.
577,488
15.11.2019 00:58:02
-10,800
daee3af7862d08c3d46ca4880406f9254e2a2725
Add metadata support for ModelView and NativeModelView. Fix resource metadata.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/ModelView.cpp", "new_path": "Source/Urho3D/Graphics/ModelView.cpp", "diff": "@@ -110,6 +110,7 @@ Vector3 GeometryLODView::CalculateCenter() const\nbool ModelView::ImportModel(const NativeModelView& nativeView)\n{\nvertexFormat_ = ParseVe...
C++
MIT License
rokups/rbfx
Add metadata support for ModelView and NativeModelView. Fix resource metadata.
577,488
15.11.2019 00:59:10
-10,800
9913c69697a7bfe2c19d34d6a2b4ae1ea0fa3c12
Make LightmapUVGenerator provide model metadata.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapUVGenerator.cpp", "new_path": "Source/Urho3D/Glow/LightmapUVGenerator.cpp", "diff": "namespace Urho3D\n{\n+const ea::string LightmapUVGenerationSettings::LightmapSizeKey{ \"LightmapSize\" };\n+const ea::string LightmapUVGenerationSet...
C++
MIT License
rokups/rbfx
Make LightmapUVGenerator provide model metadata.
577,488
16.11.2019 02:13:53
-10,800
f1d8e0ac87c32e2607c7c9998e02d815f3afced1
Add directional light baker for StaticModel-s. HLSL only.
[ { "change_type": "ADD", "old_path": null, "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "+//\n+// Copyright (c) 2008-2019 the Urho3D project.\n+//\n+// Permission is hereby granted, free of charge, to any person obtaining a copy\n+// of this software and associated documentation files ...
C++
MIT License
rokups/rbfx
Add directional light baker for StaticModel-s. HLSL only.
577,488
17.11.2019 20:23:10
-10,800
cdd3436af876d1eef275e4dbe841844d9f6fadfe
Reduce VRAM usage. Cleanup code in LightmapBaker.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "#include \"../Graphics/StaticModel.h\"\n#include \"../Graphics/RenderPath.h\"\n#include \"../Graphics/RenderSurface.h\"\n+#include \"../Graphics/Terrain.h\"\n+#...
C++
MIT License
rokups/rbfx
Reduce VRAM usage. Cleanup code in LightmapBaker.
577,488
20.11.2019 22:32:16
-10,800
04974c906bc34c56c406d50a26a987652215af7d
Prototype indirect lighting via Photon Mapping.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "#include \"../Resource/ResourceCache.h\"\n#include \"../Resource/XMLFile.h\"\n+#include <EASTL/fixed_vector.h>\n+\n// TODO: Use thread pool?\n#include <future>\...
C++
MIT License
rokups/rbfx
Prototype indirect lighting via Photon Mapping.
577,488
21.11.2019 23:10:22
-10,800
258a4610cb2d998bc009b9acdeca9309e52a193b
Use K-D tree instead of sparse hash map for storing photons.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "#include \"../Resource/XMLFile.h\"\n#include <EASTL/fixed_vector.h>\n+#include <EASTL/sort.h>\n// TODO: Use thread pool?\n#include <future>\nnamespace Urho3D\n{...
C++
MIT License
rokups/rbfx
Use K-D tree instead of sparse hash map for storing photons.
577,488
22.11.2019 21:08:25
-10,800
37c46a5375445e11207ec220ff4e3e22e217a026
Add predicate support for K-D tree nearest neighbor search.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -112,11 +112,11 @@ public:\n}\n}\n- template <class U>\n- void CollectNearestElements(U& heap, const Vector3& point, float maxDistanceSquared, unsigned maxEl...
C++
MIT License
rokups/rbfx
Add predicate support for K-D tree nearest neighbor search.
577,488
23.11.2019 13:48:31
-10,800
85fb5b2653a0474c1c4df156651079ff224b96ba
Implement path tracing prototype.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -113,9 +113,10 @@ public:\n}\ntemplate <class Container, class Predicate>\n- void CollectNearestElements(Container& heap, const Vector3& point, float maxDist...
C++
MIT License
rokups/rbfx
Implement path tracing prototype.
577,488
24.11.2019 00:05:38
-10,800
bb38a3fccb797e7381b18ed9d1fe35ded88ad3ca
Add post-process lightmap filtering.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -1137,6 +1137,73 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\n}\n});\n+ IntVector2 offsets[25];\n+ for (int i = 0; i < 25; ++i)\n+ offsets[i...
C++
MIT License
rokups/rbfx
Add post-process lightmap filtering.
577,488
24.11.2019 02:59:31
-10,800
249eb78c9209b59099fd37135175fa7715720676
Add Gauss pre-pass before lightmap filtering.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -1137,6 +1137,56 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\n}\n});\n+ // Gauss pre-pass\n+ {\n+ IntVector2 offsets[9];\n+ for (int i = 0; ...
C++
MIT License
rokups/rbfx
Add Gauss pre-pass before lightmap filtering.
577,488
24.11.2019 15:55:24
-10,800
38b0dafe4146ab3cff9621a2f39f3c7a759efe0f
Add Gauss post-processing pass in lightmap post-processing.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -1254,6 +1254,57 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\n});\n}\n+ // Gauss post-pass\n+ //if (0)\n+ {\n+ IntVector2 offsets[9];\n+ for...
C++
MIT License
rokups/rbfx
Add Gauss post-processing pass in lightmap post-processing.
577,488
10.12.2019 18:40:02
-10,800
13c04a5709f6c810f3c60ddc240fcaf5e994335d
Fix lightmap UV generation settings. Change default texel density.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.h", "new_path": "Source/Urho3D/Glow/LightmapBaker.h", "diff": "@@ -53,7 +53,7 @@ struct LightmapBakingSettings\n/// Lightmap padding.\nunsigned lightmapPadding_{ 2 };\n/// Texel density.\n- unsigned texelDensity_{ 8 };\n+ unsig...
C++
MIT License
rokups/rbfx
Fix lightmap UV generation settings. Change default texel density.
577,488
10.12.2019 20:47:53
-10,800
4e17f227e846c88b65dc27383c3da2bd2306aaee
Extract lightmap charting and geometry baking scene generation into separate files.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "#define _SSIZE_T_DEFINED\n#include \"../Glow/LightmapBaker.h\"\n+#include \"../Glow/LightmapCharter.h\"\n+#include \"../Glow/LightmapGeometryBaker.h\"\n#include...
C++
MIT License
rokups/rbfx
Extract lightmap charting and geometry baking scene generation into separate files.
577,488
11.12.2019 09:17:47
-10,800
f981e86618ad8bbeb88fa012b8afe1ef687b9ace
Simplify LightmapGeometryBaker interface.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "namespace Urho3D\n{\n+static ea::vector<LightmapGeometryBakingScene> GenerateLightmapGeometryBakingScenes(\n+ Context* context, const LightmapChartVector& chart...
C++
MIT License
rokups/rbfx
Simplify LightmapGeometryBaker interface.
577,488
11.12.2019 19:00:12
-10,800
9d82bd8620fb10013196ce5837f2ea6030b6f196
Refactor LightmapChart interface.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapCharter.cpp", "new_path": "Source/Urho3D/Glow/LightmapCharter.cpp", "diff": "@@ -67,14 +67,11 @@ static LightmapChartRegion AllocateLightmapChartRegion(const LightmapChartingSet\n++chartIndex;\n}\n- // Create new chart\n+ // Create d...
C++
MIT License
rokups/rbfx
Refactor LightmapChart interface.
577,488
11.12.2019 19:47:50
-10,800
cb4efde55149ddd417553f48e58bbcf01248b412
Extract lightmap geometry baking into separate file.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "namespace Urho3D\n{\n-static ea::vector<LightmapGeometryBakingScene> GenerateLightmapGeometryBakingScenes(\n- Context* context, const LightmapChartVector& chart...
C++
MIT License
rokups/rbfx
Extract lightmap geometry baking into separate file.
577,488
11.12.2019 21:27:23
-10,800
07b7a24ecdc3aed8924be5e44b34987be6050eb2
Remove Photon Mapping code.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "namespace Urho3D\n{\n-struct KDNearestNeighbour\n-{\n- unsigned index_{};\n- float distanceSquared_{};\n- bool operator < (const KDNearestNeighbour& rhs) const ...
C++
MIT License
rokups/rbfx
Remove Photon Mapping code.
577,488
11.12.2019 21:57:56
-10,800
0a2cc203adc67f05fbeb497817fe87500fb4d60c
Extract Embree scene cooking into separate file.
[ { "change_type": "ADD", "old_path": null, "new_path": "Source/Urho3D/Glow/EmbreeForward.h", "diff": "+//\n+// Copyright (c) 2008-2019 the Urho3D project.\n+//\n+// Permission is hereby granted, free of charge, to any person obtaining a copy\n+// of this software and associated documentation files (t...
C++
MIT License
rokups/rbfx
Extract Embree scene cooking into separate file.
577,488
11.12.2019 22:46:46
-10,800
2296766f3b61d5cf600744942b40025686501c27
Fix LightmapCharter compilation.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapCharter.h", "new_path": "Source/Urho3D/Glow/LightmapCharter.h", "diff": "@@ -98,7 +98,7 @@ struct LightmapChart\nLightmapChart(int width, int height)\n: width_{ static_cast<unsigned>(width) }\n, height_{ static_cast<unsigned>(height)...
C++
MIT License
rokups/rbfx
Fix LightmapCharter compilation.
577,488
13.12.2019 00:43:22
-10,800
564f92303b15e571296bcb7d09a604b7be40ae20
Move max distance calculation into EmbreeScene. Update LightmapGeometryBaker.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "new_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "diff": "#include \"../Graphics/ModelView.h\"\n#include \"../Graphics/StaticModel.h\"\n+#include \"../Graphics/Terrain.h\"\n+#include \"../Graphics/TerrainPatch.h\"\n#includ...
C++
MIT License
rokups/rbfx
Move max distance calculation into EmbreeScene. Update LightmapGeometryBaker.
577,488
13.12.2019 01:14:44
-10,800
17b266ca8e7e73d557c8f36fdd3c317e1baffc1e
Extract directional light tracer into separate file.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "#include \"../Glow/LightmapBaker.h\"\n#include \"../Glow/LightmapCharter.h\"\n#include \"../Glow/LightmapGeometryBaker.h\"\n+#include \"../Glow/LightmapTracer.h...
C++
MIT License
rokups/rbfx
Extract directional light tracer into separate file.
577,488
13.12.2019 13:49:20
-10,800
7511d06d58310800e444e3cf61c793078ef5187a
Add geometry index into EmbreeScene. Reuse baked directional light for indirect light calculation.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "new_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "diff": "@@ -76,21 +76,9 @@ ParsedModelKeyValue ParseModelForEmbree(Model* model)\nreturn { model, modelView };\n}\n-/// Embree geometry desc.\n-struct EmbreeGeometry\n-{\n-...
C++
MIT License
rokups/rbfx
Add geometry index into EmbreeScene. Reuse baked directional light for indirect light calculation.
577,488
13.12.2019 16:28:45
-10,800
2671b4221231db8b2292e3cd995e99064e129cd1
Separate direct and indirect light accumulators.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -72,7 +72,8 @@ struct LightmapBakerImpl\n, charts_(GenerateLightmapCharts(lightReceivers, settings_.charting_))\n, bakingScenes_(GenerateLightmapGeometryBaki...
C++
MIT License
rokups/rbfx
Separate direct and indirect light accumulators.
577,488
13.12.2019 16:46:27
-10,800
521837a9d4796080bedc1e6336d4fde5141aff42
Extract direct light sampling into accumulator.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -305,11 +305,7 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\nVector2 lightmapUV;\nrtcInterpolate0(geometry, rayHit.hit.primID, rayHit.hit.u, ...
C++
MIT License
rokups/rbfx
Extract direct light sampling into accumulator.
577,488
13.12.2019 16:58:23
-10,800
497571486aa1f6d097599a617261ab75b6fe44ee
Extract indirect light baking into separate function.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -232,95 +232,19 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\nBakeDirectionalLight(bakedDirect, bakedGeometry, *impl_->embreeScene_,\n{ light...
C++
MIT License
rokups/rbfx
Extract indirect light baking into separate function.
577,488
13.12.2019 17:58:51
-10,800
48595d6b765f110a291138e2119340ab27b85eab
Extract lightmap filtering into separate functions.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -233,184 +233,22 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\n{ lightDirection, Color::WHITE }, impl_->settings_.tracing_);\n// Calculate in...
C++
MIT License
rokups/rbfx
Extract lightmap filtering into separate functions.
577,488
13.12.2019 22:45:47
-10,800
d03acd42c14ba41f6d257d1f7b38e7a0ef0e939a
Add multiple bounces support in indirect light baking.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "namespace Urho3D\n{\n-/// Size of Embree ray packed.\n-static const unsigned RayPacketSize = 16;\n-\n/// Implementation of lightmap baker.\nstruct LightmapBaker...
C++
MIT License
rokups/rbfx
Add multiple bounces support in indirect light baking.
577,488
15.12.2019 21:13:16
-10,800
dec394d6eb641d595de279eefd65f8f81b399fbb
Refactor filtering code. Increase default amount of indirect samples.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.h", "new_path": "Source/Urho3D/Glow/LightmapBaker.h", "diff": "@@ -56,7 +56,7 @@ struct LightmapBakingSettings\n/// Tracing settings.\nLightmapTracingSettings tracing_;\n/// Number of indirect samples.\n- unsigned numIndirectSa...
C++
MIT License
rokups/rbfx
Refactor filtering code. Increase default amount of indirect samples.
577,488
15.12.2019 21:46:32
-10,800
7c3eeec895ecc59f0fa088d8e507cfbd6c4f250a
Update filter edge-stopping function.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "new_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "diff": "@@ -116,6 +116,25 @@ void FilterIndirectLightNxN(LightmapChartBakedIndirect& bakedIndirect, const Lig\nFilterIndirectLight(bakedIndirect, bakedGeometry, param...
C++
MIT License
rokups/rbfx
Update filter edge-stopping function.
577,488
15.12.2019 22:48:38
-10,800
cf975742631019026e9597d4f790bed2fcf40a86
Refacor filter parameters.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "new_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "diff": "@@ -84,36 +84,21 @@ static Vector3 RandomHemisphereDirection(const Vector3& normal)\nreturn result;\n}\n-/// Fill 2D Gauss kernel.\n-template <int N>\n-void F...
C++
MIT License
rokups/rbfx
Refacor filter parameters.
577,488
15.12.2019 23:11:18
-10,800
dba2c93e1e40073c2ae9b91b0c988e431217f7b6
Tune edge-stopping function according to sample offset.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "new_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "diff": "@@ -302,19 +302,23 @@ void FilterIndirectLight(LightmapChartBakedIndirect& bakedIndirect, const Lightm\nconst Vector3 centerPosition = bakedGeometry.geometryP...
C++
MIT License
rokups/rbfx
Tune edge-stopping function according to sample offset.
577,488
16.12.2019 22:34:13
-10,800
e1cb6589a41c8cda3701dd0469f28e3e84377d4d
Minor changes and fixes for indirect lighting.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -199,8 +199,11 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\n// Post-process lighting.\nconst unsigned numThreads = impl_->settings_.tracing_...
C++
MIT License
rokups/rbfx
Minor changes and fixes for indirect lighting.
577,488
16.12.2019 22:42:42
-10,800
ca2e641cf8d41435398e5830cbfb7e1e7540f7cd
Add option to use pseudo-random sampling for indirect hemisphere.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapSettings.h", "new_path": "Source/Urho3D/Glow/LightmapSettings.h", "diff": "@@ -64,6 +64,8 @@ struct LightmapTracingSettings\nfloat rayPositionOffset_{ 0.001f };\n/// Number of bounces.\nunsigned numBounces_{ 2 };\n+ /// Whether to us...
C++
MIT License
rokups/rbfx
Add option to use pseudo-random sampling for indirect hemisphere.
577,488
17.12.2019 01:07:01
-10,800
8281af14a43ba560c140bca4a0da497b3458e84d
Fix blur kernels. Fix random directions for pseudo-random sampling. Change defaults
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "new_path": "Source/Urho3D/Glow/LightmapBaker.cpp", "diff": "@@ -199,11 +199,7 @@ bool LightmapBaker::BakeLightmap(LightmapBakedData& data)\n// Post-process lighting.\nconst unsigned numThreads = impl_->settings_.tracing_...
C++
MIT License
rokups/rbfx
Fix blur kernels. Fix random directions for pseudo-random sampling. Change defaults
577,488
18.12.2019 00:31:03
-10,800
2d74389f0bbcac601f3420f053fdb742007ec2bb
Use multi-tap lightmap geometry baking to get rid of seams. Render real geometry ID instead of placeholder.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapCharter.h", "new_path": "Source/Urho3D/Glow/LightmapCharter.h", "diff": "@@ -102,6 +102,8 @@ struct LightmapChart\n, allocator_{ width, height, 0, 0, false }\n{\n}\n+ /// Return size of the lightmap texel, in UV.\n+ Vector2 GetTexelS...
C++
MIT License
rokups/rbfx
Use multi-tap lightmap geometry baking to get rid of seams. Render real geometry ID instead of placeholder.
577,488
19.12.2019 00:52:45
-10,800
4c7479022cb364fdda73b8763c2fde90ee2f56ad
Create placeholders for high-level lightmapper utilities.
[ { "change_type": "ADD", "old_path": null, "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "+//\n+// Copyright (c) 2008-2019 the Urho3D project.\n+//\n+// Permission is hereby granted, free of charge, to any person obtaining a copy\n+// of this software and associated documentati...
C++
MIT License
rokups/rbfx
Create placeholders for high-level lightmapper utilities.
577,488
19.12.2019 01:32:13
-10,800
8b920320f2f3843083ced421e0e892001832d9b5
Refactor lightmapper settings.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "namespace Urho3D\n{\n-void IncrementalLightmapper::PrepareForBaking(Scene* scene, LightmapSceneCollector* collector, float chunkSize)\n+void I...
C++
MIT License
rokups/rbfx
Refactor lightmapper settings.
577,488
20.12.2019 00:56:32
-10,800
117c321ecb26d78e8e8d28302db7d10ca55645b7
Implement incremental lightmap charting.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/IncrementalLightmapper.h\"\n+#include <EASTL/algorithm.h>\n+#include <EASTL/numeric.h>\n+#include <EASTL/sort.h>\n+\nnamesp...
C++
MIT License
rokups/rbfx
Implement incremental lightmap charting.
577,488
20.12.2019 22:23:16
-10,800
2bc33c4b58787621f4af62f04425b9cf11bb1ca1
Change default chunking algorithm. Minor cleanup.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "new_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "diff": "namespace Urho3D\n{\n-/// Calculate bounding box of nodes.\n-BoundingBox CalculateBoundingBoxOfNodes(const ea::vector<Node*>& nodes)\n+namespace\n{\n- BoundingBox b...
C++
MIT License
rokups/rbfx
Change default chunking algorithm. Minor cleanup.
577,488
21.12.2019 00:24:54
-10,800
0972d08c09cc9cac4dd81042ce0fcdc70306a70f
Cache baked geometry instead of charts.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/IncrementalLightmapper.h\"\n+#include \"../Glow/LightmapCharter.h\"\n+#include \"../Glow/LightmapGeometryBaker.h\"\n+\n#inc...
C++
MIT License
rokups/rbfx
Cache baked geometry instead of charts.
577,488
21.12.2019 01:51:12
-10,800
08ecfd75cae5a5e813f9cf95db8c9e0f66256ce9
Cache EmbreeScene. Use real lightmap index in indirect light calculation. Minor changes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "new_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "diff": "@@ -101,7 +101,7 @@ RTCGeometry CreateEmbreeGeometry(RTCDevice embreeDevice, const GeometryLODView&\n/// Create Embree geometry from parsed model.\nea::vector<Embre...
C++
MIT License
rokups/rbfx
Cache EmbreeScene. Use real lightmap index in indirect light calculation. Minor changes.
577,488
21.12.2019 02:52:58
-10,800
74d9a9f85b0652ef237abbf8ee9e72a57c923204
Add incremental direct light baking.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/EmbreeScene.h\"\n#include \"../Glow/LightmapCharter.h\"\n#include \"../Glow/LightmapGeometryBaker.h\"\n+#include \"../Glow/...
C++
MIT License
rokups/rbfx
Add incremental direct light baking.
577,488
21.12.2019 14:11:35
-10,800
97049c3390c97d3146ce86647f2d5574a5349ef3
Finalize incremental lightmapper for direct lighting. Refactoring here and there.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/LightmapCharter.h\"\n#include \"../Glow/LightmapGeometryBaker.h\"\n#include \"../Glow/LightmapTracer.h\"\n+#include \"../Re...
C++
MIT License
rokups/rbfx
Finalize incremental lightmapper for direct lighting. Refactoring here and there.
577,488
21.12.2019 16:11:34
-10,800
5dd430ca24d40a0d3ebcf78c38ebe26e899e2636
Support lightmap in scene components. Use real lights in incremental lightmapper.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "@@ -191,16 +191,33 @@ struct IncrementalLightmapperImpl\nreturn true;\n// Collect nodes around current chunk\n+ // TODO: Use separate volumes ...
C++
MIT License
rokups/rbfx
Support lightmap in scene components. Use real lights in incremental lightmapper.
577,488
21.12.2019 16:37:46
-10,800
fe8d93528e50b86972f7677f21831f46b3dd8c74
Add indirect light baking and filtering in incremental lightmapper. Remove old lightmapper.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "@@ -93,6 +93,11 @@ struct DirectLightBakingContext : public BaseIncrementalContext\n{\n};\n+/// Context used for indirect light baking.\n+stru...
C++
MIT License
rokups/rbfx
Add indirect light baking and filtering in incremental lightmapper. Remove old lightmapper.
577,488
21.12.2019 18:39:19
-10,800
c0d41fd8b1503ddf62699cd549c3c7b9f407c4d6
Add lightmapping component usable from the Editor.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/EmbreeScene.h", "new_path": "Source/Urho3D/Glow/EmbreeScene.h", "diff": "#pragma once\n#include \"../Container/Ptr.h\"\n-#include \"../Glow/LightmapSettings.h\"\n#include \"../Glow/EmbreeForward.h\"\n+#include \"../Graphics/LightmapSettings....
C++
MIT License
rokups/rbfx
Add lightmapping component usable from the Editor.
577,488
21.12.2019 21:21:57
-10,800
a1f9921db320a2bec0a5f461a1c4bf43d0d5880e
Fix build. Minor changes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/CMakeLists.txt", "new_path": "Source/Urho3D/CMakeLists.txt", "diff": "@@ -66,7 +66,7 @@ if (NOT MINI_URHO)\nendif ()\nif (URHO3D_GLOW)\n- define_engine_source_files (GLOW)\n+ define_engine_source_files (Glow)\nendif ()\nif (URHO3D_IK)\n" }, {...
C++
MIT License
rokups/rbfx
Fix build. Minor changes.
577,488
22.12.2019 23:40:58
-10,800
be6775f5e62ca85d48b474dd1f20f12976789506
Implement SH calculation from cube texture.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/TextureCube.cpp", "new_path": "Source/Urho3D/Graphics/TextureCube.cpp", "diff": "@@ -333,6 +333,58 @@ SharedPtr<Image> TextureCube::GetImage(CubeMapFace face) const\nreturn SharedPtr<Image>(rawImage);\n}\n+Vector3 TextureCube::GetTexelOf...
C++
MIT License
rokups/rbfx
Implement SH calculation from cube texture.
577,488
23.12.2019 01:42:13
-10,800
2a94d0cb8d84a775000f99b6e82acb426fe41977
Optimize SH for GPU evaluation.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/SphericalHarmonics.h", "new_path": "Source/Urho3D/Math/SphericalHarmonics.h", "diff": "#include \"../Math/Color.h\"\n#include \"../Math/Vector3.h\"\n+#include \"../Math/Vector4.h\"\nnamespace Urho3D\n{\n@@ -81,7 +82,7 @@ struct SphericalHarm...
C++
MIT License
rokups/rbfx
Optimize SH for GPU evaluation.
577,488
24.12.2019 03:25:23
-10,800
e38fd3f3fb1dc3a8ac0e5960d9ebed18d5693969
Implement per-instance ambient lighting.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/Batch.cpp", "new_path": "Source/Urho3D/Graphics/Batch.cpp", "diff": "@@ -675,10 +675,21 @@ void BatchGroup::SetInstancingData(void* lockedData, unsigned stride, unsigned&\nconst InstanceData& instance = instances_[i];\nmemcpy(buffer, ins...
C++
MIT License
rokups/rbfx
Implement per-instance ambient lighting.
577,488
24.12.2019 22:15:38
-10,800
a195af45a240f870ea4a7225ccc02e90db1e24be
Add mixed lighting support. Minor fixes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "@@ -213,7 +213,8 @@ struct IncrementalLightmapper::Impl\n{\nBakedDirectLight bakedLight;\nbakedLight.lightType_ = light->GetLightType();\n- ba...
C++
MIT License
rokups/rbfx
Add mixed lighting support. Minor fixes.
577,488
24.12.2019 22:52:09
-10,800
5653157ddedc4a164bb5da0c417b6b13f6d098a3
Fix HLSL shaders.
[ { "change_type": "MODIFY", "old_path": "bin/CoreData/Shaders/HLSL/LitSolid.hlsl", "new_path": "bin/CoreData/Shaders/HLSL/LitSolid.hlsl", "diff": "@@ -267,8 +267,7 @@ void PS(\nfinalColor += iVertexLight * diffColor.rgb;\n#ifdef LIGHTMAP\nfinalColor += Sample2D(EmissiveMap, iTexCoord2).rgb * diffColo...
C++
MIT License
rokups/rbfx
Fix HLSL shaders.
577,488
25.12.2019 00:52:15
-10,800
eab8a3b953aa4253fd514f76f3ee90d3a55ea37b
Port shaders to DX9 and OpenGL. Fix skinned geometry ambient.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/Batch.cpp", "new_path": "Source/Urho3D/Graphics/Batch.cpp", "diff": "@@ -245,6 +245,7 @@ void Batch::Prepare(View* view, Camera* camera, bool setModelTransform, bool all\n// Set model or skinning transforms\nif (setModelTransform && grap...
C++
MIT License
rokups/rbfx
Port shaders to DX9 and OpenGL. Fix skinned geometry ambient.
577,488
27.12.2019 01:34:22
-10,800
e93b45f6d182a013e72fe497db3de5fa08ade7ca
Add lightmap seams search. Pass lightmap UV channel explicitly when needed.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "new_path": "Source/Urho3D/Glow/EmbreeScene.cpp", "diff": "@@ -58,7 +58,7 @@ ParsedModelKeyValue ParseModelForEmbree(Model* model)\n/// Create Embree geometry from geometry view.\nRTCGeometry CreateEmbreeGeometry(RTCDevice ...
C++
MIT License
rokups/rbfx
Add lightmap seams search. Pass lightmap UV channel explicitly when needed.
577,488
27.12.2019 23:36:41
-10,800
65c7b77e15e5b67a02c93c9326a9a531901c06e7
Create lightmap stitcher placeholder. Remove redundant pass of IncrementalLightmapper. Make lightmap charts have fixed size.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/EmbreeScene.h\"\n#include \"../Glow/LightmapCharter.h\"\n#include \"../Glow/LightmapGeometryBaker.h\"\n+#include \"../Glow/...
C++
MIT License
rokups/rbfx
Create lightmap stitcher placeholder. Remove redundant pass of IncrementalLightmapper. Make lightmap charts have fixed size.
577,488
28.12.2019 00:43:02
-10,800
97bbd694d26bf0c684b2218081d9b27f9eaee895
Implement basic lightmap stitching.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/LightmapGeometryBaker.h\"\n#include \"../Glow/LightmapStitcher.h\"\n#include \"../Glow/LightmapTracer.h\"\n+#include \"../G...
C++
MIT License
rokups/rbfx
Implement basic lightmap stitching.
577,488
28.12.2019 02:28:58
-10,800
3aa6cd24abc61422dd52eba7ff9e00a54fc200d9
Use multitap seam stitching.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "@@ -324,8 +324,12 @@ struct IncrementalLightmapper::Impl\nFilterIndirectLight(bakedIndirect, *geometryBuffer, { 5, 1, 10.0f, 4.0f, 1.0f }, lig...
C++
MIT License
rokups/rbfx
Use multitap seam stitching.
577,488
28.12.2019 03:27:50
-10,800
d0a8e0f3fcd6310c88825e842ae6ae9ff90c2285
Replace thekla with xatlas. Minor fixes and changes in stitching.
[ { "change_type": "MODIFY", "old_path": "Source/ThirdParty/CMakeLists.txt", "new_path": "Source/ThirdParty/CMakeLists.txt", "diff": "@@ -46,6 +46,7 @@ if (NOT MINI_URHO)\nif (URHO3D_GLOW)\nadd_subdirectory(thekla)\n+ add_subdirectory(xatlas)\nset (EMBREE_ISPC_SUPPORT OFF CACHE BOOL \"\")\nset (EMBREE...
C++
MIT License
rokups/rbfx
Replace thekla with xatlas. Minor fixes and changes in stitching.
577,488
28.12.2019 16:28:04
-10,800
57c1f71255b3281092b15db22fb2aefd1d694d23
Add LightProbeGroup. Minor changes in math and serialization.
[ { "change_type": "MODIFY", "old_path": "Source/Samples/105_Serialization/Serialization.cpp", "new_path": "Source/Samples/105_Serialization/Serialization.cpp", "diff": "@@ -223,8 +223,8 @@ bool SerializeValue(Archive& archive, const char* name, ContainerStruct& value)\nif (auto block = archive.OpenUn...
C++
MIT License
rokups/rbfx
Add LightProbeGroup. Minor changes in math and serialization.
577,488
28.12.2019 16:43:25
-10,800
971a2e0339eba38cc84c5aa8af30a86d7c956784
Make LightProbeGroup rebuild when scaled in Editor. Fix build.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/LightProbeGroup.cpp", "new_path": "Source/Urho3D/Graphics/LightProbeGroup.cpp", "diff": "@@ -128,4 +128,19 @@ VariantBuffer LightProbeGroup::GetLightProbesData() const\nreturn buffer.GetBuffer();\n}\n+void LightProbeGroup::OnNodeSet(Node...
C++
MIT License
rokups/rbfx
Make LightProbeGroup rebuild when scaled in Editor. Fix build.
577,488
28.12.2019 21:25:47
-10,800
16d135cc711d250958facc4261b5dd232eddfb84
Refactor SH. Minor changes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/LightProbeGroup.cpp", "new_path": "Source/Urho3D/Graphics/LightProbeGroup.cpp", "diff": "@@ -60,7 +60,8 @@ void LightProbeGroup::DrawDebugGeometry(DebugRenderer* debug, bool depthTest)\nfor (const LightProbe& probe : lightProbes_)\n{\nco...
C++
MIT License
rokups/rbfx
Refactor SH. Minor changes.
577,488
29.12.2019 00:50:09
-10,800
b84fcced8efa32756e2a253aa6246b7cf994915b
Create global illumination manager placeholder. Start implementing tetrahedralization.
[ { "change_type": "ADD", "old_path": null, "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "+//\n+// Copyright (c) 2008-2019 the Urho3D project.\n+//\n+// Permission is hereby granted, free of charge, to any person obtaining a copy\n+// of this software and associated documentati...
C++
MIT License
rokups/rbfx
Create global illumination manager placeholder. Start implementing tetrahedralization.
577,488
29.12.2019 02:15:59
-10,800
5287626fe401db5ae6b2b15d99a9ec045ce4cf46
Implement tetrahedron circumsphere calculation. Fix build.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -37,6 +37,31 @@ namespace Urho3D\nnamespace\n{\n+/// Calculate circumsphere of the tetrahedron.\n+Sphere CalculateTetrahedronCircumsphere(c...
C++
MIT License
rokups/rbfx
Implement tetrahedron circumsphere calculation. Fix build.
577,488
29.12.2019 16:47:04
-10,800
0b6be64a9d02a7f709bda4d0617d149d0a685281
Improve light probe mesh debug rendering.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "#include \"../Core/Context.h\"\n#include \"../Graphics/DebugRenderer.h\"\n-#include \"../Graphics/LightProbeGroup.h\"\n#include \"../Scene/Sce...
C++
MIT License
rokups/rbfx
Improve light probe mesh debug rendering.
577,488
29.12.2019 21:16:28
-10,800
45979dac940c9a574c6d52d19072056558a1fc9f
Implement light probe interpolation for drawables.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/Drawable.cpp", "new_path": "Source/Urho3D/Graphics/Drawable.cpp", "diff": "@@ -101,6 +101,8 @@ void Drawable::RegisterObject(Context* context)\nURHO3D_ATTRIBUTE(\"Light Mask\", int, lightMask_, DEFAULT_LIGHTMASK, AM_DEFAULT);\nURHO3D_ATT...
C++
MIT License
rokups/rbfx
Implement light probe interpolation for drawables.
577,488
29.12.2019 23:08:40
-10,800
3710ac225254a9f3f6f24fb8e7789ae359cda733
Extract common code into LightProbeCollection.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -469,8 +469,8 @@ void GlobalIllumination::DrawDebugGeometry(DebugRenderer* debug, bool depthTest)\nconst Vector3& startPos = lightProbesMes...
C++
MIT License
rokups/rbfx
Extract common code into LightProbeCollection.
577,488
29.12.2019 23:26:27
-10,800
50d30e50313e35b7aa1374034daa942de6fe7b15
Refactor indirect tracing code.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "@@ -313,11 +313,8 @@ struct IncrementalLightmapper::Impl\nLightmapChartBakedIndirect bakedIndirect{ geometryBuffer->width_, geometryBuffer->he...
C++
MIT License
rokups/rbfx
Refactor indirect tracing code.
577,488
30.12.2019 00:20:55
-10,800
9076e03fff03dfbc37cbe52182877595d29d9dd6
Generalize indirect light tracer.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "new_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "diff": "@@ -144,89 +144,70 @@ float CalculateEdgeWeight(\nreturn std::exp(0.0f - colorWeight - positionWeight) * normalWeight;\n}\n-}\n-\n-ea::vector<LightmapChartBak...
C++
MIT License
rokups/rbfx
Generalize indirect light tracer.
577,488
30.12.2019 01:46:40
-10,800
7d719504ae823fa63120d0b20dff0bbd582e01d4
Bake light probes. Minor fixes and changes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "new_path": "Source/Urho3D/Glow/IncrementalLightmapper.cpp", "diff": "#include \"../Glow/LightmapGeometryBaker.h\"\n#include \"../Glow/LightmapStitcher.h\"\n#include \"../Glow/LightmapTracer.h\"\n+#include \"../G...
C++
MIT License
rokups/rbfx
Bake light probes. Minor fixes and changes.
577,488
30.12.2019 21:33:52
-10,800
f13fbb2e322564ca0079d08130939a1971f94923
Add URHO3D_SPHERICAL_HARMONICS define guard. Add SH lighting prototype.
[ { "change_type": "MODIFY", "old_path": "CMake/Modules/UrhoOptions.cmake", "new_path": "CMake/Modules/UrhoOptions.cmake", "diff": "@@ -114,6 +114,7 @@ else ()\nset (URHO3D_WITH_MONO ON)\nendif ()\n_option2(URHO3D_FILEWATCHER \"Watch filesystem for resource changes\" ${URHO3D_ENABLE_ALL} \"URHO3D_THRE...
C++
MIT License
rokups/rbfx
Add URHO3D_SPHERICAL_HARMONICS define guard. Add SH lighting prototype.
577,488
31.12.2019 02:09:28
-10,800
ce3bd6f40949ee6861b6e338be5a27915c5b21a6
Implement experimental spherical harmonics for OpenGL.
[ { "change_type": "MODIFY", "old_path": "bin/CoreData/Shaders/GLSL/Lighting.glsl", "new_path": "bin/CoreData/Shaders/GLSL/Lighting.glsl", "diff": "@@ -4,13 +4,69 @@ vec3 GetAmbient(float zonePos)\nreturn cAmbientStartColor + zonePos * cAmbientEndColor;\n}\n-// TODO(glow): Use spherical harmonics\n+ve...
C++
MIT License
rokups/rbfx
Implement experimental spherical harmonics for OpenGL.
577,488
01.01.2020 14:18:04
-10,800
6ddea9615b1eff8989ea6a6c6fb78c1ff85ac0ad
Add hull normals generation. Minor fixes.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "new_path": "Source/Urho3D/Glow/LightmapTracer.cpp", "diff": "@@ -259,10 +259,6 @@ struct LightProbeIndirectTracingKernel\n{\nconst SphericalHarmonicsDot9 sh{ element.sh_ * (M_PI / element.weight_) };\ncollection_->light...
C++
MIT License
rokups/rbfx
Add hull normals generation. Minor fixes.
577,488
01.01.2020 22:25:58
-10,800
38afafc759f309fd26fe8607a5b8227d5a2605d8
Split arrays in triangulation. Rename things.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -38,7 +38,7 @@ namespace\n{\n/// Calculate circumsphere of the tetrahedron.\n-Sphere CalculateTetrahedronCircumsphere(const AdjacentTetrahe...
C++
MIT License
rokups/rbfx
Split arrays in triangulation. Rename things.
577,488
01.01.2020 22:39:22
-10,800
e73b259b0465441b056f958314eb4d837f43e399
Move InitializeTetrahedralMesh inside class.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -65,60 +65,6 @@ Sphere CalculateTetrahedronCircumsphere(const Tetrahedron& cell, const ea::vecto\nreturn { center, radius + eps };\n}\n-///...
C++
MIT License
rokups/rbfx
Move InitializeTetrahedralMesh inside class.
577,488
01.01.2020 22:42:21
-10,800
b54e789d72d6d805cdb0227a81b281b0381d9d3c
Make AddTetrahedralMeshVertices work inplace.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -189,12 +189,11 @@ bool IsTetrahedralMeshAdjacencyValid(const TetrahedralMesh& mesh)\nvoid AddTetrahedralMeshVertices(TetrahedralMesh& mesh...
C++
MIT License
rokups/rbfx
Make AddTetrahedralMeshVertices work inplace.
577,488
01.01.2020 22:50:14
-10,800
0ec710d7fdc2e2c197a53407f55abe360d13310f
Move GetTetrahedronCircumsphere and GetInnerBarycentricCoords inside class. Some renaming.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -37,49 +37,12 @@ namespace Urho3D\nnamespace\n{\n-/// Calculate circumsphere of the tetrahedron.\n-Sphere CalculateTetrahedronCircumsphere(...
C++
MIT License
rokups/rbfx
Move GetTetrahedronCircumsphere and GetInnerBarycentricCoords inside class. Some renaming.
577,488
01.01.2020 23:04:59
-10,800
d805e48d09c29b134ac67512783cddce4229ac2b
Cleanup TetrahedralMeshHoleFace.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -46,34 +46,12 @@ struct DelaunayAuxiliaryData\nbool bad_{};\n};\n-/// Face of the hole in tetrahedral mesh.\n-struct TetrahedralMeshHoleFac...
C++
MIT License
rokups/rbfx
Cleanup TetrahedralMeshHoleFace.
577,488
01.01.2020 23:19:40
-10,800
06a4ca8469abab307985f370337d3529bb016d83
Move GetTetrahedronHoleFace into class.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -46,22 +46,6 @@ struct DelaunayAuxiliaryData\nbool bad_{};\n};\n-/// Return face of the tetrahedron.\n-TetrahedralMeshSurfaceTriangle GetTe...
C++
MIT License
rokups/rbfx
Move GetTetrahedronHoleFace into class.
577,488
01.01.2020 23:27:33
-10,800
edaea25253383d23e9cc6db0859ffde230a50f1a
Move related code into TetrahedralMeshSurface. Rename things.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -46,32 +46,6 @@ struct DelaunayAuxiliaryData\nbool bad_{};\n};\n-/// Add triangle to hole mesh.\n-void AddTriangleToHole(ea::vector<Tetrahe...
C++
MIT License
rokups/rbfx
Move related code into TetrahedralMeshSurface. Rename things.
577,488
01.01.2020 23:33:40
-10,800
9c66774325bb986ff93b7672f2a5feac1d44b589
Move IsHoleMeshConnected into class.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -46,25 +46,6 @@ struct DelaunayAuxiliaryData\nbool bad_{};\n};\n-/// Return whether the hole mesh is fully connected.\n-bool IsHoleMeshConn...
C++
MIT License
rokups/rbfx
Move IsHoleMeshConnected into class.
577,488
01.01.2020 23:51:21
-10,800
b20b411da1b74e8460c2c42539b41138d24d60e6
Get rid of DelaunayAuxiliaryData.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -69,9 +69,13 @@ bool IsTetrahedralMeshAdjacencyValid(const TetrahedralMesh& mesh)\nvoid AddTetrahedralMeshVertices(TetrahedralMesh& mesh, e...
C++
MIT License
rokups/rbfx
Get rid of DelaunayAuxiliaryData.
577,488
02.01.2020 00:05:20
-10,800
f44d6ea8dc5f200099bb2c950b783fe02b51061c
Move the rest of the functions into Tetrahedron class. Add error reporting.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "#include \"../Graphics/GlobalIllumination.h\"\n#include \"../Core/Context.h\"\n+#include \"../IO/Log.h\"\n#include \"../Graphics/DebugRenderer...
C++
MIT License
rokups/rbfx
Move the rest of the functions into Tetrahedron class. Add error reporting.
577,488
02.01.2020 01:41:31
-10,800
ee6dd05c19ea0705b743105431ec2366f81e6bd3
Move local variables into struct.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "new_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "diff": "@@ -126,41 +126,40 @@ void TetrahedralMesh::InitializeSuperMesh(const BoundingBox& boundingBox)\nvoid TetrahedralMesh::BuildTetrahedrons(ea::span<const Vect...
C++
MIT License
rokups/rbfx
Move local variables into struct.
577,488
02.01.2020 02:03:53
-10,800
c0e4f4f694084acdbe62d24aec1bb92a5f21fbb6
Extract code into FindAndRemoveIntersected. Minor cleanup and renaming.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "new_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "diff": "@@ -138,105 +138,40 @@ void TetrahedralMesh::BuildTetrahedrons(ea::span<const Vector3> positions)\n}\n// Triangulate\n+ TetrahedralMeshSurface holeSurface;\...
C++
MIT License
rokups/rbfx
Extract code into FindAndRemoveIntersected. Minor cleanup and renaming.
577,488
02.01.2020 02:16:00
-10,800
9940319f04cad69f4f3d1d8f354ee16b0ea98067
Append all vertices at once in TetrahedralMesh::BuildTetrahedrons.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "new_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "diff": "@@ -126,35 +126,34 @@ void TetrahedralMesh::InitializeSuperMesh(const BoundingBox& boundingBox)\nvoid TetrahedralMesh::BuildTetrahedrons(ea::span<const Vect...
C++
MIT License
rokups/rbfx
Append all vertices at once in TetrahedralMesh::BuildTetrahedrons.
577,488
02.01.2020 19:11:19
-10,800
2c546006380434a6c5102b3fbbfa46e402d28420
Extract code into TetrahedralMesh::FillStarShapedHole.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "new_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "diff": "@@ -161,24 +161,8 @@ void TetrahedralMesh::BuildTetrahedrons(ea::span<const Vector3> positions)\nctx.removed_.push_back(true);\n}\n- for (unsigned i = 0; i ...
C++
MIT License
rokups/rbfx
Extract code into TetrahedralMesh::FillStarShapedHole.
577,488
02.01.2020 19:22:48
-10,800
bb3d031675aed0ba3babb5c1ad99f9528be91837
Extract code into TetrahedralMesh::DisconnectSuperMeshTetrahedrons.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "new_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "diff": "@@ -74,8 +74,7 @@ Sphere TetrahedralMesh::GetTetrahedronCircumsphere(unsigned tetIndex) const\nvoid TetrahedralMesh::InitializeSuperMesh(const BoundingBox& ...
C++
MIT License
rokups/rbfx
Extract code into TetrahedralMesh::DisconnectSuperMeshTetrahedrons.
577,488
02.01.2020 19:31:07
-10,800
79b90219cdb1b695e34cf1dbc7ea5170f37db4b1
Extract code into TetrahedralMesh::RemoveMarkedTetrahedrons and RemoveSuperMeshVertices.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "new_path": "Source/Urho3D/Math/TetrahedralMesh.cpp", "diff": "@@ -165,40 +165,8 @@ void TetrahedralMesh::BuildTetrahedrons(ea::span<const Vector3> positions)\n}\nDisconnectSuperMeshTetrahedrons(ctx.removed_);\n-\n- // ...
C++
MIT License
rokups/rbfx
Extract code into TetrahedralMesh::RemoveMarkedTetrahedrons and RemoveSuperMeshVertices.
577,488
02.01.2020 19:57:35
-10,800
c3185866922cef52cd95a32c091f3cea4fb5d5bf
Build hull surface. Move GenerateHullNormals into TetrahedralMesh.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "namespace Urho3D\n{\n-namespace\n-{\n-\n-void GenerateHullNormals(TetrahedralMesh& mesh)\n-{\n- mesh.hullNormals_.resize(mesh.vertices_.size()...
C++
MIT License
rokups/rbfx
Build hull surface. Move GenerateHullNormals into TetrahedralMesh.
577,488
02.01.2020 20:18:57
-10,800
090466042a277c094acef0b4b2de5ff20c8cb91e
Generate outer tetrahedrons.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -47,31 +47,38 @@ void GlobalIllumination::RegisterObject(Context* context)\nvoid GlobalIllumination::DrawDebugGeometry(DebugRenderer* debug...
C++
MIT License
rokups/rbfx
Generate outer tetrahedrons.
577,488
02.01.2020 22:29:58
-10,800
dc0f6d3cbf17bb6d81cd13e7c25ae77798b26637
Implement outer tetrahedrons interpolation.
[ { "change_type": "MODIFY", "old_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "new_path": "Source/Urho3D/Graphics/GlobalIllumination.cpp", "diff": "@@ -103,14 +103,16 @@ void GlobalIllumination::CompileLightProbes()\nVector4 GlobalIllumination::SampleLightProbeMesh(const Vector3& position,...
C++
MIT License
rokups/rbfx
Implement outer tetrahedrons interpolation.