dongju.jeong Posted July 19, 2021 Share Posted July 19, 2021 I'm making an armored vehicle simulation, and I check the ground and front with hat/hot and los.I used Hole Decal to build underpasses and tunnels.I have not tested yet, but I will ask the question first. Can holes ignore Hat/Hot, Los? Link to comment
silent Posted July 19, 2021 Share Posted July 19, 2021 dongju.jeong HAT/HOT requests doesn't take in account decal holes, so you need to modify heightmap here as well in order to get a correct results. LOS requests should work fine with decal holes. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
dongju.jeong Posted July 20, 2021 Author Share Posted July 20, 2021 Do I need to cut the mountain to the height of the tunnel to get the right Hat/Hot inside the tunnel? Then what do I use to fill in the gaps in the mountains? Link to comment
silent Posted July 20, 2021 Share Posted July 20, 2021 What in this case (in case of the tunnel) HAT/HOT would return the height of the road and not the mountain? From which point you are trying to get this request? In that case I think you can export a flat heights completely and after that add mountain with a tunnel as a separate meshes. Maybe it would be easier to proceed with. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
dongju.jeong Posted July 20, 2021 Author Share Posted July 20, 2021 Thanks for the reply. If I use that method, can I return the height of the mountain when the object is on top of the mountain, and the height of the road if it is in a tunnel? Link to comment
silent Posted July 20, 2021 Share Posted July 20, 2021 I'm not quite sure that I understand what do you want to achieve. HAT/HOT request is a simple infinite line that returns the first ever height where intersection is detected. In case of mountain and tunnel it would be mountain height. If you need something that works differently - you need to implement this on your side (maybe using different rays and intersection masks to detect only required objects). Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts