Everything Tribes. Maps. Scripts. Styles. More.
|
|
#1 |
|
.: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.. |
|
|
|
|
#2 |
|
I Kill VPad Campers
|
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 ![]() |
|
|
|
|
#3 |
|
.: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.
|
|
|
|
|
#4 |
|
WC Developer
|
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, ) |
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gumby Trigger | TseTse | Mission Scripting | 15 | 08-31-2001 04:00 PM |