TEXMAP extension thoughts and findings.


RE: TEXMAP extension thoughts and findings.
#22
(2018-01-12, 18:31)Joshua Delahunty Wrote: If I'm understanding correctly, the spec would not change from a user perspective, only the technical discussion talking about how the u-v are calculated?  The user specifies the base "center" of the wrapped texture around the cylinder, and the renderer will correct for the fact that this doesn't line up with expectations for PLANAR, or are you saying the user should specify P3 as the top middle point of the texture application?
I'm ok ether way, just wanted to bring this oddity/ambiguity to light as support for cylindrical textured parts is still very limited so changing something now won't break much.


(2018-01-12, 18:31)Joshua Delahunty Wrote: BTW, I think it's interesting the way you're using FALLBACK above.  FALLBACK was intended to allow "dual-use" decorated parts.  The existing geometric designs (we called this Design By Architecture) would go in the FALLBACK section, and the new, often-less-complicated geometry would appear in 0 !: lines.  The intent being that TEXMAP parts could be issued in the wild that would not break existing implementations (such as MLCAD).
Following the spec, your last example should work just as well with the less-work-intensive:
Makes sense, I'll have to check my implementation.

edit: seems to be ok in LDCad 1.6a


(2018-01-12, 18:31)Joshua Delahunty Wrote: I'm also a HUGE fan of the fact that you double-space between triplets.  We do this in all of our experiments, Foundry actually outputs LDR files in that format.  It makes things SO much easier to follow.  If I had my way (ha), it would be a required standard of LDRAW official files.

Edit: forgot to response to this, I can go even 'weirder' if you like Smile :
Code:
1 16   0 0  3.712    1.2374 0  1.2374   0 1 0   -1.2374 0  1.2374   ldcConRing-3-4.dat
1 16   0 0  1.237    1.2374 0  1.2374   0 1 0   -1.2374 0  1.2374   ldcConRing-1-4.dat
1 16   0 0  1.237   -1.2374 0 -1.2374   0 1 0    1.2374 0 -1.2374   ldcConRing-1-4.dat
1 16   0 0 -1.237    1.2374 0  1.2374   0 1 0   -1.2374 0  1.2374   ldcConRing-1-4.dat
1 16   0 0 -1.237   -1.2374 0 -1.2374   0 1 0    1.2374 0 -1.2374   ldcConRing-1-4.dat
1 16   0 0 -3.712   -1.2374 0 -1.2374   0 1 0    1.2374 0 -1.2374   ldcConRing-3-4.dat
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: TEXMAP extension thoughts and findings. - by Roland Melkert - 2018-01-12, 21:39

Forum Jump:


Users browsing this thread: 3 Guest(s)