Old 01-23-2003, 12:05 AM   #1
PeachSkin
.:escape from real life
 
Join Date: Jun 2001
Location: France
Posts: 91
Sun direction

i did read this : http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/ and wrote an excel file which automatically calculate the X, Y and Z. but once ingame, i change the sun "direction" to the new values and when i click "apply" it auto goes back to the original values...someone knows why?

thx, as soon as i find a way to make the light direction match the sun pic of the skybox i will write a lil tut and release the excel file..
__________________
PeachSkin is offline  
Old 01-23-2003, 02:03 PM   #2
vXKitiaraXv
I Kill VPad Campers
 
vXKitiaraXv's Avatar
 
Join Date: Oct 2002
Location: Working at McDonalds, making delicious Sausage McMuffins with Zen Eggs for the public to enjoy.
Posts: 1,743
Send a message via AIM to vXKitiaraXv
lol

did turn the lock to "false"? if not the thats probly you rproblem..if you did then move the sun to your desired coordinates then write them down...then unload the mission, and go into the mis file and input the coordinates there...then save
should work
Kit
__________________
vXKitiaraXv


vXKitiaraXv is offline  
Old 01-23-2003, 11:28 PM   #3
PeachSkin
.:escape from real life
 
Join Date: Jun 2001
Location: France
Posts: 91
no.

but i found a thread about this prob.

Code:
Here is how the direction works (possition means nothing):

It works just like a graph. Where N/S is on the Y axis, and W/E is on
the X axis.

-The larger the first number (X value), the more stretched to West-East
the shadow will be.

-Possitive X values make the shadow go East. Negative makes it go West.
_
_

code:--------------------------------------------------------------------------------__
- (W) <--> (E) +__
--------------------------------------------------------------------------------

_
_

-The larger the second number (Y value), the more stretched to
North-South the shadow will be.

-Possitive Y values make the shadow go North. Negative makes it go
South.
_

code:--------------------------------------------------------------------------------

____ +
___ (N)

____ ^
____ |
____ |
____ v

___ (S)
____ -
--------------------------------------------------------------------------------

_
_

-The third value is the angle of the sun. It will be negative.

-The bigger it is... The steeper the angle (sun almost overhead), the
smaller it is, the less the angle (sun near horizon)
_

Because all the values are related to each other (you can't increase X
and Y without having to change the angle of the sun to make it happen),
when you change one, it calculates the others, and changes the value you
entered as needed.
it seems to work. (credit goes to CleverClothe afaik).
__________________
PeachSkin is offline  
Old 01-23-2003, 11:50 PM   #4
CleverClothe
WC Developer
 
CleverClothe's Avatar
 
Join Date: Feb 2002
Location: Washington, U.S.
Posts: 2,728
Send a message via ICQ to CleverClothe Send a message via AIM to CleverClothe Send a message via Yahoo to CleverClothe
Yup. I was describing how to understand the numbers so you can mess with it by hand. You can try using an object, and move around the direction values till the shadow looks right. But I have no idea how to automate the process.
__________________
CleverClothe
E-mail Me - PM Me
Beginners Guide to Mapping (Last Update: 4/2/03, )
CleverClothe is offline  
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gumby Trigger TseTse Mission Scripting 15 08-31-2001 04:00 PM


All times are GMT -5. The time now is 12:47 PM.


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2005-2007 TribalOutpost.com