View topic - Sun direction question



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Sun direction question
PostPosted: 11 Apr 2012, 19:28 

Joined: 13 Mar 2012, 15:47
I'm trying to make a specular map with l3dt. When making a light map, it asks for sun direction and elevation in degrees. How can I translate spring's sun direction values into this format?

The map's SunDir=0.008 0.556 -0.444 (taken directly from SSB)

Thanks!


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 20:06 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Sundir in spring is a vector of X Y Z.
If you look at the map in the TA camera (default) left is -X, right is +X up is Y, down is -Y, backwards is -Z and forwards is Z.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 22:51 

Joined: 13 Mar 2012, 15:47
Off to refresh my trigonometry... thanks!


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.