From the course: Learning TouchDesigner

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Building a DAT table of camera positions

Building a DAT table of camera positions - TouchDesigner Tutorial

From the course: Learning TouchDesigner

Start my 1-month free trial

Building a DAT table of camera positions

- [Instructor] Note that our auto rotate and rotation controls for a scene, and next up what we're going to do is we're going to build a camera switcher to allow us to switch between different camera positions. Because right now we've just looking at this one default camera position. So instead of making a bunch of different cameras in the scene and actually switching which camera the render top references, what we're going to do is we're going to have a dat table of different translation and rotation information that we can then pipe into a camera, and this is a great way where you can store a bunch of different data for something in a table, and then just select out what you need. So let's go into our project here, go into 3D, and you can see that in this scene file I've got this table of data for you. And in chapter 1 when we looked at the basic dat nodes in the intro video for that, we did a very similar thing. We created a simple table of data and then we selected it out of a…

Contents