From 99a95a0449303b0c79b73a2333818d0338c0d32f Mon Sep 17 00:00:00 2001 From: skyace65 Date: Sun, 6 Sep 2020 20:57:19 -0400 Subject: [PATCH] Improve importing images page --- about/list_of_features.rst | 2 +- .../workflow/assets/importing_images.rst | 54 +++++++++---------- 2 files changed, 26 insertions(+), 30 deletions(-) diff --git a/about/list_of_features.rst b/about/list_of_features.rst index 1e7c6e402..72a25bedd 100644 --- a/about/list_of_features.rst +++ b/about/list_of_features.rst @@ -365,7 +365,7 @@ Import **Formats:** -- *Images:* See :ref:`doc_importing_images_supported_formats`. +- *Images:* See :ref:`doc_import_images`. - *Audio:* - WAV with optional IMA-ADPCM compression. diff --git a/getting_started/workflow/assets/importing_images.rst b/getting_started/workflow/assets/importing_images.rst index 29353606b..24c5e0c00 100644 --- a/getting_started/workflow/assets/importing_images.rst +++ b/getting_started/workflow/assets/importing_images.rst @@ -3,35 +3,6 @@ Importing images ================ -Why import them? ----------------- - -In Godot 3+, image files are no longer native resources and they must be imported. -The reason behind this is the large amount of configuration parameters that -image files can be imported with. - -This small tutorial will explain what these parameters are and how to best -make use of them. - -Importing textures ------------------- - -The default action in Godot is to import images as textures. Textures are stored -in video memory and can't be accessed directly. This is what makes drawing them -efficient. - -Import options are vast: - -.. image:: img/image_import1.png - -Detect 3D -~~~~~~~~~ - -This option makes Godot be aware of when a texture (which is imported for 2D as default) is used in 3D. If this happens, setting are changed so the texture flags -are friendlier to 3D (mipmaps, filter and repeat become enabled and compression is changed to VRAM). Texture is also reimported automatically. - -.. _doc_importing_images_supported_formats: - Supported image formats ----------------------- @@ -63,6 +34,23 @@ Godot can import the following image formats: If you've compiled the Godot editor from source with specific modules disabled, some formats may not be available. +Importing textures +------------------ + +The default action in Godot is to import images as textures. Textures are stored +in video memory and can't be accessed directly. This is what makes drawing them +efficient. + +Import options are vast: + +.. image:: img/image_import1.png + +Detect 3D +~~~~~~~~~ + +This option makes Godot be aware of when a texture (which is imported for 2D as default) is used in 3D. If this happens, setting are changed so the texture flags +are friendlier to 3D (mipmaps, filter and repeat become enabled and compression is changed to VRAM). Texture is also reimported automatically. + Compression ----------- @@ -212,3 +200,11 @@ Invert Color ~~~~~~~~~~~~ Reverses the image's color. This is useful, for example, to convert a height map generated by external programs to depth map to use with :ref:`doc_standard_material_3d`. + +Svg +--- + +Scale +~~~~~ + +This option only applies to SVG files. It controls the scale of the SVG image. The default scale (1.0) will make the imported SVG match its original design scale.