summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_scene.cpp
AgeCommit message (Collapse)Author
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-07-27Rename flag to better nameJuan Linietsky
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-23Fix issues with CPUParticles and related conversion from Particles. Closes ↵Juan Linietsky
#20126
2018-07-21-Fix disable_3d flagJuan Linietsky
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-17Revert "Fix #19507 Not emitted particles affects performance"Max Hilbrunner
2018-07-17Merge pull request #19764 from malbach/godot_malbachMax Hilbrunner
Fix #19507 Not emitted particles affects performance
2018-07-03Hacked around duplication bug. I think duplicate needs to be even smarter, ↵Juan Linietsky
maybe pass two bools? (containers and/or resources)
2018-06-25Fix #19507 Not emitted particles affects performancemalbach
2018-06-23Fix typo in y shiftBastiaan Olij
2018-06-11Moved culling, updated lights and shadows into a prepare function so it is ↵Bastiaan Olij
only called once for stereo rendering
2018-03-15Merge pull request #17248 from Cygon/implement-extra-culling-marginHein-Pieter van Braam
Apply culling margin (fixes issue #16115)
2018-03-13Fixed several leaks in VisualServerScene, RasterizerSceneGLES3 and ↵Wilson E. Alvarez
RasterizerGLES3
2018-03-04Implement VisualServerScene::instance_set_extra_visibility_margin() method ↵Markus Ewald
to actually apply extra culling margin and mark instance AABB dirty
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-06Properly dispose of instance capture data, fixes #14795Juan Linietsky
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-14-Add lightmapperJuan Linietsky
-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)
2017-12-09Fix #14429 GIProbe does not work with SpotLightsPrzemyslaw Czarnota
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-06Fixes to some thread safety situations to avoid GIProbe from freezing on ↵Juan Linietsky
save. Fixes #13338
2017-12-06Attempt to see if this can solve the problem with #13338Juan Linietsky
2017-11-25Fixed issue with 3D selections losing precsion due to an offset bugBenH
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-20Implement per-instance custom bounding boxMarc Gilleron
# Conflicts: # servers/visual/visual_server_scene.h
2017-11-19Ability to change indirect light energy.Juan Linietsky
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-10-04Fix GIProbe light visibilityHiroshi Ogawa
- Fix https://github.com/godotengine/godot/issues/10535
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Fix various assorted warningsHein-Pieter van Braam
Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-07Several fixes to directional shadows, closes #10926Juan Linietsky
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde
Fix signed and unsigned comparisons
2017-09-01Removed ontop property, added a material rendering priority system. Fixes ↵Juan Linietsky
#9935, closes #10135
2017-09-01Fix signed and unsigned comparisonsHein-Pieter van Braam
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-29Fix #10723, a regression from 7a07895Bojidar Marinov
Using @akien-mga's patch
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-26-Massive clean up to gizmosJuan Linietsky
-Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
2017-08-19-Fix all shadow and culling related issues, fixes #9330Juan Linietsky
2017-08-19Fixed wrong usage of has_no_area function, closes #10434Juan Linietsky
2017-08-18Properly manage drawing of primitives when they lack an area, fixes #8930Juan Linietsky
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Rename cull_AABB to cull_aabbRémi Verschelde
Part of #8830.
2017-08-07-Fixed BoneAttachment delay, closes #3966Juan Linietsky
-Fixed skeleton crash, probably fixes other issues
2017-08-07Makes all Godot API's methods Lower CaseIndah Sylvia
2017-07-31Merge pull request #8567 from BastiaanOlij/ar_vr_serverRémi Verschelde
AR/VR base classes and position tracker support