Question reflective surfaces

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
6,236
Reaction score
670
Points
188
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,832
Reaction score
87
Points
123
Location
Cape
I don't think things that are attached, can be reflected.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
6,236
Reaction score
670
Points
188
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
403
Reaction score
597
Points
108
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,832
Reaction score
87
Points
123
Location
Cape
Do you have the DX9 video set to this ?
 

Attachments

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

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
6,236
Reaction score
670
Points
188
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
6,236
Reaction score
670
Points
188
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

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
8,945
Reaction score
249
Points
153
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
6,236
Reaction score
670
Points
188
Location
Dallas, TX
Thanks. I guess the LPOS is point of view? Not sure what it should be set at
 

DaveS

Space Shuttle Ultra Project co-developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
8,945
Reaction score
249
Points
153
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: 5

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
6,236
Reaction score
670
Points
188
Location
Dallas, TX
Thanks.
KchROsA.jpg

Z7kfK61.jpg


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