X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=qbasicapps.git;a=blobdiff_plain;f=graphics%2F3D%2F3D%20Synthezier%2Fdoc%2Findex.org;h=866cb6673aac2b84a57005701fab826117320949;hp=c532d8f136e52c105f20cd301ffd26539ceda74b;hb=75f1316059c56adea365de9b40dc627486114be1;hpb=b6c8670d2e22f145483ebd1e36b46764076b58b4 diff --git a/graphics/3D/3D Synthezier/doc/index.org b/graphics/3D/3D Synthezier/doc/index.org index c532d8f..866cb66 100644 --- a/graphics/3D/3D Synthezier/doc/index.org +++ b/graphics/3D/3D Synthezier/doc/index.org @@ -23,15 +23,15 @@ - Homepage: http://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 * Operating principle @@ -49,10 +49,10 @@ omong any axis. Generator has built in cache for data input and output to minimize file access. * System requirements -| software | preferred version | -|----------+-------------------| -| DOS | 6.22 | -| QBasic | 4.5 | +| software | tested version | +|----------+----------------| +| DOS | 6.22 | +| QBasic | 4.5 | * Installation + Unpack ZIP file in any folder. + update include path inside bin/3dparse.bas @@ -67,66 +67,63 @@ to minimize file access. + include - 3D objects used to compose the scene * Scene description language (read examples...) - - -: here -defines new segment - -: p x y z -defines new point - -: f p1 p2 p3 p4 -defines new polygon, p4 may be unused - - -: warn -displays warning message, and wait for key - -: end -terminates parser - -: mtl material -selects material - -: mtlrnd material ... -selects random material from list - -: obj object xz45 xy20 x+3 y*2 -includes sub object, can be rotated moved or resized, across X Y Z. If -object name begin vith ~ then it will be loaded from current -directory. if object name ends with ~ then object will be parsed -directly from file, and not chached, to allow loading of greater than -500 lines files. - -[[file:rotation.png]] - - -: rnd p^1^2^3 p^7^2^1 -select random command to execute, ^ will be converted to spaces. - -: # whatever text -comment - -: out file -specify output file name, must be first command - -: set variable contents -set variable contents, variable must be number, contents can be -string. max variables is 100. first is 0. - -: anycommand %1 anything -inserts variable 1 contents info line - -: 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. - -: ?flag anycommand -executes command if flag is true. - -exapmle: ?3 obj car z*2 xy45 - -: dum -dummy function, does notheing +** here + : here + defines new segment +** p + : p x y z + defines new point +** f + : f p1 p2 p3 p4 + defines new polygon, p4 may be unused +** warn + : warn + displays warning message, and wait for key +** end + : end + terminates parser +** mtl + : mtl material + selects material +** mtlrnd + : mtlrnd material ... + selects random material from list +** obj + : obj object xz45 xy20 x+3 y*2 + includes sub object, can be rotated moved or resized, across X Y Z. If + object name begin vith ~ then it will be loaded from current + directory. if object name ends with ~ then object will be parsed + directly from file, and not chached, to allow loading of greater than + 500 lines files. + + [[file:rotation.png]] +** rnd + : rnd p^1^2^3 p^7^2^1 + select random command to execute, ^ will be converted to spaces. +** # + : # whatever text + comment +** out + : out file + specify output file name, must be first command +** set + : set variable contents + set variable contents, variable must be number, contents can be + string. max variables is 100. first is 0. +** variables usage + : anycommand %1 anything + inserts variable 1 contents info line +** 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. +** ? + : ?flag anycommand + executes command if flag is true. + + exapmle: ?3 obj car z*2 xy45 +** dum + : dum + dummy function, does notheing * Usage Make sure you have QB binaries in your PATH. Execute