Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The Point Cloud Generator is a NukeX Only node that creates a dense point cloud using a solved camera and the original clip. This dense point cloud can then be used both to help line up 3D geometry in a scene or in conjunction with the PoissonMesh node to create 3D Mesh Geometry. Let's go get a clip, so we'll get a Read node, select our Project Media go to Lesson_04_Media and get the PointCloudClip here, whole frames, click Open, hook to Viewer.
Next, we need our Camera Tracking data, so let's get a camera from 3D>Camera. This camera data could come from the CameraTracker or could come from the Match Move department. So, in the Camera we'll go to Import our chan file, go to the Project Media folder, Lesson_4_Media>point_cloud_ camera.chan. Open, and we'll check 3D, make sure we have a nice moving camera, and there we go.
Okay we're good, back to 2D. I want to setup the viewer for a little more room, so move this over here, set the viewer for fill with H, move this down here, so I got a little more screen space to play with. Okay, we don't need this Read node anymore, click that away. Very important to remember whenever you're doing any camera work you must set the project setting resolution to match the clip. So, cursor in the node graph, type S for Project Settings, full size format, set that to the clip size which in this case 960x540.
Okay, we're done with Project Settings, we'll click that away. Okay let's add our node, we'll select the Read node, come up to 3D>Geometry>PointCloudGenerator, hooks up to the clip, source input and hook the camera up to the Camera. Okay, we're all setup. Let's track features, right here, click Track Features. Set a Frame range, click OK.
So the Point Cloud Generator noticed actually re-tracking the clip just using the camera. It is not using your camera track Point Cloud information at all. We're done. We don't have a Point Cloud. Oh, one little dinky point way out here, well that didn't work very well. So we're going to have to adjust the tracking values here. One of the things that might help would be looking at the keyframes. I don't want the camera keyframes on the Timeline so I'm going to close that to clean up my Timeline.
Here are the keyframes that the Point Cloud Generator node found. You can delete those and add your own like this. And the reason you might want to do this is if you had a camera that had varying speed, if it was real slow, you would want your keyframes far apart and it were really fast, in that section you want the keyframes closer together because it's the angle of the camera relative to the point that it requires to triangulate.
However, the default Automatic Keyframe Selection didn't do us very much good, so let's do this. We'll turn off Automatic Keyframe, we'll delete all of the keyframes on the Timeline and then using the frame spacing of 15, this means I want to keyframe every 15 frames on the clip, say add all. There we are every 15 frames is a keyframe. Okay let's try one more time, Track Features. Frame range is good, okay. Now it's going to re-track the scene using my keyframes every 15 frames and we'll see if we don't get a better answer.
Ah, that's more like it, look at that, we got lots of points now. I'm really interested in this foreground area right here, that's the part of the picture we want to build a mesh for in the next video. So I need to get rid of all these extraneous points out here and can do that by setting the Filtering. By the way the points are green in the Viewer because the node is selected. If I deselect the node they suddenly turn black; you can actually see them here.
So if you want to actually see the points, you can turn the Display to Solid and the points would be colored with whatever point on the clip that they came from. However, if you select the node again you'll get the green on top of the color, so that's your Display options. Now that we have the tracking done, we'll take a look at filtering to see how we can improve our results.
Get unlimited access to all courses for just $25/month.Become a member
110 Video lessons · 50954 Viewers
86 Video lessons · 14119 Viewers
79 Video lessons · 15115 Viewers
350 Video lessons · 101347 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.