New Release D3D9Client Development

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,502
Reaction score
630
Points
128
can we forget the brightness of Orbiter 2016 for a moment
and talk about why the Open version have much sharper ground textures !?? :eek:

Much sharper ? In which way ? I didn't notice anything unusual while testing it during development. There is a little more contrast added between terrain facing the sun and away from the sun. Or could this be micro texture filter issue, make sure it's "anisotropic" not "point".
 

gamer19

Well-known member
Joined
Jul 16, 2016
Messages
200
Reaction score
331
Points
78
Much sharper ? In which way ? I didn't notice anything unusual while testing it during development. There is a little more contrast added between terrain facing the sun and away from the sun. Or could this be micro texture filter issue, make sure it's "anisotropic" not "point".
I mean looking at these two pictures

👇

 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,502
Reaction score
630
Points
128
I mean looking at these two pictures
The right one seems unnaturally flat in contrast. On moon the contrast is pretty high. You can get a flatter microtexture (almost like the right one) by setting the "Blend Mode" to "soft light".
 

misha.physics

Well-known member
Joined
Dec 22, 2021
Messages
199
Reaction score
246
Points
58
Location
Lviv
In those two pictures I setted the "Blend Mode" to "normal light" both for Orbiter 2016 and OpenOrbiter. Maybe there are some other parameters that make the landscape better in OpenOrbiter.
 

OvalDreamX

Active member
Joined
Sep 16, 2019
Messages
79
Reaction score
151
Points
33
Location
Bariloche, Patagonia Argentina
Is it possible that at some time in the future we could get pbr shading and shadows for the vc, like we already have in the external view? Or is there some technical limitation that wont allow it?
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,502
Reaction score
630
Points
128
Here's a development patch (only for developers) for a ray-traced VC textures. It's been a while since I last time build a binary patch so I hope I didn't forget anything. Orbiter can be downloaded from the GitHub page by clicking a small "tag" icon next to "branches" and then select "downloads". This patch is x86 build
 

Attachments

  • OrbiterBakedVCPatch.zip
    1.4 MB · Views: 17

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,502
Reaction score
630
Points
128
Here's a development patch (only for developers) for a ray-traced VC textures. It's been a while since I last time build a binary patch so I hope I didn't forget anything. Orbiter can be downloaded from the GitHub page by clicking a small "tag" icon next to "branches" and then select "downloads". This patch is x86 build
 

Attachments

  • RaytracedVC_4.zip
    1.3 MB · Views: 9

misha.physics

Well-known member
Joined
Dec 22, 2021
Messages
199
Reaction score
246
Points
58
Location
Lviv
Hi, just wanted to ask if I understand correctly that D3D9 terrain flattening isn't compatible with cubic interpolation for the surface elevation in OpenOrbiter?
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,502
Reaction score
630
Points
128
Hi, just wanted to ask if I understand correctly that D3D9 terrain flattening isn't compatible with cubic interpolation for the surface elevation in OpenOrbiter?
It should be. I can't think of any reason why it wouldn't be.
 

misha.physics

Well-known member
Joined
Dec 22, 2021
Messages
199
Reaction score
246
Points
58
Location
Lviv
It should be. I can't think of any reason why it wouldn't be.
There appears some difference between Orbiter 2016 and OpenOrbiter in this. D3D9 terrain flattening works only with linear interpolation in Orbiter 2016:

flat.png

whereas in OpenOrbiter (I tested x64 build) the flatted textures dissaper with cubic interpolation at close distance (or sometimes just doesn't work at all). Linear (the 1st picture) and cubic (the 2nd one):

linear.pngcubic.png
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,216
Reaction score
2,298
Points
203
Location
Dallas, TX
I am trying. to help someone get d3d9 working. I have downloaded and installed. But in the modules folder there was not a place to actitave d3d9. In non d3d9 graphics. They can only run RGB.
The only graphics setting I can get to work at all is the RGB Emulation and that is for the Red version of Orbiter. Any other mode crashes. The Blue icon will run, buts says it’s in the Orbiter NG (nographics) mode. Any ideas, thoughts.
 

Attachments

  • thumbnail1.png
    thumbnail1.png
    28.8 KB · Views: 3
  • thumbnail4.png
    thumbnail4.png
    22.5 KB · Views: 3
  • thumbnai3.png
    thumbnai3.png
    51.2 KB · Views: 3

kuddel

Donator
Donator
Joined
Apr 1, 2008
Messages
1,990
Reaction score
468
Points
83
Check if following have been installed:
  • DirectX Runtimes (for the DirectX 9 OS support. Higer versions of Direct X do not include the correct Direct X 9 runtimes!)
  • D3D9Client (I think that has been done, but just in case ;) ... )
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,388
Reaction score
653
Points
203
Is there any way to make the gaps created by a normal map darker? I'm trying to create a hi-res texture Columbia and Challenger, and I am using a normal map for the tiles to simulate the tile-to-tile gap, but as you can see in the attached screenshot, the gaps doesn't look quite right with the neutral grey tone. It should be darker in my mind.
 

Attachments

  • OV102_normal_map_area.jpg
    OV102_normal_map_area.jpg
    56.7 KB · Views: 23

Felix24

Active member
Joined
May 13, 2010
Messages
244
Reaction score
95
Points
43
Is there any way to make the gaps created by a normal map darker? I'm trying to create a hi-res texture Columbia and Challenger, and I am using a normal map for the tiles to simulate the tile-to-tile gap, but as you can see in the attached screenshot, the gaps doesn't look quite right with the neutral grey tone. It should be darker in my mind.
You could try to fake it by adding dark lines in the gaps in the diffuse texture. That will help to break up the texture and make it look like the tiles are separated by a small gap.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,216
Reaction score
2,298
Points
203
Location
Dallas, TX
I am getting this error:
D3D9: ERROR: Large surface created Handle=0x15D2F818 (9889568,9889596)
 
Top