Anyone have any luck getting the NEW sky system to work?

Posted By: Cameron_Aycock

Anyone have any luck getting the NEW sky system to work? - 05/07/02 12:47

Here is the code I am using.. pulled straight from the manual:

code:
sky StarField {
type = <StarField1.pcx>; // the image for a backdrop scene
speed_u = 1;
speed_v = 1.5;
scale_x = 0.5;
flags = dome,visible;
layer = 1;
}

And I have a single rectangular plane, with the guard on it in the middle of nothing. The guard is set as the default view (via player_walk action), but the sky dome doesn't show... here is what I see:

http://www.geocities.com/xagon7/skytest.jpg

(Cut and paste in browser)

Any ideas kind people?

Cam
Posted By: Anonymous

Re: Anyone have any luck getting the NEW sky system to work? - 05/07/02 22:09

Check your sphere, it looks like you may not have the sphere ploygons facing the correct direction.

Flip them, and see if that fixes the problem.

Easy way to see that, is run in preview mode go outside the sphere and turn around if you see your stars then you need to flip the ploygons.
Posted By: James Snydstrup

Re: Anyone have any luck getting the NEW sky system to work? - 05/07/02 23:53

xagon7:

Sky sprites are mapped onto a sky surface. It is obvious from the image you posted that you don't have a 'sky box' in your level. You need to surround your map with a large hollow box with a sky texture applied to it. Once you do this all sky entities will then be mapped onto the sky surface.

The default background is not a valid sky surface for sky sprites.
Posted By: Cameron_Aycock

Re: Anyone have any luck getting the NEW sky system to work? - 05/08/02 06:13

AHHHHH .. so the NEW system is simply the ability to MAP sky entities onto the sky surface. Ah Ha!

I thought you could create the sky entity itself, since you could specify a mdl for the type. Whithout the need for a sky sphere or skybox. And the background would always be in the background no matter where the camera was, and follow along with it. BUT, I guessed wrong. [Wink]

Thanks,
Cam
© 2023 lite-C Forums