BruceSherwood/vpython-wx

Texture behaving differently on cylinder and box

Opened this issue · 0 comments

With the default rectangular mapping, the texture looks correct on the box but not on the cylinder:
grid = ( (color.red, (1, 0.7 ,0)),((0, 1, 0.3), color.magenta) )
tgrid = materials.texture(data=grid, interpolate=False)
cylinder(pos=(-1,0,0), material=tgrid)
box(pos=(1,0,0), material=tgrid)