User Tools

Site Tools


tutorials:startup-model

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:startup-model [2025/01/08 11:40] – [Installation] gaetantutorials:startup-model [2025/06/17 15:14] (current) barley1965
Line 11: Line 11:
 ===== Look around ===== ===== Look around =====
  
-On the first window, even though it is empty we can already find some important parts of the software, especially for finding help and getting started.+On the first window, even though it is emptywe can already find some important parts of the software, especially for finding help and getting started.
  
 {{ :tutorials:main_men_start2.png?direct&300|}} {{ :tutorials:main_men_start2.png?direct&300|}}
Line 22: Line 22:
   - Under **Preferences** most GroIMP features can be customized, from rendering, over the number of buttons on a toolbar, to the ports of the embedded servers. This is documented [[user-guide:panel_options|here]].   - Under **Preferences** most GroIMP features can be customized, from rendering, over the number of buttons on a toolbar, to the ports of the embedded servers. This is documented [[user-guide:panel_options|here]].
   - This part of the menu points to several helpful webpages that provide various information:   - This part of the menu points to several helpful webpages that provide various information:
-    - The [[https://javadoc.grogra.de/|API Documentation]] provides the javadoc of GroIMP: Though very confusing at first glance, but potentially very helpful once you dive deeper into modelling with GroIMP because it allows you to know what each class can do and how classes are related to each other+    - The [[https://javadoc.grogra.de/|API Documentation]] provides the javadoc of GroIMP: Though very confusing at first glance, it is nevertheless potentially very helpful once you dive deeper into modelling with GroIMP because it allows you to know what each class can do and how classes are related to each other.
     - [[https://grogra.de/ | Grogra.de]] is the main page of our project     - [[https://grogra.de/ | Grogra.de]] is the main page of our project
     - [[https://wiki.grogra.de/ | GroIMP wiki]] The GroIMP wiki (you are on it right now) is a collection of tutorials and descriptions of the different parts of the software.     - [[https://wiki.grogra.de/ | GroIMP wiki]] The GroIMP wiki (you are on it right now) is a collection of tutorials and descriptions of the different parts of the software.
     - The [[https://www.youtube.com/channel/UC2PsLYZ9vO1vR0ZEsQCvhBg | GroIMP youtube channel]] can give you some inspiration of what to do with GroIMP (and what others already produced with it)     - The [[https://www.youtube.com/channel/UC2PsLYZ9vO1vR0ZEsQCvhBg | GroIMP youtube channel]] can give you some inspiration of what to do with GroIMP (and what others already produced with it)
-  - With the **Plugin Manager** it is possible to install, remove and update plugins (parts of the software) This is documented [[user-guide:pluginmanager| here]]+  - With the **Plugin Manager** it is possible to install, remove and update plugins (parts of the software)This is documented [[user-guide:pluginmanager| here]]
  
  
Line 33: Line 33:
 ===== New RGG ===== ===== New RGG =====
  
-Firts of al, to get a first impression of modelling in GroIMP, let's open our first RGG project. To do so, go to the menu, click on New (the 1 in the image above) and select "RGG Project".+First of all, to get a first impression of modelling in GroIMP, let's open our first RGG project. To do so, go to the menu, click on New (the 1 in the image above) and select "RGG Project".
 This will provide you with the following window: This will provide you with the following window:
 {{ :tutorials:rgg_window.png?direct&600 |}} {{ :tutorials:rgg_window.png?direct&600 |}}
  
-Lets have a short look around:+Let'have a short look around:
  
-  - The RGG toolbar provides a button for each public function in the RGG code (the code can be seen in the code editor(4)) if you wish you can click on run and see the changes in the 3D view. Additionally, it comes with a reset button, which brings the simulation back to the starting point (defined in the init function). +  - The RGG toolbar provides a button for each public function in the RGG code (the code can be seen in the code editor(4))if you wish you can click on run and see the changes in the 3D view. Additionally, it comes with a reset button, which brings the simulation back to the starting point (defined in the init function). 
-  - The 3D view shows the current state of the model. It is possible to navigate through the model using either mouse control or the navigation button on the top right. With the menu it is possible to customize the view and the camera and to render the view with different renderers. Additionally, in the menu under View /export you can export the 3d scene in several formats. The 3D view is also used to select and edit objects in the scene as shown on the right. If selected the attribute editor (7) is opened.+  - The 3D view shows the current state of the model. It is possible to navigate through the model using either mouse control or the navigation button on the top right. With the menu it is possible to customize the view and the camera and to render the view with different renderers. Additionally, in the menu under View /export you can export the 3d scene in several formats. The 3D view is also used to select and edit objects in the scene as shown on the right. When selected the attribute editor (7) is opened.
   - A GroIMP model is coded in the RGG programming language, and the code is stored in files with the extension rgg. To manage the files the File Explorer is used, here you can add, create and delete files and folders. To create a file you have to add a not yet existing file. If you select a file it is opened in the code editor (4) you can try this with the parameters.rgg file in the folder param.   - A GroIMP model is coded in the RGG programming language, and the code is stored in files with the extension rgg. To manage the files the File Explorer is used, here you can add, create and delete files and folders. To create a file you have to add a not yet existing file. If you select a file it is opened in the code editor (4) you can try this with the parameters.rgg file in the folder param.
-  - GroIMP includes the code editor JEdit to edit the source files of the simulation. If not changed in the preferences, pressing Ctrl-s will save the code and recompile and reset your simulation. Try this by changing setShader(GREEN) to setShader(BLUE) in the file Model.rgg and save. This should turn our little sphere blue.+  - GroIMP includes the code editor jEdit to edit the source files of the simulation. If not changed in the preferences, pressing Ctrl-s will save the code and recompile and reset your simulation. Try this by changing setShader(GREEN) to setShader(BLUE) in the file Model.rgg and save. This should turn our little sphere blue.
   - If, for example, you mis-type setShader(BLUH) (instead of BLUE) you will see an error message in the messages panel. This panel will give you information about most events and issues in your project.   - If, for example, you mis-type setShader(BLUH) (instead of BLUE) you will see an error message in the messages panel. This panel will give you information about most events and issues in your project.
   - Each file you create in your model is compiled and added to the Meta Objects explorer. If you select one here it opens the attribute editor (7) for the model.   - Each file you create in your model is compiled and added to the Meta Objects explorer. If you select one here it opens the attribute editor (7) for the model.
tutorials/startup-model.1736332847.txt.gz · Last modified: 2025/01/08 11:40 by gaetan