virtualx-engine/scene/resources
jfons 73e62dffb9 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.
2021-02-01 22:19:54 +01:00
..
default_theme doc: Sync classref with current source 2021-01-28 11:26:37 +01:00
animation.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
animation.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
audio_stream_sample.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
audio_stream_sample.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
bit_map.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
bit_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
box_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
box_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
camera_effects.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
camera_effects.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
capsule_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
capsule_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
capsule_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
capsule_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
circle_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
circle_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
concave_polygon_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
concave_polygon_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
concave_polygon_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
concave_polygon_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
convex_polygon_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
convex_polygon_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
convex_polygon_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
convex_polygon_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
curve.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
curve.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
cylinder_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
cylinder_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
environment.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
environment.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
font.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
font.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gradient.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gradient.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
height_map_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
height_map_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
line_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
line_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
material.cpp 3D editor grid improvements 2021-02-01 22:19:54 +01:00
material.h Added ability to visualize native shaders 2021-01-06 09:40:09 -03:00
mesh.cpp Implement shadow meshes 2021-01-25 15:03:15 -03:00
mesh.h Implement shadow meshes 2021-01-25 15:03:15 -03:00
mesh_data_tool.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mesh_data_tool.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mesh_library.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mesh_library.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
multimesh.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
multimesh.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
navigation_mesh.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
navigation_mesh.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packed_scene.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packed_scene.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
particles_material.cpp Renamed emit_particle to emit_subparticle shader function 2021-01-12 09:41:08 +03:00
particles_material.h Added ability to visualize native shaders 2021-01-06 09:40:09 -03:00
physics_material.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
physics_material.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
polygon_path_finder.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
polygon_path_finder.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
primitive_meshes.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
primitive_meshes.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ray_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ray_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ray_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ray_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
rectangle_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
rectangle_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_format_text.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_format_text.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00
segment_shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
segment_shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
shader.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
shader.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
shape_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
shape_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
skin.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
skin.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sky.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sky.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sky_material.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sky_material.h Added ability to visualize native shaders 2021-01-06 09:40:09 -03:00
sphere_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
sphere_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
style_box.cpp Fix typo in theming methods ("botton" -> "bottom") 2021-01-18 04:19:07 +01:00
style_box.h Fix typo in theming methods ("botton" -> "bottom") 2021-01-18 04:19:07 +01:00
surface_tool.cpp Scale error in mesh optimizer so it uses absolute scale. 2021-01-11 06:07:54 -08:00
surface_tool.h Scale error in mesh optimizer so it uses absolute scale. 2021-01-11 06:07:54 -08:00
syntax_highlighter.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
syntax_highlighter.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
text_file.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
text_file.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
text_line.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
text_line.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
text_paragraph.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
text_paragraph.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
texture.cpp Modernize RWLock 2021-01-19 11:53:10 +01:00
texture.h Modernize RWLock 2021-01-19 11:53:10 +01:00
theme.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
theme.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
tile_set.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
tile_set.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
video_stream.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
visual_shader.cpp Added SDF nodes to visual shader 2021-01-18 15:04:54 +01:00
visual_shader.h Merge pull request #44805 from Chaosus/vs_convert 2021-01-15 16:58:26 +01:00
visual_shader_nodes.cpp Merge pull request #44805 from Chaosus/vs_convert 2021-01-15 16:58:26 +01:00
visual_shader_nodes.h Merge pull request #44805 from Chaosus/vs_convert 2021-01-15 16:58:26 +01:00
visual_shader_sdf_nodes.cpp Added SDF nodes to visual shader 2021-01-18 15:04:54 +01:00
visual_shader_sdf_nodes.h Added SDF nodes to visual shader 2021-01-18 15:04:54 +01:00
world_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
world_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
world_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
world_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
world_margin_shape_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
world_margin_shape_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00