dongju.jeong Posted March 3, 2020 Posted March 3, 2020 I'd like to simulate a fighter jet.After raising the camera up to 15,000 meters(the highest altitude of the fighter), I can't see far around.I think the maximum viewing distance is 26000.Can I make it look farther?
silent Posted March 3, 2020 Posted March 3, 2020 dongju.jeong You can control player's far and near clipping via API: https://developer.unigine.com/en/docs/2.10/start/programmer/cameras 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
dongju.jeong Posted March 4, 2020 Author Posted March 4, 2020 playerSpectator->setZFar(num); The zfar seems to be the limit of 26000.( test in editor using Far Clipping parameter) Can I see farther?
silent Posted March 4, 2020 Posted March 4, 2020 dongju.jeong How do you test in Editor - could you please send us a screenshots or video? I can set any value and it will be applied, there is no limit in 26000. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
dongju.jeong Posted March 4, 2020 Author Posted March 4, 2020 The terrain part corresponding to the end of view appears in black. bandicam 2020-03-04 15-26-01-104.mp4
silent Posted March 4, 2020 Posted March 4, 2020 When you generate your terrain via Landscape tool you have an ability to set the maximum visibility distance to the generated ObjectTerrainGlobal: This can't be changed in runtime, so if you generated terrain with 60 km visibility distance it will stay forever. So to fix this you need to generate a new terrain with increased visibility distance. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
dongju.jeong Posted March 5, 2020 Author Posted March 5, 2020 This problem was related to distance of haze. thanks.
Recommended Posts