user-manual:ch02
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user-manual:ch02 [2024/04/26 16:45] – gaetan | user-manual:ch02 [2025/04/03 10:01] (current) – [Common panel handling] Tim | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Table of Contents ====== | ====== Table of Contents ====== | ||
* [[: | * [[: | ||
- | * [[: | + | * [[: |
* [[: | * [[: | ||
- | * [[: | + | * [[: |
====== Graphical User Interface ====== | ====== Graphical User Interface ====== | ||
Line 19: | Line 19: | ||
- | ====== | + | ====== Handling |
===== Common panel handling ===== | ===== Common panel handling ===== | ||
Line 29: | Line 29: | ||
Normally, not all possible panels are actually present in the user interface. However, all panels are accessible through the Panels menu of GroIMP' | Normally, not all possible panels are actually present in the user interface. However, all panels are accessible through the Panels menu of GroIMP' | ||
- | The arrangement of all panels is called a panel _layout_. The menu Panels/Set Layout provides a set of predefined layouts | + | The arrangement of all panels is called a panel _layout_. The menu Panels/Set Layout provides a set of predefined layouts |
- | ===== Common | + | See more documentation on: |
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
- | ==== File Explorer ==== | ||
- | GroIMP' | + | ====== Projects Handling ====== |
- | **Figure 2.2. File Explorer** | ||
- | {{: | + | The main entity you work on in GroIMP is the // |
+ | You create a new project by choosing the menu item File/ | ||
- | If the file explorer | + | Saving of a project |
- | Files which already exist in your file system can be added to a project via the menu item Object/ | + | Contrary |
- | In Figure 2.2, “File Explorer”, | + | While working with an open project, there is one difference between projects in GS/GSZ file format: If you modify and save files (e.g., text files) contained in a GS project, |
- | ==== Text Editor | + | See more: |
+ | * [[: | ||
+ | ====== Import and Export Data ====== | ||
- | GroIMP is equipped with a simple internal text editor. When you activate a source code or text file entry in the file explorer, it is opened in the text editor and can be edited. The usual editing operations (Cut& | + | Many file types are supported |
- | **Figure 2.3. Text Editor** | + | See more: |
+ | | ||
- | {{:user-manual:texteditor.png}} | + | Tutorial: |
+ | * [[:dev-guide:create-new-mimetypes-and-file-types|How to add a new object type importer/ | ||
+ | * [[: | ||
+ | ==== Import a Project ==== | ||
+ | To import a file as project you need to click on // | ||
+ | * gs | ||
+ | * gsz | ||
+ | * xl | ||
+ | * rgg | ||
+ | * lsy/ssy | ||
+ | * dtd | ||
+ | * mtg | ||
- | For some file types, additional actions are triggered when a file of that type is saved. For example, source code is compiled immediately. | + | ==== Import an Object in the Graph ==== |
- | ==== Text Editor jEdit ==== | + | To import an object you need to have a project open. Then, // |
- | If the jEdit-Plugin | + | An object |
- | **Figure 2.4. Text Editor jEdit** | + | ==== Import an Object in an Explorer ==== |
- | {{: | + | GroIMP |
- | + | In these explorers | |
- | + | ||
- | ==== Image Explorer ==== | + | |
- | + | ||
- | Every image used within a GroIMP | + | |
- | + | ||
- | **Figure 2.5. Image Explorer, Material Explorer, Attribute Editor** | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Attribute Editor ==== | + | |
- | + | ||
- | Another panel which you will encounter often is the attribute editor (Figure 2.5, | + | |
- | + | ||
- | Each attribute has a type, and each type brings up specific edit components in the attribute editor. For example, the radius attribute of circles or spheres is a numeric attribute and is editable through a simple input field. The orientation of a cylinder in 3D space is a 3D vector and, thus, it is editable through a set of three numeric input fields. Very complex attributes like 3D materials consist of several subattributes, | + | |
- | + | ||
- | In Figure 2.5, | + | |
- | + | ||
- | _`Colour 2`_ of the checkerboard is set to an image map. One could have chosen an RGB colour as for the first colour, a Checkerboard 2D as for the diffuse colour of the material, a simple constant colour, or some other valid type for this attribute. | + | |
- | + | ||
- | ==== Preferences ==== | + | |
- | + | ||
- | In the Preferences panel, | + | |
- | + | ||
- | **Figure 2.6. Preferences Panel (Metal Look & Feel)** | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | + | ||
- | === Options for the Swing User Interface === | + | |
- | + | ||
- | The group UI Toolkit/ | + | |
- | + | ||
- | If you switch to another Look & Feel in the Preferences panel, the user interface will be redrawn immediately. However, changing the window decorations option only takes effect when a new window is opened. Also, there are Look & Feels which do not support window decorations. | + | |
- | + | ||
- | ==== Other Explorer Panels ==== | + | |
- | + | ||
- | Besides files and images, a variety of other object kinds is displayed within an explorer panel. For example, Figure 2.5, | + | |
- | + | ||
- | + | ||
- | ====== Projects Handling ====== | + | |
- | + | ||
- | + | ||
- | The main entity you work on in GroIMP is the _project_. A project may consist of various parts, e.g., files, source code, a scene (2D, 3D, or other), resource objects like data sets, 3D materials or the like. Several projects can be open at the same time, each in its own main window. | + | |
- | + | ||
- | You create a new project by choosing the menu item File/New/Project. Via File/Open, projects can be read from a file. Different file formats are available: GS and GSZ are GroIMP' | + | |
- | + | ||
- | Saving | + | |
- | + | ||
- | Contrary to the GS file format, the GSZ file format only consists of a single file. This file is actually a file in the common zip-format with special content: It contains all the files which comprise a project in the GS file format in a single zip archive. You can use standard zip tools to examine or even modify its contents. | + | |
- | + | ||
- | While working with an open project, there is one difference between projects in GS/GSZ file format: If you modify and save files (e.g., text files) contained in a GS project, they will be written to your file system immediately because the GS file format consists of a set of files in your file system. However, for a GSZ project, these files are written to an internal storage: Your modifications are persistently saved only when the whole project is saved. | + | |
- | + | ||
- | ====== Import Export Data ====== | + | |
- | + | ||
- | There are many file type supported | + | |
+ | For instance, for files, within the File explorer: // | ||
==== MTG ==== | ==== MTG ==== | ||
Follow this [[: | Follow this [[: | ||
+ | ===== Resource Drag and Drop ===== | ||
+ | |||
+ | Starting with GroIMP 2.1.6 it is possible to select items from a explorer and drop them to the CodeEditor, to create a reference to this resource. For example a shader called " |
user-manual/ch02.1714142735.txt.gz · Last modified: 2024/04/26 16:45 by gaetan