Page 1 of 1

Toch Button to freeze

Posted: 24 May 2016, 21:53
by Enchant2016
Hello,
i´m a beginner and have a question:
I have a rectangle with material and a touch button. With a damper an the touch-button i turn the rectangle by transparency to invisible. But the rectangle will resist visible after press the button
It should not be visible. What can i do? I think with a expression-node, I don't know how to tackle it.

Can someone help me?

Thank you very much!

Uli

Re: Toch Button to freeze

Posted: 25 May 2016, 16:20
by Karol
Hi Uli!

Could you post your scene so that we can take a look on it?

Best Regards
Karol

Re: Toch Button to freeze

Posted: 25 May 2016, 20:31
by Enchant2016
Hi Karol,
i post it at Monday, then I'm back in the agency.

Thank you!

uli

Re: Toch Button to freeze

Posted: 26 May 2016, 20:06
by kberraho
Hello,

If I understand you correctly, you are trying to turn the visibility off of a rectangular when you click on it? Right?
If so, all you have to do is make sure you have the alpha value of the material node connected to the output of the damper, in the damper node, change the input 1 to 100, and input 2 to 0, and reduce the duration to something like 0.1s, and finally connect the use target2 to touch pressed of the touch button node. if you want it to stay( either invisible or visible after the click) then you might need to add a Toggle node in between the pressed node and the use target 2.

Hope this help. Enjoy

Re: Toch Button to freeze

Posted: 30 May 2016, 08:39
by Enchant2016
Good Morning all,
thank you kberraho an karol for your help! The rectangle should become clear and the red cube then be moved. I do not know like with toggle works ;-(

here is my scene:

Thank you!

Uli

Re: Toch Button to freeze

Posted: 31 May 2016, 07:11
by stephan
Good morning Uli,

Ventuz offers millions of solutions for every task.
See attachment with toggle-node. Set invisibility to 0.001, my method for secure fade out. 0 is way with no return.

Cheers, Stephan

Re: Toch Button to freeze

Posted: 31 May 2016, 13:30
by Enchant2016
Hey Stephan,
thank you, this is great! Invisibility to 0.001 what I have made wrong. I set it to zero :roll:
I started to learn the tool and it is not so easy i think.

Uli ;)

Re: Toch Button to freeze

Posted: 02 Jun 2016, 07:45
by stephan
Please be patient, don't give up. Ventuz is best presentation software this century :D

Re: Toch Button to freeze

Posted: 02 Jun 2016, 09:05
by Karol
Hi Uli!

You don't need this 'hack' with the 0.001 Alpha Value!
In cases where a full transparent object should be validated anyway disable 'Block on full Transparency' in the AlphaFlags of the Material.
('Block on full Transparency' is usually a performance saver because the tree iteration stops there)

@stephan: Thank you!

Best Regards
Karol

Re: Toch Button to freeze

Posted: 02 Jun 2016, 09:52
by stephan
@ Karol thanks for this hint ... never ending learning :D