commit 528025e762c804dd78d02fbd8989cd129dd7269a parent eed0504708c464cfac59fce5724d668e703505a2 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Tue, 31 Mar 2020 17:11:28 +0200 Add an example to the man page of the htrdr-obj file format Diffstat:
| M | doc/htrdr-obj.5.txt | | | 35 | +++++++++++++++++++++++++++++++++-- |
1 file changed, 33 insertions(+), 2 deletions(-)
diff --git a/doc/htrdr-obj.5.txt b/doc/htrdr-obj.5.txt @@ -40,8 +40,8 @@ format [1] with only a specific convention regarding the material name. As a consequence, any software supporting the OBJ file format can be used to create or visualise an *htrdr-obj* file. -EXAMPLE -------- +EXAMPLES +-------- Define a quad at the interface between the air medium and the concrete material. @@ -57,6 +57,37 @@ f 1 2 3 f 3 2 4 ------- +Define a wooden cube whose faces aligned with the Z axis are pasted to a brick +material. The remaining faces are in contact with the air. + +[verse] +------- +v 0 0 0 +v 1 0 0 +v 0 1 0 +v 1 1 0 +v 0 0 1 +v 1 0 1 +v 0 1 1 +v 1 1 1 + +usemtl wood:air +f 1 3 2 +f 2 3 4 +f 1 5 3 +f 3 5 7 +f 5 6 7 +f 7 6 8 +f 4 8 2 +f 2 8 6 + +usemtl wood:brick +f 3 7 4 +f 4 7 8 +f 1 2 5 +f 5 2 6 +------- + NOTES -----