BruceSherwood / vpython-wx

VPython based on wxPython
Other
70 stars 38 forks source link

Texture behaving differently on cylinder and box #44

Open BruceSherwood opened 10 years ago

BruceSherwood commented 10 years ago

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)