Problem LEM/Moon Surface Issue.

DaveS

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,158
Reaction score
421
Points
173
It is a bit random, sometimes everything is fine and sometimes this vibration appear. Not sure when it first started appearing but it could very well be R4.22.
I commented out the line suggested and I can't reproduce it now.
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,339
Reaction score
381
Points
83
Website
users.kymp.net
@jarmonik regarding the tearing you can check the scenario:
\2016 Edition\The Alps in 3D.scn
In VC mode, look to the left and zoom out. These black triangles are what I call tearing.
The problem disappears when zoomed in, and is worse when zoomed out.
I'm using the latest D3D9Client R4.22 on a Nvidia board.

Yes, I know that one and completely forgot it. I made a pretty long debug session regarding that problem half a year ago and sadly came empty handed. There is something wrong in the edge match algorithm. Martin wrote the algorithm and he obviously have a working one in the inline engine. If those two could be compared then the problem could be spotted. I know the basic idea of the algorithm but I don't know every tiny detail about it. Redesigning a new algorithm could be an option but it would take plenty of time.
 

4throck

Enthusiast !
Joined
Jun 19, 2008
Messages
3,329
Reaction score
606
Points
153
Location
Lisbon
Website
orbiterspaceport.blogspot.com
If you comment out this line (657) from the Surface.fx does it fix the problem ?
C:
// Disrecard elevation and make the surface spherical
// if (bSpherical) vPosW = (normalize(vCameraPos + vPosW) * fRadius) - vCameraPos;

No change. This started with the current or previous D3D9 release - the versions that added the new metallic shader I think.
The issue is recent and it never happened before.

To reproduce you need to zoom in fully. At that point my Orbiter stops to load the needed tiles (that's normal, slow disc).
When it resumes at full zoom all it well. Buy when you zoom out you get the glitches.
 

DDasng1352

Addon Tester
Joined
May 1, 2021
Messages
474
Reaction score
94
Points
28
Location
Los Angeles
No change. This started with the current or previous D3D9 release - the versions that added the new metallic shader I think.
The issue is recent and it never happened before.

To reproduce you need to zoom in fully. At that point my Orbiter stops to load the needed tiles (that's normal, slow disc).
When it resumes at full zoom all it well. Buy when you zoom out you get the glitches.
Yeah, that happens to me as well.
 

4throck

Enthusiast !
Joined
Jun 19, 2008
Messages
3,329
Reaction score
606
Points
153
Location
Lisbon
Website
orbiterspaceport.blogspot.com
Just to add something important:
I noticed this when I update to the current or previous D3D9 releases.
But I've just tested it on R4.7 (from 2020) and I have the same problem!

So I'm 100% sure that the problem is not with D3D9....
Sorry for only testing this now, but better late than never!
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,339
Reaction score
381
Points
83
Website
users.kymp.net
So far I have had no luck in reproducing the problem. But it appears to be pretty common. The line I mentioned above is the only relatively recent change and the only thing that could make some sense.

Ok, I can reproduce it now. I just tested if the frame-rate limiter can be used to bring the frame rate down to 10 fps. And the problem appeared....
 

DDasng1352

Addon Tester
Joined
May 1, 2021
Messages
474
Reaction score
94
Points
28
Location
Los Angeles
Hi there,
So I ran into a problem with the Lunar terrain, but I listed it hear because I don't know if the problem involves AMSO as well. Please referee View attachment 26036 to the screenshot below.
I'm stull getting the same problem. The photos are attached bellow, I installed the latest version of D3D9
 

Attachments

  • Screenshot (369).png
    Screenshot (369).png
    456.5 KB · Views: 12
  • Screenshot (370).png
    Screenshot (370).png
    342.2 KB · Views: 12
  • Screenshot (371).png
    Screenshot (371).png
    398.1 KB · Views: 12
  • Screenshot (372).png
    Screenshot (372).png
    334.8 KB · Views: 11
Top