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 Melkert279August 07, 2014 04:27PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert108August 08, 2014 04:44PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody86August 10, 2014 08:33PM
Re: TEXMAP extension thoughts and findings. Roland Melkert79August 11, 2014 11:50AM
Re: TEXMAP extension thoughts and findings. Benjamin Moody68August 10, 2014 10:19PM
Re: TEXMAP extension thoughts and findings. Roland Melkert103August 11, 2014 11:48AM
Re: TEXMAP extension thoughts and findings. Attachments Benjamin Moody82August 12, 2014 08:27PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert84August 13, 2014 03:51PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert80August 14, 2014 12:47PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody64August 16, 2014 12:33PM
Re: TEXMAP extension thoughts and findings. Magnus Forsberg68August 14, 2014 01:33PM
Re: TEXMAP extension thoughts and findings. Roland Melkert76August 14, 2014 01:42PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert75August 16, 2014 10:58AM
Re: TEXMAP extension thoughts and findings. Benjamin Moody82August 16, 2014 04:38PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody73August 17, 2014 09:58AM
Re: TEXMAP extension thoughts and findings. Steffen87August 20, 2014 03:56PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody58August 21, 2014 09:28PM
Re: TEXMAP extension thoughts and findings. Roland Melkert74August 21, 2014 02:37PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody86August 21, 2014 09:46PM



Sorry, only registered users may post in this forum.

Click here to login