|Adventures in creating starry skies in Opensim.|
|June 27, 2020|
|A few days ago we decided to try and improve on the look of the stars that show up in the night sky, here in this grid space. Listed below describes what we went through to try and achieve a better night sky.|
Needless to say, we did not succeed.
It is not currently possible to modify the textures used for the stars, nor is it possible to adjust the color, size, or the number of stars in the night sky, at least from a user's point of view.
Although, it may not be entirely impossible to modify the texture used, as we've listed below, but this would require access to certain file converters that may not exist anymore.
|0006691: Fix for Star apperance in Opensim|
|[Opensim-users] Change the moon?|
|The notes taken while trying to modify the stars are listed below, unedited.|
| found, in the data base, the item with ID
it has a name:
changing its ID to:
using HeidiSQL, pasted the item named: "star_tests_1_violet_3"
with the ID: 3c59f7fe-9dc8-47f9-8aaf-a9dd1fbc3bef
after this, the stars still look the same.
maybe "IMG_BLOOM1 Texture" is not the location of the current
search for "IMG_BLOOM2 Texture" ? and so on.
found a second file named:
with the ID:
so, setting this one's ID to:
SQL Error (1062): Duplicate entry
So instead we'll set this second item's ID to:
still no difference in the stars.
clearing the cache in the firestorm viewer, to see
clearing the firestorm cache had no effect.
on the reset database, IMG_BLOOM1 Texture has been reset to
... need to find where this is coming from.
On server, found: IMG_BLOOM1.jp2 at:
into the above directory:
and changing its name to: IMG_BLOOM1.jp2
while saving the original IMG_BLOOM1.jp2 to IMG_BLOOM1_orig_copy.jp2
and deleted from the current database, the files with names "IMG_BLOOM1".
clear firestorm viewer cache:
Avatar --> Preferences --> Network & Files --> Directories --> clear inventory cache
still seeing the old "bloom" file for the stars.
maybe there are cache files that still need clearing.
found more cache files at:
moving the files within "assetcache" to another dir.
created a red square image, for testing. -- star_tests_1_red_square_1.jp2
copied this new test image to:
changed the file from: star_tests_1_red_square_1.jp2 to: IMG_BLOOM1.jp2
after restarting, the "assetcache" directory has now refilled again.
finally, we see the stars as squares, but not red squares.
The stars now look like fuzzy whitish squares.
we are getting somewhere.
created an image that is 512x512, with two red squares:
.. turned off region
... still only see white fuzzy squares, not two fuzzy squares.
the 512x512 image didn't do much, trying a similar image that is 256x256.
After all the experiments, we see we cannot change the properties of
First make a backup copy of IMG_BLOOM1.jp2, in case you wish to
Then create the colored BLOOM image we want by starting with
Change its color or content, but not anything else. Not its image size,
Before logging out the avatar, clear the cache within the viewer. We use firestorm.
Then open the sql editor and delete the entry for "IMG_BLOOM1 Texture",
Then stop the region, and clear all its cache.
Copy the new BLOOM file labeled IMG_BLOOM1.jp2, and place it into
overwriting the old BLOOM file.
created new bloom images using: cuj2k (converter bmp image to jp2):
setting this as the new bloom image: