Svenska 3D-Tåg - Forum

Svenska 3D-Tåg - Forum (http://www.e-buzz.se/forum/index.php)
-   3D-design - Trainz (http://www.e-buzz.se/forum/forumdisplay.php?f=12)
-   -   Genomskinliga Texturer (http://www.e-buzz.se/forum/showthread.php?t=6599)

Json 2004-03-21 16:54

Genomskinliga Texturer
 
[|)]

http://www.e-buzz.net/forum/attachments2/1996165138.JPG

Hoppas det syns på bilden vad jag menar;)
Om inte, det ska vara en helröd vägg där med ett fönster på. Nu är det inte så, men går det att göra något åt?

I Opacity-map så är det vitt (d.v.s ingen genomskinlighet), och i TOE ser allt bra ut, men inte i TRS! Någon?

lan 2004-03-21 17:17

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

Tomas 2004-03-21 18:14

lan, inget av det där går att använda i TRS... så varför posta det?

JSON har texturen (.tga filen) och opacy mappen (svartvit .bmp) samma storlek?

är golvet och alla andra väggar normala? de ser ut att ha en del problem de med.

har du mappat texturen så du inte får opacy på ställen du inte tänkt dig?

är väggen utochinvänd (om du kan se det)? isåfall har du normal problem, vilket inte snyns i gmax, men i TRS.

beskriv gärna lite mer om hur huset är gjort och hur dina texturer ser ut.

Tomas

http://msts.e-buzz.net/stw/images/st...t4_strip4s.jpg

Json 2004-03-21 18:29

Hej!
Ja, alla texturdelar är fel.... ska se om jag kanske har löst det, men det är inte säkert....

Huset är gjort av boxar och planes.....


En fråga också! Hur får jag till en smörjgrav? Som det är nu så ska det vara det i mitten av golvet, men där är ju marktexturen ivägen. Har sett ett par objekt där marklöshet har fixat, men JAG vet iaf inte hur man gör!


http://www.e-buzz.net/forum/attachments2/3941174813.gif


Alla tider är GMT +2. Klockan är nu 04:42.

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