For a project i need to texture an irregular shaped object with equally spaced black dots and also with dots of different sizes, locations. The way it must be done is by the intersection of spheres with the object surface. I have tried shading with OSL, but a need to choose actual surface points to serves as pivots for the spheres which as far as i know OSL doesn't provide. Is there any other method for doing this? The texture must be displayed correctly, so no UV mapping since the objects are quite complex.