Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Blue colors appears when I look up at my sky's edges ?

Author
Message
yahya
16
Years of Service
User Offline
Joined: 16th Oct 2008
Location:
Posted: 5th Jun 2009 22:28
I have a problem with the sky I got from DarkGDK tutorial, I increased the sky scale from 500 to 10000, but when I look around its edges, a blue color show up in-between edges.

http://img197.imageshack.us/my.php?image=gameskyproblem.jpg

I looked around and I found out that if I fix the Camera Range it should be solved but when I do "dbSetCameraRange(0,0,500);" it ends up looking like this:

http://img144.imageshack.us/my.php?image=gameskyproblem2.jpg
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 5th Jun 2009 22:46
That doesn't appear to be DBC code there. However, your problem has to do with the camera range. I good idea I have heard suggested is to make your sky a sphere, positioned at the camera location and of radius equal to the camera's range. If you constantly position it at the camera's location, you will never hit the edge and if the radius is the camera's range, you will never lose it.

Other than that, I can't be much help for darkGDK. Try posting in the DarkGDK forum

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 5th Jun 2009 22:46
wrong board man, this is the Dark BASIC Classic board, not the DarkGDK

There are only 10 kinds of people in the world, those who understand binary and those who dont
yahya
16
Years of Service
User Offline
Joined: 16th Oct 2008
Location:
Posted: 5th Jun 2009 23:30
lol I just been reading so many sky thread problems that I didn't noticeI posted here X.X lol.

Login to post a reply

Server time is: 2025-06-08 09:18:10
Your offset time is: 2025-06-08 09:18:10