Community
Search
Notices
Ikarus Aerofly flight simulators Get the answers to your technical questions about Ikarus' Aerofly flight simulators here in their official support forum

How to change sun position

Thread Tools
 
Search this Thread
 
Old 08-09-2006, 09:07 AM
  #1  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default How to change sun position

Hi,

I always fly using one of the photo-realistic sceneries (can't remember its name). I want to change the position of the sun because in this scenery it is always in front of me, I would like it to be behind me. Is there a way to do this?

Thanks
Old 08-26-2006, 11:38 PM
  #2  
Arthur_GA
Senior Member
My Feedback: (3)
 
Join Date: May 2003
Location: ALPHARETTA, GA
Posts: 169
Likes: 0
Received 1 Like on 1 Post
Default RE: How to change sun position

I don't believe it's possible since photo realistic sceneries are just that: photos. The sun was there when the pictures were taken, so...
Old 09-16-2006, 04:36 PM
  #3  
algenbrot
Junior Member
 
algenbrot's Avatar
 
Join Date: Sep 2006
Location: Paderborn, GERMANY
Posts: 9
Likes: 0
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Hi,

sure its possible.

Each .geo file has a LIGHT_ section and the

LIGHT_POSITION 0 0.20 -0.40 1.00 0

is the line for the sun position

FIRST and last number (0) are not important, but the middle 3 set the sun location

0.20 north-south direction
-0.40 east-west direction
1.00 hight

but if you change it, it maybe doesnt fit the shadow given in the phote sceneries

Andi
Old 09-17-2006, 12:15 AM
  #4  
Arthur_GA
Senior Member
My Feedback: (3)
 
Join Date: May 2003
Location: ALPHARETTA, GA
Posts: 169
Likes: 0
Received 1 Like on 1 Post
Default RE: How to change sun position

Really?? I'll have to give this a try! Thanks!
Old 09-18-2006, 09:31 AM
  #5  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Thanks Andi !!!

Since I've never messed with this before, can you please give me some pointers?
Do you know the range of values you can play with? from -1 to 1? does "0" means sun right on top? etc?

I asssume that the .geo file is a simple text file that I could modify in the notepad. Is this correct?
Old 09-18-2006, 10:21 AM
  #6  
algenbrot
Junior Member
 
algenbrot's Avatar
 
Join Date: Sep 2006
Location: Paderborn, GERMANY
Posts: 9
Likes: 0
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Hi,

yes, the .geo is a simple text file, allways make a copy before playing arround with this files.


north-south direction --> -1 till 1 - = south
east-west direction --> -1 till 1 - = east
hight --> 0 till 1 1 = 90 degree, right on top
Old 09-18-2006, 01:40 PM
  #7  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Thank you very much Andi!!

Just to make sure I got it right:

For example, a sunset towards the northeast should be: LIGHT_POSITION 0 1.00 -1.00 0.00 0

Thank you very much for your help.
Old 09-18-2006, 02:00 PM
  #8  
algenbrot
Junior Member
 
algenbrot's Avatar
 
Join Date: Sep 2006
Location: Paderborn, GERMANY
Posts: 9
Likes: 0
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Hi,

to give you an example:

graphic by H.Wonner

0.8 -0.2 1.0 would be

Attached Thumbnails Click image for larger version

Name:	Mj24444.jpg
Views:	13
Size:	87.6 KB
ID:	526285  
Old 09-19-2006, 08:36 AM
  #9  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Thank you very much.

Itried it last night and it worked perfectly.

(Well, almost... my scenery sky now has two suns; the one a moved behind me and the one from the actual photo, hahaha)

Nevertheless it helped since the reflexions and plane shadows are more realistic of the way I fly in real life.
Old 10-10-2006, 08:59 PM
  #10  
k0brd
Junior Member
 
Join Date: Apr 2004
Location: Homer, NE
Posts: 23
Likes: 0
Received 0 Likes on 0 Posts
Default RE: How to change sun position

You might want to remove the sun from the original scene (the pano before you install it into the program) with the clone tool in Photoshop. That way you would only have the sun that is generated by the program.

Bill
Old 10-11-2006, 12:41 PM
  #11  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Good Idea,

Do you know which file contains the photo?
Old 10-17-2006, 09:43 PM
  #12  
k0brd
Junior Member
 
Join Date: Apr 2004
Location: Homer, NE
Posts: 23
Likes: 0
Received 0 Likes on 0 Posts
Default RE: How to change sun position

Sorry for the delay in responding. What is the name of the scene that you are using? Is it one of the scenes that came from IPACS "the guys that wrote the program" or something you down loaded?

Bill
Old 10-18-2006, 09:45 AM
  #13  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default RE: How to change sun position

No Problem, Thanks for the help.

It's one that came with the program and has a difficult name. If you give me the file extension, I can take it from there.
Old 10-18-2006, 09:55 AM
  #14  
k0brd
Junior Member
 
Join Date: Apr 2004
Location: Homer, NE
Posts: 23
Likes: 0
Received 0 Likes on 0 Posts
Default RE: How to change sun position

If it came with the program you will not be able to edit the file as you do not have access to the original photos.

Sorry Bill
Old 10-18-2006, 10:20 AM
  #15  
jorgeelizondom
Thread Starter
My Feedback: (1)
 
Join Date: Nov 2002
Location: Monterrey, MEXICO
Posts: 153
Received 0 Likes on 0 Posts
Default RE: How to change sun position

OK, that settles it.

Thanks

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.