Welcome! Log In Create A New Profile

Advanced
TEXMAP extension thoughts and findings.
avatarAugust 07, 2014 04:27PM
I've been working on the cylindrical implementation and I noticed some minor confusing things about the current TEXMAP spec.

The planar projection uses top/left orientation while the cylindrical one uses center bottom. This isn't a real big problem but the text states the v coordinate should be based on the distance to the base plane. This will cause the picture to be up side down.

So unless I misunderstood something (else) I think it should be the distance to the cylinder top plane.

Using that correction this:

0 Cyl texmap test minifig head
0 UNOFFICIAL PART
0 BFC CERTIFY CCW

1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\3626bs02.dat
1 16 0 4 0 13 0 0 0 13 0 0 0 -13 1-8cyli.dat
1 16 0 4 0 -13 0 0 0 13 0 0 0 -13 1-8cyli.dat
1 16 0 4 0 13 0 0 0 13 0 0 0 13 2-4cyli.dat
1 16 0 4 0 0 0 8 0 -6.4 0 8 0 0 t04o6250.dat
1 16 0 4 0 -8 0 0 0 -6.4 0 0 0 8 t04o6250.dat
1 16 0 17 0 0 0 -8 0 6.4 0 8 0 0 t04o6250.dat
1 16 0 17 0 8 0 0 0 6.4 0 0 0 8 t04o6250.dat
1 16 0 4 0 0 0 -8 0 -6.4 0 -8 0 0 t04o6250.dat
1 16 0 4 0 8 0 0 0 -6.4 0 0 0 -8 t04o6250.dat
1 16 0 17 0 0 0 8 0 6.4 0 -8 0 0 t04o6250.dat
1 16 0 17 0 -8 0 0 0 6.4 0 0 0 -8 t04o6250.dat

0 !TEXMAP START CYLINDRICAL 0 17 0  0 4 0   0 17 -13 90 smile.png
0 !: 1 16 0 17 0  13 0 0  0 -13 0  0 0 -13  s\minifighead-hlp.dat
0 !TEXMAP FALLBACK
1 16 0 17 0  13 0 0  0 -13 0  0 0 -13  s\minifighead-hlp.dat
0 !TEXMAP END

will render like:



If people agree, we need to correct the spec text.



Second the spec doesn't mention what to do with over scan and or fully enclosed objects.

For example (using Nils' checker png :) ).
0 !TEXMAP START CYLINDRICAL 0 0 0  0 -200 0   0 0 -200   180 checker.png
0 !: 1 15  0 -200 0  200 0 0  0 200 0  0 0 -200 4-4cyli.dat
0 !TEXMAP FALLBACK
1 15  0 -200 0  200 0 0  0 200 0  0 0 -200 4-4cyli.dat
0 !TEXMAP END

gives (over scan):


and
0 !TEXMAP START CYLINDRICAL 0 0 0  0 -200 0   0 0 -200   360 checker.png
0 !: 1 15  0 -200 0  200 0 0  0 200 0  0 0 -200 4-4cyli.dat
0 !TEXMAP FALLBACK
1 15  0 -200 0  200 0 0  0 200 0  0 0 -200 4-4cyli.dat
0 !TEXMAP END

gives (enclosed)


Both having the -180 == 180 problem

But again i'm not claiming my implementation is currently 100% correct.

Thoughts?
Attachments:
open | download - mfhead.png (111.3 KB)
open | download - 180on360.png (48.4 KB)
open | download - 360on360.png (68.3 KB)
SubjectAuthorViewsPosted
TEXMAP extension thoughts and findings. Attachments Roland Melkert214August 07, 2014 04:27PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert85August 08, 2014 04:44PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody62August 10, 2014 08:33PM
Re: TEXMAP extension thoughts and findings. Roland Melkert56August 11, 2014 11:50AM
Re: TEXMAP extension thoughts and findings. Benjamin Moody50August 10, 2014 10:19PM
Re: TEXMAP extension thoughts and findings. Roland Melkert72August 11, 2014 11:48AM
Re: TEXMAP extension thoughts and findings. Attachments Benjamin Moody58August 12, 2014 08:27PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert59August 13, 2014 03:51PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert61August 14, 2014 12:47PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody43August 16, 2014 12:33PM
Re: TEXMAP extension thoughts and findings. Magnus Forsberg46August 14, 2014 01:33PM
Re: TEXMAP extension thoughts and findings. Roland Melkert52August 14, 2014 01:42PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert54August 16, 2014 10:58AM
Re: TEXMAP extension thoughts and findings. Benjamin Moody54August 16, 2014 04:38PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody54August 17, 2014 09:58AM
Re: TEXMAP extension thoughts and findings. Steffen62August 20, 2014 03:56PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody40August 21, 2014 09:28PM
Re: TEXMAP extension thoughts and findings. Roland Melkert53August 21, 2014 02:37PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody58August 21, 2014 09:46PM



Sorry, only registered users may post in this forum.

Click here to login