RE: Texture mapping
2017-06-28, 12:22 (This post was last modified: 2017-06-28, 12:26 by Jaco van der Molen.)
2017-06-28, 12:22 (This post was last modified: 2017-06-28, 12:26 by Jaco van der Molen.)
(2017-06-28, 12:04)Jaco van der Molen Wrote:(2017-06-28, 11:10)Philippe Hurbain Wrote: I see no reason why this shouldn't work... Got some screenshots/sample code? See also this round dish with texmap: http://www.ldraw.org/cgi-bin/ptdetail.cg...960p0b.dat
I was trying to create the Round Tile 1 x 1 with Brickheadz eye pattern. See attached.
This is the result:
Note that the patterns on the bricks and tiles are low-res as I am testing things.
OK, I studied the file you provided and see I am doing things way too difficult and my code and method is not correct.
I'll try to correct.
Edit: done.
Code:
0 Tile 1 x 1 Round with Brickheadz eye Pattern
0 Name: 98138bh-eye.dat
0 Author: Jaco van der Molen
0 !LDRAW_ORG Unofficial_Part
0 BFC CERTIFY CCW
0 !KEYWORDS Brickheadz, eye
0 // Tile 1x1 round without top face
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\98138s01.dat
0 !TEXMAP START PLANAR -9 0 9 9 0 9 -9 0 -9 bh-eye.png
0 !: 1 16 0 0 0 9 0 0 0 9 0 0 0 9 4-4disc.dat
0 !TEXMAP FALLBACK
1 16 0 0 0 9 0 0 0 0 0 0 0 9 4-4disc.dat
0 !TEXMAP END
Jaco van der Molen
lpub.binarybricks.nl
lpub.binarybricks.nl