Light direction in scenaries

For questions regarding the models and airports / Bei Fragen zu Modellen und Airports
Post Reply
musicaldoc
Posts: 6
Joined: 24 Dec 2017 15:32

Light direction in scenaries

Post by musicaldoc » 26 Mar 2020 17:03

Hi, I need to change the light direction in the scenary Dietesdorf_Tables in order to have the shadows exactly under the models, as if the sun was at the zenith.

I have opened and edited the Dietersdorf_Tables.xml file in the Skybox directory, changing the <Lightdir> values but nothing changes, how can I do it please?

Thank you.

User avatar
Michael
Posts: 1812
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Light direction in scenaries

Post by Michael » 26 Mar 2020 18:54

Hi, that is the right way o do it. What values did you use?

Michael

musicaldoc
Posts: 6
Joined: 24 Dec 2017 15:32

Re: Light direction in scenaries

Post by musicaldoc » 27 Mar 2020 20:22

Hi Michael, thank you for answering.

I was editing the wrong file... I was working on Dietersdorf_Tables.xml file because I thought that that was the one used in the Dietersdorf_Tables Scene.

I instead noticed in the code that the one loaded is the Dietersdorf.xml, so working on it I finally today solved my issue getting the sun from where I need in the Dietersdorf_Tables scene.


Just one question, I'm toggling on the matrix when I work on objects and positions, but it's difficult, at least for me, to understand the values of the grid of the specific environment, is there a way or a place where I can see the values of the grid lines in order to work more fastly instead of trying randomnly?

Thanks
Roberto

User avatar
Michael
Posts: 1812
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Light direction in scenaries

Post by Michael » 27 Mar 2020 20:34

Yes: Turn in the status line, toggle the status file format until it shows the position of the helicopter. Then you cn use these coordinates...

User avatar
Michael
Posts: 1812
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Light direction in scenaries

Post by Michael » 27 Mar 2020 20:37

Yes: Turn in the status line, toggle the status file format until it shows the position of the helicopter. Then you cn use these coordinates...

musicaldoc
Posts: 6
Joined: 24 Dec 2017 15:32

Re: Light direction in scenaries

Post by musicaldoc » 28 Mar 2020 01:30

Great, found it, thank you Michael!

Roberto

Post Reply