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 / Walls disappearing help needed

Author
Message
Bjack55
13
Years of Service
User Offline
Joined: 25th Jul 2012
Location:
Posted: 25th Jul 2012 16:29 Edited at: 25th Jul 2012 20:36
Hi, I am a new user who is tying to make his first game using DBpro.
I tried to make my charachter moving in a building but the camera showed the right and left walls but not the front one. when I turned my charachter the front wall appeared and the new front one disappeared showing the backdrop. What could I do ?

my idea is that the camera can't render distant objects

If I am not clear is because I'm Italian but I hope I expressed my problem sufficiently.
Bjack55
13
Years of Service
User Offline
Joined: 25th Jul 2012
Location:
Posted: 25th Jul 2012 20:35
my idea is that the camera can't render distant objects is there a solution ?
Andrew_Neale
16
Years of Service
User Offline
Joined: 3rd Nov 2009
Location: The Normandy SR-2
Posted: 26th Jul 2012 00:19
If that is the issue then you could either try scaling everything down to a more reasonable level or you can use the 'set camera range' command to adjust what distance the camera will render from/to.

set camera range CameraId, NearValue, FarValue


Previously TEH_CODERER.
Bjack55
13
Years of Service
User Offline
Joined: 25th Jul 2012
Location:
Posted: 26th Jul 2012 11:34
I solved the problem using set camera range.
thank you very much.
Andrew_Neale
16
Years of Service
User Offline
Joined: 3rd Nov 2009
Location: The Normandy SR-2
Posted: 26th Jul 2012 14:01
No problem.


Previously TEH_CODERER.

Login to post a reply

Server time is: 2026-07-07 14:23:49
Your offset time is: 2026-07-07 14:23:49