Texture/object: animating transparency

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Texture/object: animating transparency // New Users

1  |  

Post by weaveribm // Feb 20, 2007, 2:34am

weaveribm
Total Posts: 592
Is it possible to animate (TS6.6SP2) transparency somehow please?

To have an object or texture fade in and out, becoming invisible finally?

I can operate the Scene Editor/Keyframe Editor without too much trouble now (for moving etc objects around) after getting excellent advice in here earlier. This one is Advanced Studies I think :)

TIA

Peter

Post by Bobbins // Feb 20, 2007, 2:52am

Bobbins
Total Posts: 506
Change the texture to how you'd like it to look in the material editor, go to the frame where the change will take place, do a Paint Over of the object with the new texture and set a keyframe by pressing the animation record icon.


To make sure that the right keyframes are being recorded, open the Scene Editor and right click the record icon in there. You'll see a list of possible key types with check marks next to the active ones.

Post by 3dpdk // Feb 20, 2007, 4:47am

3dpdk
Total Posts: 212
pic
Materials Animation 201;)

There's a couple of tricks to this, but it's really pretty straight forward.

With frame counter at 0 paint the object with it's starting color, shine, reflect, etc. using the funnel icon. Click the record button on the frame counter; At this point I advance the counter to 1 and click record again.
4499
(actually your beginning settings are not as important as your end settings)

Now advance the counter to the end of the transition and set the sliders of the material editor;
4500
lumanance = 0
diffusion = 0
transmission = 1 (transparency)
refraction = 0
and color = 255, 255, 255 RGB (full white)
If these four sliders are not to their full extent or the color not set to full white the object will not be invisible. Use the paint roller to paint the object. That's important. You could use the paint face tool (paint brush) if you want select faces to disappear. Now click the record icon in the animation frame counter or in the scene editor and render the animation.

note:
- The object may not appear invisable in real time solid render. I think that depends on your video card.
- The invisible object will cast a shadow unless you set all shadow casting lights to "transparent shadows".
- Procedural and image background shaders (such as the procedural cloud shader I used for the example) do not work. They stretch and pixilate when seen through the invisible object. This only applies to backgrounds and not materials applied to real geometry.

Here's a quick example. (http://forums1.caligari.com/truespace/attachment.php?attachmentid=4498&d=1171982163)

Post by weaveribm // Feb 20, 2007, 6:52am

weaveribm
Total Posts: 592
That's extremely kind of you both thanks very much!

Peter
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn