GroIMP Module 1 English

Spoken text

A dtd file is a tabular, static structural description of a plant where one line is used for each plant organ. This described plant structure can be opened and displayed as a 3D model with GroIMP. The construction of a dtd file will be explained in the course and the corresponding script.
Here it should be shown how to load and display a dtd file in GroIMP graphically. This is necessary because a simple opening of dtd files from the menu bar hasn’t been implemented in GroIMP yet.

First, we’re creating a new RGG Project by the Menu Bar -> File -> New -> RGG Project and looking at the Editor.
If we only want to load the described model in the dtd file, we have to delete anything but the init()-method and the starting word – the axiom. Parts of the code can be marked and deleted by the backspace key like it’s known from normal text editing programs.
The axiom must be altered, too: We’re deleting the initiating object A(1) so that the starting word is empty. Now, we’re saving the code by “Save as” as “dummy.rgg”. In order to use the file, you must open it by the Menu Bar -> File -> Open from the save folder.
The new file can be used as a standard dummy file for loading dtd files. If you don’t want to do these alterations by yourself, you can download the file “dummy.rgg” from the course homepage and open it by File -> Open.

After the dummy file has opened, we can load the dtd file by the Menu Bar -> Objects -> Insert File. As you can see, the described model is then being displayed in the 3D View and it’s possible to change the view and the camera position.



Bisher wurde noch kein Kommentar abgegeben.