This content has been marked as final. Show 7 replies
I couldnt get any of them to work. It can be done manually using the frames in succesive frames change the transparency, size , color to a lower or different amout. use 3dpi to get the code
> I couldnt get any of them to work. It can be done manually using the frames in succesive frames change the transparency, size , color to a lower or different amout. use 3dpi to get the code
Thanks Tyree. Though I did not follow exactly what you mena. Are you talking about the sprite transparency? I'm just trying to get one model out of a number in my 3D scene to fade out at a
specific point. If you have a demo of this somewhere that would be great. Thanks again.
this shows it but the fade isnt smoth but I didnt want it to be
just add changes to whatever property you want to change in the timeline within succesive framescripts frame 5 member(1).shader("07 - Default").blend = 50
in frame 7 the same thing but blend=40
again use 3dpi this will save you a lot of time
two examples of an effect
> this shows it but the fade isnt smoth but I didnt want it to be
> just add changes to whatever property you want to change in the timeline
> within succesive framescripts frame 5 member(1).shader("07 - Default").blend
> = 50
> in frame 7 the same thing but blend=40
> again use 3dpi this will save you a lot of time
So did you manually just work out the tweening like:
frame 5 - blend 50
frame 6 - belnd 40
frame 7 - blend 30 etc
Would be easier if you could get Director to tween it.
> two examples of an effect
They look cool. Nice work.
By the way, how do you extract code from the 3dpi?
in the 3dpi there is a trace button in the upper right corner its one of those small buttons at the top if you go to thier website it shows you how
and you need to open the message window thats where it shows up
you can get it to calculate the difference by using an if statement
keep in mind you can stretch a 3d member to whatever frame you like the default is 30 frames but your animation may be 100 frames long in max so you should stretch it out to a 100 frames in director
Using the Chrome Lib:
1. Drag'n'drop the Transparency Tweening behavior on the W3D sprite.
2. The parameter dialog box appears
3. Under Shader(s) to affect, either select:
- Affect only the selected shader (then select a shader in the list)
- Affect all shaders of the selected model (then select a model in the
- Affect all shaders
4. Select none as the Trigger
5. Run the movie
If you don't see anything happen, it might be that you selected the wrong
shader. In that case, select Affect all shaders and run the movie. You will
see that it works. Then try and pinpoint what shader you should select.
Download free version 3.2.1 if you don't have it yet.
Quoting a Chrome Lib user:
"Your behaviors are already saving me plenty of time as I just drag them on
and they work!"
It's up to you if you prefer to use 3DPI. But you will have to code.
If you want more support, write to me on chromelib.com
PS: with the Chrome Lib, there is no need to stretch a sprite. It can be one
frame long or whatever you like. It doesn't make any difference.