From 5d93af0666543235990aaaa61765724a97519795 Mon Sep 17 00:00:00 2001 From: alcoholicgirl <2680813175@qq.com> Date: Mon, 27 Apr 2026 00:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20manual?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- konabot/docs/user/march.txt | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/konabot/docs/user/march.txt b/konabot/docs/user/march.txt index 855b509..2f23961 100644 --- a/konabot/docs/user/march.txt +++ b/konabot/docs/user/march.txt @@ -1,4 +1,22 @@ # 指令介绍 简易 Raymarch 小玩具 用法:march -例:march sphere(1) cam(4).pos(-5).lookat(0) \ No newline at end of file +例:march sphere(1).color(red) box(0.5, 2.0, 0.5).pos(0, 0, 0) cam(0.5).pos(-5).lookat(0) + +# 主要语法 + ::= "." + | + + ::= + | "(" ")" + + ::= + | "(" ")" + + ::= "," + | + +其中 obj_ty、op_ty 分别为物体类型(如 cube、sphere、torus 等)与变换类型(如 pos、rot)。 + +# 特殊说明 + 不包含 scale,因为本工具基于 SDF 渲染,非正交的变换会破坏 SDF 的性质。 \ No newline at end of file