Hello. Was wondering if any one has had success getting feedback from Pixera to Touchdesigner not from OSC but from just talking to the API directly. I have a project that in sending messages to Pixera no problem but getting messages I ask for back I get nothing. Any advise would help a lot.
Hi,
I’ve done a fair bit of work integrating the Pixera JSONRPC API with TouchDesigner. I find it works quite well. What sort of problems are you having?
Speaking very broadly about the mechanism of getting data back, you’ll need to make sure that the input and output adapters are properly configured on the API page in Pixera’s config.
If so, any request sent to Pixera should elicit a response. As far as the nitty gritty of integration, you essentially want to roll a fairly simple JSONrpc send and response parser pair of functions. For me that meant creating a wrapper function in python that accepts the “method” and “parameter” dictionaries as inputs, wraps them in the jsonrpc decorations and sends them to pixera, and a response processing function that lives in the tcpipDAT that does that actual communications that extracts the payload and does whatever I need with it.
I can try to dig up the most generic version I’ve got lying around, but it would be useful to know more about the issues you’re having to provide better insights.