I have a cylinder with radius = 1 and height = 1, and a test-texture created in Illustrator at 628mm * 100mm and exported in 72ppi and 600ppi. The cylinder was created with primitiveDisk(20, 1), extrude(1).
I want to texture the side (top+bottom remain blank) of the cylinder with this single texture (i.e. when setting up the projection I use 6.28, 1 for 2*pi*r and 1 for height). Unfortunately, no amount of scope aligning, comping, setting up the projection, etc, has gotten CE to do this. It always repeats the texture wrong, cuts off part of it, or warps it. How do I get it to display it right?
Furthermore, the same rule creates a far worse texture when I use the higher resolution file, as can be seen below. Why is that?
I attached the texture files, if someone wants to test this. This is the CGA for the above (top and bottom are textured too, but the concern here is the texture quality):
@StartRule @InPoint
Lot -->
primitiveDisk(20, 1)
extrude(1)
setupProjection(0, scope.xy, 6.28, 1)
texture("/Arsen/data/TestTextures/2pi_600ppi.png")
projectUV(0)