Writing out data

51 views
Skip to first unread message

Sveinbjörn J. Tryggvason

unread,
May 21, 2012, 4:32:01 PM5/21/12
to cora...@googlegroups.com
Hi, I was just thinking about creating a node that would write some data to disk (per frame) and I just started wondering what would be a clever way to do this. Should I just have a frame attribute that would control what frame is being written which would the result in data being written for every value 'frame' would get. Since the data write would happen in the update function. Or do you guys have any other neat ideas?

-svenni

Andrea Interguglielmi

unread,
May 21, 2012, 4:46:48 PM5/21/12
to cora...@googlegroups.com
Hi Svenni,

I'd suggest writing a simple python script to do that, if you have a node that constantly writes on disk you end up slowing the graph with no real gain I think.
You'd also need a way of pulling such node to trigger the update, so you'd end up needing a new thread constantly asking the node to evaluate.

Sveinbjörn J. Tryggvason

unread,
May 21, 2012, 5:43:25 PM5/21/12
to cora...@googlegroups.com
Of course. That makes waay more sense :)

I'll give that a whirl.

-svenni

"Sveinbjörn J. Tryggvason"

unread,
Jun 4, 2012, 4:24:25 PM6/4/12
to cora...@googlegroups.com
Works like a charm - or sort of.

https://github.com/svenni/coral_plugins/tree/master/writer

-svenni

Andrea Interguglielmi

unread,
Jun 4, 2012, 6:53:54 PM6/4/12
to cora...@googlegroups.com
Good stuff Sveinbjörn, do you want to share how you are actually using coral in production? if it's pipeline or performance related?

Thanks,
Andrea

"Sveinbjörn J. Tryggvason"

unread,
Jun 4, 2012, 7:07:49 PM6/4/12
to cora...@googlegroups.com
Actually I'm not. not yet at least. I've been having a hell of a time getting it to build on windows (which  we use) but I finally got it working. Ive been flirting with using it to do lighting in Arnold. Although that's still miles away. We are sort of between projects right now I haven't had the chance to use it properly, I haven't even tried the maya plugin :$

Is anyone else using it for production (or thinking about it?)

-Svenni
Reply all
Reply to author
Forward
0 new messages