
What is an "horizon"?
It's a virtual box having a landscape inside. It can be used in BBG to make your world more beatiful.
It doesn't need to be "realistic":
How to use an "horizont" in your BBG world?
We are presenting here, at this lesson, 17 "horizons" created by a famous digital artist from UK: "Scented Nectar" (a nick name, of course...). We (DMU) was authorized for this free distributon. I hope that, in the future, many other artists will create other "horizons" for the use of the "bbgerians".
An "horizon" has 5 .JPG files that you will find in the downloadable (rightclick) KIT (6 MB):
By example, for this horizon:
you will find 5 files: lt1.jpg, ft1.jpg, rt1.jpg , bk1.jpg, up1.jpg
If you like to use this "horizon", copy these files (from the KIT unziped) at the Script folder of your project but with the equivalent names: bbg_LF.jpg, bbg_FR.jpg, bbg_RT.jpg, bbg_BK.jpg, bbg_UP.jpg.
You need to copy also the files (from the KIT) : bbg_DN.jpg and SkyBox.material.
In the PostWorld.js file you need to use the properties of the Class SkyBox. Add these lines:
oSkyBox = Scene.createSkyBox(); oSkyBox.materialName = "SkyBox"; oSkyBox.distance = 5000; oSkyBox.drawFirst = true; oSkyBox.enable = true;
Here you can see the itens of the "Scented Nectar collection" that you will find in the KIT (Thanks, dear SN! Don't smoke too much...). In the sequence 2 to 17.:
Look the ugly scene of our previous exercice having a beatiful "SN horizon":
PREVIOUS LESSON NEXT LESSON T.CONTENTS HOMEPAGE
