but when I flip it and output range min.2 range max -2, tox file is created but then in vdmx the values are not respected and vdmx reads them as 0 min, 1 max.
I thought this would be a TD topic and asked in a TD forum. I was told that this is possible with the TouchEngine API and adviced to ask in VDMX forum. Can this be fixed somehow from vdmx?
I remember back in the days in quartz composer publishing negative output wasn’t possible neither but I think there was a math node that could invert the numbers, so it worked out.
Can you share your .tox file? I wouldn’t set a min in TD to be lower than the Max. This would confuse VDMX when publishing the inputs, but you can flip values in VDMX with math or invert the settings with the button UI inspector.
Yes, sure. Can I send it to you somewhere, it doesn’t let me upload it.
Well, I need to set it this way. I have it set like this in Vuo, as Vuo can output positive to negative. And it doesn’t confuse vdmx at all when publishing the inputs, it reads it just fine.
Vuo and TD are completely different processes. To upload a .tox file you have to compress it into a .zip file first. You can also submit it as a bug report and request a change in the feature, but TD and Vuo are very different in many ways. Vuo is running inside of VDMX, and TD is running through the TouchEngine.
I dont think it’s a bug, maybe requesting a change in the feature would help? Like you’re saying, TD is running through the Touchengine, thats what I have been advised on TD forum. That this could be done with TouchEngine API, I just dont know how, so i was asking if it can be fiixed via TouchEngine API in vdmx?( I have no idea myself how it works)
the default value of the slider ‘Translatenegative’ is from -0.6 to 0 (because in Touchdesigner I couldn’t publish from 0 to -0.6) . But I’d like to flip its values so it would go from 0 to -0.6.
But when I type in the UI Slider Inspector Min.0 and Max -.0.6, the Max will just stay on 0.
Is this actually doable or am I doing something wrong? I also tried to check the Invert Val, but there is no difference. Thanks for any help
This is something I’ve encountered for a while. The most logical solution would be to normalize the values in TD before entering VDMX. That is, if your input value is -2 / +2, you can make it 0 to 4. In VDM, it’ll be easy to make it 2 in the center.
I found this on the TD forums, maybe it will help you in this case?
I suspect if you set a min value that is greater than the max value, than TD rejects it and normalizes it (since it’s an error), when sending from TD to VDMX.
An “invert” in TD sounds like it might do what you want?
Yes, you can invert it this way but in this case the movement is constant inside of the composition (you still can’t output the negative number). The cube moves from 0 to -0.6 continuously.
I would need the cube to be still at 0.0 and only move it to -0.6 in vdmx when I need it to (for example by asigning the Translatenegative slider to an Audio analysis).
You mentioned before fliping the values with Math, but it still doesnt accept the negative number (see my post above). How can this be done in vdmx? Thansk for your help!
That’s exactly what I’m proposing. Invert the values in TD. It doesn’t matter if in vdmx it’s 0 to 1 or any other positive value, if TD receives them, it reinteracts them to your liking, without negative values. You can specify values from -1 to 1 or whatever suits you best with any custom operator. If you’d like to share that pure TD patch, I’d be happy to give it a look. Maybe we’ll understand it better.
There is no need to publish positive/negative outputs, its all controlled by one slider (Constant node) that receives positive/negative values 0.6 -0.6 from two math nodes.
The only secret in TD is understanding the chops, the mathematical ones in this case, to adapt the values to what we need in each case. Here’s a brief tutorial, but there are hundreds of them online.https://www.youtube.com/watch?v=-JXo-sQRCa4