UpTitle

Introduction

This part explains step by step how to create a scene that you can render with Behemot Editor program. There are explained some advanced features too.

 The scene is described by a text file; the extension used is "rt".

You must write a .rt file using a text editor, like the dos edit, windows notepad or the editor which you prefer. You must be able to use one of it, to read a file and to save it.

 That is not the only a way to create a .rt file. You may use the Behemot Editor, which creates a .rt file in the same format explained here.
 

Structure of a .RT file


 This is an example which describes the way data are subdivided:
 

    { section1
        { subsection1
            attribute1 value;
        }
        attribute2 value;
    }

    { section2

    }
    .
 

This file cannot be read by Behemot Editor, it is only a template to show the highlight of the structure of a .rt file. The real identifiers used in a real .rt file are described after, with their meanings.

 The parts of file separated by { and } are called sections. The file ends with a dot (.) .

 The word after { is the type of the section.

 A section can contain other sections ( called subsections ) or attribute.

 A section contains some attributes. Every attribute has a value. The value depends on the attribute, name. The attribute values can be also subsection.

The attribute that can be in a section depends on the type of the section.

The sections describe things in the scene. The attributes tell how things are made. If a section needs the data of another one, the first one must follow the second.
 
 


UpTitle