Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Third: With some more work it should possible to store single vertices with 3 coordinates on each line in this textfile, and then collect 3 lines on every gemhead-bang. This basically is the format of an *.obj-file, where vertices start with the letter "v". So with
[textfile] <= open some obj-file here | [route v] | [sx/objblob] <= TODO
you would get a custom, primitive obj-file renderer.
I've played with this idea some more and attached is the first result, which uses the patches from prev. mail. It can load and display an obj-file which is based on triangle faces (no quad faces yet.) I used some more externals: [repack] and [s2l] from zexy, and [list-drip] from list-abs, which can be replaced with drip or repack, if you like. Also attached is a test-obj-file displaying a torus.
For some unknown reason the normals of the faces aren't quite right.
Frank Barknecht _ ______footils.org_ __goto10.org__