Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some objects are visible through surface textures #383

Open
MishaPhysics opened this issue Aug 21, 2023 · 2 comments
Open

Some objects are visible through surface textures #383

MishaPhysics opened this issue Aug 21, 2023 · 2 comments

Comments

@MishaPhysics
Copy link

MishaPhysics commented Aug 21, 2023

Runways defined as objects are visible through surface textures. Expecially it's noticeable with enabled surface elevation in the mountain landscape. So, I created the *.cfg file for a base, located in /Config/Earth/Base/<basename.cfg>, set a runway texture "Runway2.dds" and it's visible through mountains. Here is a screenshot:
https://www.orbiter-forum.com/threads/tile-making.41264/post-610919
Besides this can be seen at the Cape Canaveral through the hills.

I noticed that the objects like hangars aren't visible through textures, so maybe it must be some parameters those do this for runways. I was thinking of definition the runways as hangar-like objects or other "mesh", but it's a very strange "solution".

Also, the sun is visible through mountains.

I tested the x64 build.

@jarmonik
Copy link
Contributor

jarmonik commented Jan 4, 2024

This is a non trivial problem existing forever. It's a trade-of of two different problem the one described above and terrain clipping through objects such as runways and landing pads. The current problem is considered to be lesser bad of the two. There is one way of reducing the problem a lot by rendering the terrain twice but it could still cause clipping with-in base's bounding sphere if there is a small hill inside the base. But the performance/benefit trade-off is questionable.
There are no current intentions to do anything about this.

@MishaPhysics
Copy link
Author

I've made some tests. Maybe it could help. Please, take a look here:
https://www.orbiter-forum.com/threads/d3d9client-development.16787/post-614916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants