From 75f1316059c56adea365de9b40dc627486114be1 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sun, 20 Jan 2019 03:20:44 +0200 Subject: [PATCH] Prefer HTTPS. Publish example Blender files. --- graphics/3D/3D Synthezier/doc/index.html | 155 +++++++++++++++++++---- graphics/3D/3D Synthezier/doc/index.org | 133 ++++++++++--------- index.html | 52 ++++---- index.org | 59 +++++---- tools/update web site | 1 + 5 files changed, 251 insertions(+), 149 deletions(-) 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
  • @@ -227,15 +227,16 @@ License, or (at your option) any later version.

    1.1 Source code

    @@ -270,11 +271,9 @@ use under DOS operating system. Few sample applications from the package:

    - - -
    -

    3 Checkers

    -
    +
    +

    2.1 Checkers

    +

    Play checkers against the computer with any board size and any amount of caps. Does thinking by recursively testing many possible scenarios @@ -291,6 +290,7 @@ See directory:

     games/checkers
    +
     
    @@ -301,9 +301,9 @@ games/checkers
    -
    -

    4 Platform game

    -
    +
    +

    2.2 Platform game

    +

    Jump around, collect coins and dont touch snails! Inspired by Super Mario Bros. @@ -314,6 +314,7 @@ See directory:

     games/platform
    +
     
    @@ -324,9 +325,9 @@ games/platform
    -
    -

    5 3D Synthezier

    -
    +
    +

    2.3 3D Synthezier

    +

    Parses scene definition language and creates 3D world based on it. Result will be in a wavefront obj file, witch can be then @@ -338,6 +339,7 @@ See directory:

     graphics/3D/3D Synthezier
    +
     
    @@ -357,6 +359,7 @@ graphics/3D/3D Synthezier

    +
    diff --git a/index.org b/index.org index 6362827..acbf6d9 100644 --- a/index.org +++ b/index.org @@ -19,18 +19,18 @@ - Program author: - Svjatoslav Agejenko - - Homepage: http://svjatoslav.eu + - Homepage: https://svjatoslav.eu - Email: mailto://svjatoslav@svjatoslav.eu -- [[http://www.svjatoslav.eu/projects/][Other software projects hosted at svjatoslav.eu]] +- [[https://www.svjatoslav.eu/projects/][Other software projects hosted at svjatoslav.eu]] ** Source code -- [[http://www2.svjatoslav.eu/gitweb/?p=qbasicapps.git;a=snapshot;h=HEAD;sf=tgz][Download latest snapshot in TAR GZ format]] +- [[https://www2.svjatoslav.eu/gitweb/?p=qbasicapps.git;a=snapshot;h=HEAD;sf=tgz][Download latest snapshot in TAR GZ format]] -- [[http://www2.svjatoslav.eu/gitweb/?p=qbasicapps.git;a=summary][Browse Git repository online]] +- [[https://www2.svjatoslav.eu/gitweb/?p=qbasicapps.git;a=summary][Browse Git repository online]] - Clone Git repository using command: - : git clone http://www2.svjatoslav.eu/git/qbasicapps.git + : git clone https://www2.svjatoslav.eu/git/qbasicapps.git * Content This collection contains lots of applications: @@ -44,39 +44,38 @@ use under DOS operating system. Few sample applications from the package: +** Checkers + Play checkers against the computer with any board size and any amount + of caps. Does thinking by recursively testing many possible scenarios + with any depth. -* Checkers -Play checkers against the computer with any board size and any amount -of caps. Does thinking by recursively testing many possible scenarios -with any depth. + Since it is slow QBasic implementation, it isn't practical to play + with many caps or big thinking depth, for reasonable responce time. -Since it is slow QBasic implementation, it isn't practical to play -with many caps or big thinking depth, for reasonable responce time. + See directory: + : games/checkers -See directory: -: games/checkers + [[file:games/checkers/screenshot.png]] -[[file:games/checkers/screenshot.png]] +** Platform game + Jump around, collect coins and dont touch snails! Inspired by Super + Mario Bros. -* Platform game -Jump around, collect coins and dont touch snails! Inspired by Super -Mario Bros. + See directory: + : games/platform -See directory: -: games/platform + [[file:games/platform/screenshot.png]] -[[file:games/platform/screenshot.png]] +** 3D Synthezier + Parses scene definition language and creates 3D world based on + it. Result will be in a [[https://en.wikipedia.org/wiki/Wavefront_.obj_file][wavefront obj file]], witch can be then + visualized using external renderer. -* 3D Synthezier -Parses scene definition language and creates 3D world based on -it. Result will be in a [[https://en.wikipedia.org/wiki/Wavefront_.obj_file][wavefront obj file]], witch can be then -visualized using external renderer. + See directory: + : graphics/3D/3D Synthezier -See directory: -: graphics/3D/3D Synthezier + [[file:graphics/3D/3D Synthezier/doc/rectangular city, 1.jpeg]] -[[file:graphics/3D/3D Synthezier/doc/rectangular city, 1.jpeg]] + [[file:graphics/3D/3D Synthezier/doc/hexagonal city, 2.jpeg]] -[[file:graphics/3D/3D Synthezier/doc/hexagonal city, 2.jpeg]] - -[[file:graphics/3D/3D Synthezier/doc/index.html][Read more]] + [[file:graphics/3D/3D Synthezier/doc/index.html][Read more]] diff --git a/tools/update web site b/tools/update web site index 9d03fa2..9354db1 100755 --- a/tools/update web site +++ b/tools/update web site @@ -8,6 +8,7 @@ rsync -avz --delete -e 'ssh -p 10006' ./ \ --include="*.html" \ --include="*.png" \ --include="*.jpeg" \ + --include="*.blend" \ --exclude="*" \ n0@www3.svjatoslav.eu:/mnt/big/projects/qbasicapps/ -- 2.20.1