Page 1 of 1

Sky and terrain in morning

Posted: Tue Dec 26, 2006 8:10 pm
by Jay
I just played around a bit with the skydome and i got an interesting picture:

It's a picture of a terrain and a skydome in morning....

http://img01.picoodle.com/img/img01/6/1 ... 8a6979.jpg

What do you think?

Posted: Thu Dec 28, 2006 12:30 am
by BLACK_PHOENIX
wow thats nice.

i really like the sky. it looks as if it was actually very far away.

how did u do it?

Posted: Thu Dec 28, 2006 1:59 am
by hike1
What resolution is the skydome bitmap? I had to quit using a bmp for the sky, it chopped of 10 FPS, just went with
solid color of 128x128.

Like the HUD, the player is in search of answers, perhaps
there's one behind that hill...

Posted: Thu Dec 28, 2006 12:21 pm
by Jay
I have done this with the skydome entity using this script:

Code: Select all

{
    Init[ ()
    {
        SetLandscapeSize(40200);
        SetSkyDome(4920, 128);
        SetVertScale(1);
        SetHorizScale(1);
        SetHeightOrigin(-128);
        SetDesiredTriangles(512);
        SetSkyTexture("cloud.bmp");
        SetSkyColor(164, 200, 255, 255);
        DisableSun(false);
        SetSunScale(64);
        SetSunColor(255, 128, 0, 255);
        DisableCloud(false);
        SetDistanceFromSunFactor(40200);
        SetMoonColor(255, 255, 255, 255);
        SetMoonPhase(2);
        SetLocation(40, 6, 23, 5);
        SetTimeScale(60);
        UseSkyFog(true);
        SetAmbientLightColor(255,255,255,0);
    } ]
    Run[ ()
    {
        SetWindDirection("east");
    } ]
}
The LandscapeSize is what makes it so big.
Texture is a 256x256 bitmap.
Fraps says 30 fps and i can live with that.

Posted: Thu Dec 28, 2006 6:09 pm
by psYco
WOW! nice sky dude, and yes it does look far away... the place looks massive! good work man... (is the hill generated by the skydome or is the ground a model made with the terrain generator thing>?

Posted: Thu Dec 28, 2006 7:49 pm
by Jay
Thanks for all the praise :D

The terrain is an actor (staticmesh) which i generated with Bryce5 (model)
and Milkshape3d (texturing and export). It originally had 16.000polys but that was too much so i modified it to be 3.800polys. It still looks good, i think.

I also made a few more images. note that the level is not completed yet, there are still missing many things. The terrain is ready though. The next images i will be posting will be when it is finished, so this could take a while.

The houses and stuff are places where the player can go to, this level is a sort of 'main map' where the player moves to get to towns, caves, and questing places.

same time, different place:
http://img01.picoodle.com/img/img01/6/1 ... 61f9d0.jpg

almost same place, different time:
http://img01.picoodle.com/img/img01/6/1 ... 0c2ac7.jpg

different time, different place:
http://img01.picoodle.com/img/img01/6/1 ... f5c0c4.jpg

hope you like it :wink:

Posted: Thu Dec 28, 2006 11:12 pm
by BLACK_PHOENIX
i cant seem to get my skydome working.
i read the tutorial but it doesent make sense.
ive got the entity in the level and ive got the script. :?

Posted: Fri Dec 29, 2006 12:19 pm
by Jay
Have you also flagged the 'sky' attribute (in face attributes) of the outer faces of the level (i mean when your level is inside a huge hollow box then are all faces of it flagged with the 'sky' attribute) ?

Posted: Sat Dec 30, 2006 10:43 pm
by BLACK_PHOENIX
ah. works now. thank you. :D

i still got 3 questions

how do i change the speed of the dome. it goes to fast.
i hav a strange black sort of terrain at the bottom. it looks like my level is unfinished.how can i change it so it looks like yours but with a blue sky.
how can i make the sun more bright and how can i make it to have a corona.

thank you

Posted: Sun Dec 31, 2006 1:42 am
by jonas
Nice! That looks great!