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 Professional Discussion / Seeing into the distance

Author
Message
zerosimms
15
Years of Service
User Offline
Joined: 25th Feb 2011
Location:
Posted: 22nd Mar 2011 12:56
Hi all

Background first:
My game (currently) is a long tunnel with no roof, just walls and floor.
I'm trying to create a "background" or "sky".
So I've tried making a massive plane and adding a texture, which kind of works but unless I'm close to the object it doesn't actually show just the default backdrop color.

I've seen people talking about skyboxes and I've had a look into it, I had trouble with that as well but I'm also wondering if a sky box is an over kill because in the game you only look and move forward.

Can any one help me out on this please or advice, I'm new to coding so I'm really trying to keep things simple at this stage, hence why I think a textured plane would be best, but any advice would be appreciated.

www.bensimms.co.uk
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 22nd Mar 2011 13:24
What sort of distances are you talking about for your tunnel? You might like to check the set camera range command.
zerosimms
15
Years of Service
User Offline
Joined: 25th Feb 2011
Location:
Posted: 22nd Mar 2011 13:32
Hey

distance#=10000

And I have set the camera FOV to:

set camera fov 20.9956633333

Is the second section of the FOV 9956633333 how far ahead the camera can see?

www.bensimms.co.uk
zerosimms
15
Years of Service
User Offline
Joined: 25th Feb 2011
Location:
Posted: 22nd Mar 2011 13:34
ahh! Actually I see your point, I have set camera fov not the set camera range

www.bensimms.co.uk
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 22nd Mar 2011 15:48
Yes, sounds like you need to increase the camera's far range.

Login to post a reply

Server time is: 2026-07-17 13:57:09
Your offset time is: 2026-07-17 13:57:09