123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|533|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Sky issue

Posted : Tuesday, 22 April 2008, 11:51
DrOnuki

The black hole!

I don't want that there! How can I fix it?

Thanks!

-=-=-
zzzzzzzzzzzzzzz
Posted : Tuesday, 22 April 2008, 12:01
Hotshot
if u using BLITZ 3D then look for camerarange commands as that will fixed it...I am sure.
Posted : Tuesday, 22 April 2008, 12:16
Afr0
Yeah, either that, or try to change the texture... make it larger or something, but back up the original texture before doing any changes.

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Tuesday, 22 April 2008, 12:17
DrOnuki
Cool, thanks!

I added "CameraRange camera,15,5000" and now it's fine!

Thanks!

-=-=-
zzzzzzzzzzzzzzz
Posted : Tuesday, 22 April 2008, 12:19
GoliX
Or you could make the sky-sphere smaller, and use EntityOrder to have it drawn before everything else, then keep positioning it at the players co-ordinates. Thats probably the most realistic way as then you can't get closer and closer to the 'sky'.

|EDIT|

Some code

Draw a map at the start then press 'space'.

Notice the sky stays still as you move along


Posted : Tuesday, 22 April 2008, 12:40
DrOnuki
Thanks very much.

I'll stick with the camera range, because it's more simple!

Thanks very much everyone

-=-=-
zzzzzzzzzzzzzzz
Posted : Tuesday, 22 April 2008, 12:59
GoliX
Hehe, maybe I put you off with all that excess code .

The key commands were:

EntityOrder(skybox,1)

and

PositionEntity(skybox,EntityX(player,1),EntityY(player,1),EntityZ(player,1),1)
Posted : Tuesday, 22 April 2008, 13:18
DrOnuki
Well, that's more simple! And works as well!

Thanks!

-=-=-
zzzzzzzzzzzzzzz
Posted : Wednesday, 23 April 2008, 01:27
JL235
I'm pretty certain having a rediculously large camera range is a bad idea as it might cause problems in the future. Another alternative, change the background colour to white and add fog so that instead of being a black hole it just fades off to white.

-=-=-
PlayMyCode.com - build and play in your browser, Blog, Twitter.