Hi,
I captured data with kinect or leap motion from Touch Designer to a CHOP.
And i want bring this to Houdini for add VFX on it, but i try to export every format : .clip.chan.bclip.bchan.aiff.wav
And only .chan can be read, but Channel name are reset.
i don’t know if the problem come from Houdini or Touch, but i thought they was old friends !
From Houdini to Touch. extension . clip works like charm.
Hi,
I just did some test. Now i can’t read a .clip from Houdini16 to Touch099. it is a sad news
.chan works in both cases.
Can be report in the bug topic, but it is a problem from Touch or Houdini ?
Hello Anodin, thank you very much for trying. I am TD newbie, so I am not sure where the bug is. Maybe it is not a bug, but just different approach. There may be simple “find&replace” convert solution. I dont know. I have created topic here. Cheers!
Though TouchDesigner, and Houdini shared some common formats in the past, they no longer represent the same format today unfortunately.
Looks like Houdini doesn’t support the data run length encoded tag, which is used to shorten long spans of constant values.
The quickest route, would likely be to write a python script that outputs the simplified format Houdini could use.
Paste this code into a DAT or automatically in a Script DAT, to build up a string t.
You can then save it out to a file with other python calls of your choosing.
Hope that helps,
Rob.
def saveClip(n):
t = ''
t += '{\n'
t += ' rate = ' + str(n.rate) + '\n'
t += ' start = ' + str(n.start) + '\n'
t += ' tracklength = ' + str(n.numSamples) + '\n'
t += ' tracks = ' + str(n.numChans) + '\n'
for c in n.chans('*'):
t += ' {\n'
t += ' name = ' + c.name + '\n'
t += ' data = ' + " ".join(map(str, c.vals)) + '\n'
t += ' }\n'
t += '}'
#write out string t to file, etc
It is really sad, more time past and less format are support buy Touch&Houdini.
Before .geo and .bgeo was support. Now only .bhclassic .classic can be use to export all attributes of a SOP.
Hope see the future with Touch & Houdini hand in hand ^^
Thank you very much Rob! Last years I have been only in Houdini, but I really like how TD is evolving. Great work! Hopefully I will have a job to utilize it soon.