Spherical starfield texture generation?

I am going to be entering in the java 4k competition this year however I have hit a snag...

For my Java 4k game entry I am in need of generating a starfield texture which which will be the texture for a sphere.

Due to the restrictive space requirement I am unable to include a pre-rendered spherical starfield (e.g. ones found on the net) and will have to generate it on the fly.

I have wracked my brain attempting to google for a "normal" texture to "spherical" texture convervion algorithm or a direct spherical starfield texture generation algortithm without any luck.

Does any one have any Ideas on how to implement this or knows of the correct search term i should use on google?

Or is there another way to simulate a starfield in a full 6 degree of freedom simulator?

[810 byte] By [klana001a] at [2007-10-3 6:32:43]
# 1

If you want to do that rectangle to sphere conversion, the wikipedia entry for map projection [1] might be a good starting point.

Generating a simple starfield by yourself does not seem to complicated to me. Just take a black sphere and randomly spread white points (small circles) of different intensity (and perhaps slight variation in size) over its surface.

[1] http://en.wikipedia.org/wiki/Map_projection

horstmeyera at 2007-7-15 1:20:11 > top of Java-index,Other Topics,Algorithms...
# 2
Cheers, that is exactly what i after! map projection... i didnt know the correct term.Thanks!
klana001a at 2007-7-15 1:20:11 > top of Java-index,Other Topics,Algorithms...