You might try using an object-texture texture map. Object textures are
block based, so you specifiy two pigments or textures, for for the object
and one for outside the object. Once you've done that you can position the
"object" at the coordinates you specified.