How to hide gl textures/objects together with syphone?
today i tried to make a patch ready to use with syphon and it worked great so far.
but i ran into problems with contexts:
in order to hide certain objects from the scene with a toggle switch i banged a "dratwo" message with my render context for on
and a "drawto empty" message for make it disappear.
as long as i didn’t use syphon it worked but now as soon as i want to hide the objects or the drawing from a gl.sketch the frame in syphon freezes until i press the toggle again…
is there another way to hide things?? i dont necesserely want to clear the drawing from the gl.sketch for example i just want to mae it disappear and appear again when i hit a button.
thanks in advance!
what about the messages "enable 0" and "enable 1" straight to the gl.sketch ?
Or just turn off the alpha data. So instead of color 1. 1. 1. 1. do 1. 1. 1. 0.
Allows cool fade in and fade outs compared to enable 0. ;-)
Thanks a bunch for all your answers! overlooked it somehow in the attributes.
for my needs enabling works best so far, since i use buttons. but will look at the fade possibilty as well. could be interesting for certain things!!!
is there any difference concerning the cpu? cause probably when turning off the alpha data the object is still rendered?
- This reply was modified 2 months by Linden.
You can use a button to trigger a line signal which could make a very fast or smooth fadeout.
Button going to toggle.
use and expression or a gate like
if 1 trigger line
line go from 1.0 to 0. over 2 seconds.
if 0 then
message box with color 1. 1. 1. 1.
simple method for on off is
toggle going to a message box with
color 1. 1. 1. $1
either way you just just use one button to swap alpha on/off/
CPU shouldn’t be a problem either way.
- This reply was modified 2 months by Andro.