X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=qbasicapps.git;a=blobdiff_plain;f=graphics%2F3D%2F3D%20Synthezier%2Fdoc%2Findex.html;fp=graphics%2F3D%2F3D%20Synthezier%2Fdoc%2Findex.html;h=9286272a3093c96964692f675b5eec06d4e2bbc2;hp=e86cdc0f02fc6cdd06a0f013114186692ac41cf7;hb=75f1316059c56adea365de9b40dc627486114be1;hpb=b6c8670d2e22f145483ebd1e36b46764076b58b4 diff --git a/graphics/3D/3D Synthezier/doc/index.html b/graphics/3D/3D Synthezier/doc/index.html index e86cdc0..9286272 100644 --- a/graphics/3D/3D Synthezier/doc/index.html +++ b/graphics/3D/3D Synthezier/doc/index.html @@ -2,7 +2,7 @@ 3D Synthezier - + @@ -221,7 +221,7 @@ License, or (at your option) any later version. -
  • Other software projects hosted at svjatoslav.eu +
  • Other software projects hosted at svjatoslav.eu
  • @@ -230,15 +230,16 @@ License, or (at your option) any later version.

    1.1 Source code

    @@ -288,7 +289,7 @@ to minimize file access. software -preferred version +tested version @@ -346,60 +347,97 @@ to minimize file access.

    (read examples…)

    - - +
    +
    +

    5.1 here

    +
     here
    +
     

    defines new segment

    - +
    +
    +
    +

    5.2 p

    +
     p  x y z
    +
     

    defines new point

    - +
    +
    +
    +

    5.3 f

    +
     f  p1 p2 p3 p4
    +
     

    defines new polygon, p4 may be unused

    - - +
    +
    +
    +

    5.4 warn

    +
     warn  <message>
    +
     

    displays warning message, and wait for key

    - +
    +
    +
    +

    5.5 end

    +
     end
    +
     

    terminates parser

    - +
    +
    +
    +

    5.6 mtl

    +
     mtl  material
    +
     

    selects material

    - +
    +
    +
    +

    5.7 mtlrnd

    +
     mtlrnd  material ...
    +
     

    selects random material from list

    - +
    +
    +
    +

    5.8 obj

    +
     obj  object xz45 xy20 x+3 y*2
    +
     

    includes sub object, can be rotated moved or resized, across X Y Z. If @@ -414,53 +452,87 @@ directly from file, and not chached, to allow loading of greater than

    rotation.png

    - - +
    +
    +
    +

    5.9 rnd

    +
     rnd  p^1^2^3 p^7^2^1
    +
     

    select random command to execute, ^ will be converted to spaces.

    - +
    +
    +
    +

    5.10 #

    +
     # whatever text
    +
     

    comment

    - +
    +
    +
    +

    5.11 out

    +
     out  file
    +
     

    specify output file name, must be first command

    - +
    +
    +
    +

    5.12 set

    +
     set  variable  contents
    +
     

    set variable contents, variable must be number, contents can be string. max variables is 100. first is 0.

    - +
    +
    +
    +

    5.13 variables usage

    +
     anycommand %1 anything
    +
     

    inserts variable 1 contents info line

    - +
    +
    +
    +

    5.14 cmp

    +
     cmp  flag string1 string2
    +
     

    compares strings, and inserts TRUE to flag, if they are equal, else inserts FALSE. max 9 falgs, 0 first. Each subobject has its own flags.

    - +
    +
    +
    +

    5.15 ?

    +
     ?flag anycommand
    +
     

    executes command if flag is true. @@ -469,15 +541,21 @@ executes command if flag is true.

    exapmle: ?3 obj car z*2 xy45

    - +
    +
    +
    +

    5.16 dum

    +
     dum
    +
     

    dummy function, does notheing

    +

    6 Usage

    @@ -487,12 +565,14 @@ Make sure you have QB binaries in your PATH. Execute

     bin/city1.bat
    +
     

    or

     bin/city2.bat
    +
     

    to generate example cities. After parsing is finished, appropriate @@ -596,7 +676,26 @@ They were produced by importing generated 2. Operating principle

  • 3. System requirements
  • 4. Installation
  • -
  • 5. Scene description language
  • +
  • 5. Scene description language + +
  • 6. Usage
  • 7. Examples