Problem D3D9 Object Shadow on Wideawake International [SOLVED]

Robsoie

Member
Joined
Feb 19, 2008
Messages
67
Reaction score
4
Points
8
Hello,

It's been a while i haven't run my good old Orbiter with my favorite addons, i saw that most of them weren't updated for later Orbiter version, so i stayed with my good old Orbiter 2010 P1 for now.

Testing the D3D9 Client , i ran into an issue using Wideawake International (my favorite earth base)
It seems in comparison to the original D3D7 , the mountains have some bizarro shadow around them as shown in the screenshot

So far the only way i can get rid of those ugly shadows is to disable the "Object Shadows" in orbiter_ng -> Visual Effects
But unfortunately it will remove all the objects shadows then (so all those nice buildings will have none anymore.

Is there anything else i could do that could solve this specific issue ?

Using latest D3D9 client for Orbiter 2010 P1
 

Attachments

  • DX7.jpg
    DX7.jpg
    72.5 KB · Views: 15
  • DX9.jpg
    DX9.jpg
    67.6 KB · Views: 14
Hello

Yes, I seem to recall encountering this problem in the past.

There is a solution:
Edit the mesh (with notepad) representing the hill and add FLAG 1 to the beginning of each group.

Example:

MSHX1
GROUPS 1
MATERIAL 1
TEXTURE 0
FLAG 1
GEOM 7 4
0 0 0 0 0 0 0 .5
1 1 1 0 0 0 1 0
2 0 2 0 0 0 1 1
0 0 0 0 0 0 0 .5
1 0 1 0 0 0 0 .7
1 0 2 0 0 0 0 1
1 1 1 0 0 0 1 0
0 2 1
3 4 5
3 6 4
6 4 0
MATERIALS 1
Material
MATERIAL Material
.5 .5 .5 1
.5 .5 .5 1
.5 .5 .5 1 0
.5 .5 .5 1
TEXTURES 2
abc.dds
car-hull.dds

If there are multiple groups, you must do the same thing.

Your mesh will no longer have shadows.
 
Hello

Yes, I seem to recall encountering this problem in the past.

There is a solution:
Edit the mesh (with notepad) representing the hill and add FLAG 1 to the beginning of each group.

Example:



If there are multiple groups, you must do the same thing.

Your mesh will no longer have shadows.
THANK YOU !

there were a few .msh to edit but fortunately their name was obvious (hill.xx..msh mountain.xx.msh crater.xx.msh ) and after adding that FLAG 1 after the GROUPS 1 it worked excellently !

Many thanks, going to stay with DX9 now without needing to turn the shadows off , happy orbitting :)
 

Attachments

  • 03.jpg
    03.jpg
    60.9 KB · Views: 7
  • 04.jpg
    04.jpg
    65.7 KB · Views: 7
Last edited:
Back
Top