Question reflective surfaces

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
How do I get true reflective surfaces? Looking in the cargo bay it looks like I am seeing the inside of the bay.
0n9U2O3.jpg


But when I launch you can see the ground rather than the inside of the bay.
ycJlBO8.jpg

It is almost like it is 90 degrees? out. So the reflection are on the z axis?
TBTRyXT.jpg


in the scn. this is the vessel:
STS-51G:Shuttle2016BEARLY

In the cfg/GC folder I have a file:
Shuttle2016BEARLY.cfg
that lists the different meshes
CONFIG_VERSION 2
; =============================================
MESH 2016SPACESHUTTLE\Challenger\Challengerlate2016H2
; ---------------------------------------------
MATERIAL 2
REFLECT 0.866667 0.866667 0.866667
ROUGHNESS 1.00000000
; =============================================
; =============================================
MESH 2016SPACESHUTTLE\Discovery\Discoverylate2016H2
; ---------------------------------------------
MATERIAL 2
REFLECT 0.866667 0.866667 0.866667
ROUGHNESS 1.000000
; =============================================
...
and another file:
Shuttle2016BEARLY_ecam.cfg
BEGIN_CAMERA 0
LPOS 0.0 0.0 0.0
DO_NOT_OMIT_FOCUS
END_CAMERA

Where should this be:
LPOS 0.0 0.0 0.0

I noticed the SSU has it at:
LPOS 0.0 0 8.75289
 
Last edited:

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,904
Reaction score
196
Points
138
Location
Cape
I don't think things that are attached, can be reflected.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Oh. But the GAS containers are not attached.
CARGO_STATIC_MESH STS_PAYLOADS\STS-51G-STATIC
CARGO_STATIC_OFS 0.075000 0.405000 6.200000

But why is it reflecting the outside in

Here the shuttle is landed
1CLHeRq.jpg


akg3eds.jpg
 
Last edited:

MaxBuzz

Well-known member
Joined
Sep 19, 2016
Messages
1,392
Reaction score
2,126
Points
128
Location
Kursk
if the problem is solved, please let us know about the mechanism of the solution
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,904
Reaction score
196
Points
138
Location
Cape
Do you have the DX9 video set to this ?
 

Attachments

  • Video setup.jpg
    Video setup.jpg
    101.8 KB · Views: 24

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Thanks. I was not. But now I am:
jH0TxIo.jpg

This is edwards with the shuttle landed:
7n78U3j.jpg


With sts51G launch:
Before launch:
dNY5DkJ.jpg

after launch:
VopDLiT.jpg

so it is reflecting the ET and SRB. In those blue spaces the ground was seen. In is in orbit now
cargo bay lights on:
yVtmyuX.jpg

the orange is the ET
kwN0DZ3.jpg

ET separated
OPen the doors and look outside.
c1zlWV0.jpg

I expected the earth. What I am seeing in the spartan logo

Still not sure what this should be:
LPOS 0.0 0 8.75289

I put it at
BEGIN_CAMERA 0
LPOS 0.0 0 0
END_CAMERA

These are the material setting if it matters:
1.000000 1.000000 1.000000 1.000000
1.000000 1.000000 1.000000 1.000000
0.694118 0.694118 0.694118 1.000000 100
0.000000 0.000000 0.000000 1.000000


QujGDNc.jpg
 
Last edited:

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
So it seems the reflection might be from the camera view?

UggKTfU.jpg

Ehsq3lJ.jpg


That would explain why seeing the launch pad because the camera is looking in the -z direction.

In the image you see the satellites in the reflector.
cjNqQLo.jpg
in this the camera is above looking down to the shuttle the earth behind the camera so Earth is reflected.

still don't know what this value should be:
LPOS 0.0 0 4
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,429
Reaction score
680
Points
203
The reason for the odd reflections on the radiator panels is that D3D9Client can only handle one "reflection camera" (D3D9Client calls it an "environment camera") per vessel. In reality each reflective surface is its own "reflection camera" generating its own Point of View (PoV) that gets applied to the surface. This is something I have requested in the past: https://www.orbiter-forum.com/threads/d3d9client-development.16787/post-262882
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Thanks. I guess the LPOS is point of view? Not sure what it should be set at
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,429
Reaction score
680
Points
203
Thanks. I guess the LPOS is point of view? Not sure what it should be set at
LPOS is the position of environment camera. In D3D9Client, the environment camera is a six-sided cube located at the coordinates specified by the LPOS parameter. You can see what the environment camera sees by pressing Ctrl-F4 and selecting D3D9 Debug Controls. And then in the D3D9 Debug Controls window, click on the ">>>" button and select "Mirror" from the Display env map for level drop down menu.
 

Attachments

  • orbiter 2020-12-25 04-33-29.png
    orbiter 2020-12-25 04-33-29.png
    7 MB · Views: 10

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Thanks.
KchROsA.jpg

Z7kfK61.jpg


Ok then I suppose the camera should be center of the payload bay
 

francisdrake

Addon Developer
Addon Developer
Joined
Mar 23, 2008
Messages
1,060
Reaction score
864
Points
128
Website
francisdrakex.deviantart.com
ISV reflections.jpg

Equal rights for gas planets! :cool:

I put reflective textures (_refl + _spec) on the mirror shields of the ISV Venture Star.
Reflections are set to full scene.

While the Earth is nicely reflected, as show in the left-hand pic, Saturn and Neptune are not.
Is there a specific reason for that?
Note that Earth has hi-res textures, while the outer planets are Orbiter default.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,271
Reaction score
3,244
Points
203
Location
Toulouse
Could it be a matter of distance, if the reflection is rendered?

I guess you shoud try a "low altitude pass" over one of the giants, can defintively be a thing.
 

Pioneer

Well-known member
Joined
Mar 2, 2012
Messages
506
Reaction score
272
Points
78
Location
Greater Detroit
Out of interest I tried the reflections around Mars. Both Mars and Phobos show up in the mirrors.
Could it be a matter of distance, if the reflection is rendered?
The orbits around gas planets are much higher than those around the rocky planets ... ?
Maybe it's reflected because it is rendered in the new way that was introduced in Orbiter 2016, while much of the outer planets is done in the old way.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,271
Reaction score
3,244
Points
203
Location
Toulouse
Maybe it's reflected because it is rendered in the new way that was introduced in Orbiter 2016, while much of the outer planets is done in the old way.

You mean the "texture tree" thing ? Yes, that's another interesting lead.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,271
Reaction score
3,244
Points
203
Location
Toulouse
in this the camera is above looking down to the shuttle the earth behind the camera so Earth is reflected.

In the last picture of that post, I can see something like a planet in transit in front of the Sun (has to be Venus or Mercury). Is that even possible ? Would be crazy, if yes what a lucky shot !! ?
 

francisdrake

Addon Developer
Addon Developer
Joined
Mar 23, 2008
Messages
1,060
Reaction score
864
Points
128
Website
francisdrakex.deviantart.com
Did a low pass over Neptune, until the aerobraking flames came up. No reflections.

While being around, I decided to visit its moon Triton. And guess what:
Triton was reflected! ... ? ...

0290_cr.jpg
 
Top