stars updated for T3D 3.5
by Jeff Yaskus · 02/22/2014 (8:11 pm) · 2 comments
This is an update to an old resource, from TGE days.
http://www.garagegames.com/community/resource/view/3252
So, credits should also go to the original Author; James Lupiani.
Objective:
To add an option to SkyBox that allows you to display stars "on top of" the Skybox.
Progress:
I have updated it to work with the latest version of T3D (currently 3.5 MIT)
and merged the original changes from sky into the skybox.
Download it here:
jyaskus.com/misc/stars_skybox-T3Dv35.zip
To "install" it:
First, start with a fresh "Full" project and create a test project directory.
Extract the zip file into your projects directory main directory.
(i.e I used "My Projects/Stars/")
It will add files under the following;
game/art/stars
game/art/terrains
game/levels
source/environment
To "build" if:
You need to regenerate the project using "GenerateProjects.bat"
and proceed to recompile the release/debug versions.
Then "test" it:
That takes care of the new code, and we already have a sample level.
Load the game and start the "stars" sample level.
You should see either
(a) a blank sky, meaning something didn't work.
(b) lots of tiny white dots all over the sky.
"Known issues":
This was just a test of the original source and like the original,
it has the annoying side effect of appearing through(over?) the terrain, etc.
It could be improved, so as not to - but will leave that for another day.
Source:
I have included the full, original resource as well --
"3252_starpatch.zip"
// Pictures //
before

after

http://www.garagegames.com/community/resource/view/3252
So, credits should also go to the original Author; James Lupiani.
Objective:
To add an option to SkyBox that allows you to display stars "on top of" the Skybox.
Progress:
I have updated it to work with the latest version of T3D (currently 3.5 MIT)
and merged the original changes from sky into the skybox.
Download it here:
jyaskus.com/misc/stars_skybox-T3Dv35.zip
To "install" it:
First, start with a fresh "Full" project and create a test project directory.
Extract the zip file into your projects directory main directory.
(i.e I used "My Projects/Stars/")
It will add files under the following;
game/art/stars
game/art/terrains
game/levels
source/environment
To "build" if:
You need to regenerate the project using "GenerateProjects.bat"
and proceed to recompile the release/debug versions.
Then "test" it:
That takes care of the new code, and we already have a sample level.
Load the game and start the "stars" sample level.
You should see either
(a) a blank sky, meaning something didn't work.
(b) lots of tiny white dots all over the sky.
"Known issues":
This was just a test of the original source and like the original,
it has the annoying side effect of appearing through(over?) the terrain, etc.
It could be improved, so as not to - but will leave that for another day.
Source:
I have included the full, original resource as well --
"3252_starpatch.zip"
// Pictures //
before

after

About the author
Long time gamer, hacker and programmer. With dreams of making video games -

Torque Owner Nils Eikelenboom
Studio DimSum
Hopefully we can get the terrain issue solved!
I could imagine adding a random color shift to make them sparkle as well :)