1. A method executable in a digital processor operable to generate a synthetic image, the method comprising: selecting a rank-1 lattice corresponding to points in the synthetic image to be generated; generating a data structure for efficient access of data stored in points of the rank-1 lattice the data structure comprising the number n of lattice points, generator vector g, s basis vectors, and indices of the basis vectors, wherein the basis vectors are lattice points, and generating, using the rank-1 lattice, digital output representative of a synthetic image, wherein the generating comprises using the layout of rank-1 lattice points to represent textures of arbitrary dimension.