Svenska 3D-Tåg - Forum  
 

Om det här är ditt första besök, se till att gå till vår FAQ (finns även länk till FAQ i navigeringsmenyn ovan). Du kan behöva att registrera dig innan du kan posta (finns även en länk till registrering i navigeringsmenyn ovan). För att titta på inlägg, välj det forum som du vill besöka från de som är listade nedan.

Gå tillbaka   Svenska 3D-Tåg - Forum > N3V Trainz > 3D-design - Trainz

Svara
 
Ämnesverktyg Visningsalternativ
Gammal 2004-03-21, 17:17   #1
lan
Veteran
 
Reg.datum: Nov 2001
Ort: Onsala, , Sweden.
Inlägg: 8 149
Standard

Opacity-mapen skall ebart täcka fönstret! Hittade denna tut för att göra animerade fönster. Har inte provat själv dock:

"Ok to animate the lighting of a window to change with the time of day you need
to perform the following steps.

1) create a plane for your window. You will need two of these the same size.

2) Place one plane 0.3 meters behind the other. This back one will provide the
light at night.

3) Skin the back window and give it's material a self illumination value. I use
blue windows most of the time and a hind of orange tint to my ilum color. It
makes for a nice yellowish orange glow.

4) now you need to add four animations to your model. These are added to the
helper node from the modifiers pane. just slide down and add
Day
Night
Day2Night
Night2Day
These are the four standard animations for time of day cycles.
i) Day runs from frame 10 to 19 with an transition of 0.25
ii)Night runs from frame 32 to 41 with a transition of 0.25
iii)Day2Night runs from frame 54 to 55 with a transition of 0.25
iv)Night2Day runs from frame 68 to 69 with a transition of 0.25

I follow the standard lengths and timing that Bioware uses for my windows. It
saves on headaches and guess work.

5) now you need to animate the front planes Opacity. We want it to become
translucent at night so the lighted window behind it will show through. For day
time animate the Opacity to be 100. For Night it should be animated to be 0. for
Day2Night it should be animated to slide from 100 to 0. For Night2Day it should
be animated to move from 0 to 100.

To animate the value:
i) Select the animation you will work on from the animations list under the
helper nodes modifiers list. Double click it to work on just the time span
for that animation. Bring up the material editor. Select the material to
animate. now click the animate button and change the Opacity value. The
Spinner button should have red marks around it afterwards if you got it right.
Move to the end of the time span and turn off the animate button. Repeat for
each animation setting the desired values."



LAn
lan besöker inte forumet just nu  
Svara med citat
Svara

Ämnesverktyg
Visningsalternativ

Regler för att posta
Du får inte posta nya ämnen
Du får inte posta svar
Du får inte posta bifogade filer
Du får inte redigera dina inlägg

BB-kod är
Smilies är
[IMG]-kod är
HTML-kod är av
Forumhopp

Liknande ämnen
Ämne Startat av Forum Svar Senaste inlägg
Bildformat texturer. Bengan Trainz - Allmänt om Trainz 1 2005-02-08 16:32
Nya texturer till FS2004 Rojje Off-topic 0 2004-12-20 21:36
Ändring av suddiga texturer Erik Götborg 3D-design/Ommålningar - MSTS / Open Rails 2 2004-04-25 12:22
Nya texturer till Pass60 dalchr01 3D-design/Ommålningar - MSTS / Open Rails 11 2003-08-21 20:10
Genomskinliga fönster sibbmark 3D-design/Ommålningar - MSTS / Open Rails 28 2003-01-27 18:46



Alla tider är GMT +2. Klockan är nu 22:23.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson
© Svenska 3D-Tåg 2001-2009