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.

AppGameKit Studio Chat / [SOLVED] distant view for a mesh is failed as the screen turned to be black.

Author
Message
harry1315
4
Years of Service
User Offline
Joined: 16th Apr 2020
Location:
Posted: 11th Jul 2020 08:40 Edited at: 11th Jul 2020 11:25
When I tried to move the camera over the map in some height, if the camera is over a fixed value height, the screen will turn to be black.
How can I solve it?


Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 11th Jul 2020 11:49
This post has been marked by the post author as the answer.
I think your issue is probably the camera range. The camera has a set range which is 1 - 1000 by default. Any 3d objects beyond 1000 will not be shown.

You can use SetCameraRange() to change that to a larger far value. The command documentation covers some of the issues.
harry1315
4
Years of Service
User Offline
Joined: 16th Apr 2020
Location:
Posted: 11th Jul 2020 11:55 Edited at: 11th Jul 2020 11:56
thank you very much, it really works, my problem is solved.

Login to post a reply

Server time is: 2024-04-25 11:23:49
Your offset time is: 2024-04-25 11:23:49