Lets see:
`make a star filled texture
create bitmap 1,256,256
set current bitmap 1
ink rgb(255,255,255),0
for i=1 to 1000
dot int(rnd(255)),int(rnd(255))
next i
get image 100,0,0,255,255
set current bitmap 0
delete bitmap 1
`make the sphere and turn it inside out
make object sphere 100,100
texture object 100,100
scale object 100,-4000,-4000,-4000
I had a bit of trouble with the image sizes in DbPro, so I had to resort to 256x256 which I know works. Hence the rather rubbish looking starmap, but you get the idea.
Mess about with the scaling values until you are happy.