virtualx-engine/editor
jfons 16bbe8ddf4
3D editor grid improvements
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.

I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.

(cherry picked from commit 73e62dffb9)
2021-02-02 13:30:50 +01:00
..
collada Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
doc Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
fileserver Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
icons Add AspectRatioContainer class 2021-01-12 16:25:26 +02:00
import Merge pull request #44628 from JFonS/new_cpu_lightmapper_3.2 2021-01-15 13:25:46 +01:00
plugins 3D editor grid improvements 2021-02-02 13:30:50 +01:00
translations i18n: Sync translations with Weblate 2021-01-26 22:10:30 +01:00
animation_bezier_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_bezier_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor_plugins.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor_plugins.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_preview.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_preview.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
code_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
code_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
connections_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
connections_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
create_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
create_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dependency_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dependency_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary_property_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_asset_installer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_asset_installer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_atlas_packer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_atlas_packer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_autoload_settings.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_autoload_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
editor_data.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_data.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_dir_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_dir_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_export.cpp Create the temporary PCK export directory if it doesn't exist 2021-02-02 13:02:47 +01:00
editor_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_feature_profile.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_feature_profile.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_system.cpp Fix file name comparison when new file is added to file system 2021-01-15 16:49:46 +01:00
editor_file_system.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_folding.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_folding.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_fonts.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_fonts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help_search.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help_search.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_inspector.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_inspector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_layouts_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_layouts_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_log.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_log.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_network_profiler.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_network_profiler.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_node.cpp Disable active editors when node gets deselected 2021-02-02 13:02:46 +01:00
editor_node.h Made save dialog open immediately when running unsaved scene. 2021-01-13 16:17:07 +01:00
editor_path.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_path.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin_settings.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_profiler.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_profiler.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_properties.cpp Fix wrong signal in EditorPropertyColor 2021-01-14 14:55:08 +01:00
editor_properties.h Emit changed signal from Color Picker when changed 2021-01-13 16:17:09 +01:00
editor_properties_array_dict.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_properties_array_dict.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_resource_preview.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_resource_preview.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_script.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_script.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scale.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scale.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_settings.cpp Tweak the "Auto" editor setting hints to be more indicative 2021-01-26 17:00:15 +01:00
editor_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_spin_slider.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_spin_slider.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_themes.cpp Fix typo in theming methods ("botton" -> "bottom") 2021-01-26 17:00:15 +01:00
editor_themes.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_vcs_interface.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_vcs_interface.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export_template_manager.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export_template_manager.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
filesystem_dock.cpp Update path in the FileSystem dock after doing file operations 2021-01-26 17:00:17 +01:00
filesystem_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
find_in_files.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
find_in_files.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
import_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
import_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multi_node_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multi_node_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pane_drag.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pane_drag.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plugin_config_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plugin_config_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
progress_dialog.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
progress_dialog.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
project_export.cpp Ensures that export path is used when exporting PCK/ZIP 2021-01-26 17:00:16 +01:00
project_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_manager.cpp Tweak the "Auto" editor setting hints to be more indicative 2021-01-26 17:00:15 +01:00
project_manager.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_settings_editor.cpp Don't allow adding Objects to the project settings 2021-01-13 16:17:08 +01:00
project_settings_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_selector.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_selector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_exporters.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reparent_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reparent_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_settings_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_settings_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_tree_dock.cpp Unify single and multiscene instancing 2021-01-26 17:00:14 +01:00
scene_tree_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_tree_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_tree_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_create_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_create_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_editor_debugger.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_editor_debugger.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
settings_config_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
settings_config_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spatial_editor_gizmos.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spatial_editor_gizmos.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00