6
$\begingroup$

In this question, the answer shows how to use a script to import a CSV file and setup an animation. Is there a way to do this same thing using animation nodes?

Empties following imported CSV path

For example, this is start on the animation node network. However, it is not clear how to work with the 'Text File Reader' and convert the CSV data into list and then sequence through the list to change position and rotation. (Edit: this question shows a way to convert a text file into a list)

enter image description here

$\endgroup$
  • $\begingroup$ Kinda freaky ... jumped onto blender.se to ask almost the exact same question as an earlier very similar question (which you spotted) got me interested ... Hope you / we get an answer! Am also intrigued by a note in your second link's accepted answer: "There are nodes that are not in the menu yet." granted, that answer was Feb 2015, so maybe they're on the menu's now ... or is keeping some functionality hidden kind of standard practice (for pre-release testing say)? $\endgroup$ – Howard Pautz Aug 27 '16 at 3:17
  • $\begingroup$ See blender.stackexchange.com/questions/61614/… $\endgroup$ – Ed Tate Aug 29 '16 at 1:54
6
$\begingroup$

Here are three solutions, with similar concept but a bit different on handling animation loop:

enter image description here

enter image description here

enter image description here

enter image description here

NOTE: Here, I read the raw CSV file located at the same filepath to the blend file by using Text File Reader node. You can also copy and paste the CSV content to the internal Text Editor, then read it by Text Block Reader node.

$\endgroup$
  • 1
    $\begingroup$ The track creation part was very useful. Thanks! $\endgroup$ – Ed Tate Aug 29 '16 at 9:35
  • $\begingroup$ thx Leon for all the effort here! noob question: I can get your two examples working, but only with the Animation player (alt+A) ... how do we (cycles) render it via the Output panel? (Perhaps there's a 'render' node that we need to add in the node editor?) $\endgroup$ – Howard Pautz Aug 29 '16 at 18:19
  • $\begingroup$ Why you want to cycle render it (maybe I didn't get what you mean here)? And they are non-mesh objects, which cannot be rendered directly by hitting F12 or Ctrl F12, But you can do that with OpenGL render. Oh, BTW, I think you can also only create the tracks. For the walking-along-path animation, I think it is enough to use Blender's internal tools like Follow Path constraint, etc. $\endgroup$ – Leon Cheung Aug 30 '16 at 0:59
  • $\begingroup$ Just updated with 3rd solution, which is simply creating tracks, then let the mover follow it. This one is more efficient, less nodes used, and recommended. $\endgroup$ – Leon Cheung Aug 30 '16 at 6:14
  • $\begingroup$ thx for the reply and the 3rd solution, Leon. I think I understand ... p1,p2,p3 are Empties, not objects ... I'd need "attach" objects where the empties are, to do cycles render. Yes? (Thanks for your patience, I'm still a bit of a noob :)) $\endgroup$ – Howard Pautz Aug 31 '16 at 1:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.