Hello!
I have a video in which the camera glides along the ground. I want to put leaves, made in Blender, on the ground in this video. To do this, I want to export an animated camera (created using 3d tracking) from Nuke to Blender.
Can anyone explain to me please how to export the 3d camera from Nuke to Blender?
Letās see if we can get this sorted out for you
After youāre done camera tracking and youāre ready to export, click on ācreate sceneā in the camera tracker. Next pipe your 3D camera into your āsceneā node if it isnāt already done for you. Now create a āwrite geoā node and pipe your scene node into it and choose file type āFBXā āAlembicā etcā¦ not sure what version youāre using, my version is a bit older and doesnāt allow me to export alembic or DAE(collada) so you might have to see which one works for you. You also may need to check off āgeometriesā to get your nulls / 3d points into blender as well.
If youāre using a new version of Nuke(lucky you!) you might be able to just export straight from the camera tracker.
Hope this helps!
And I wanted to ask if there are any tutorials about how to import 3D tracking in Blender (not how to do 3D tracking in Blender, but how to import ready-made 3D tracking)? Because my tracking looks good in Nuke, but it seems to me that in a blender camera changed the angle of view on the point cloud.
Glad you found it helpful. I'm not sure how to remedy the issue you're having with the point cloud. Once in Blender, is it the camera that changed angle or the point cloud(or scene) that changed angle? I think I've had the same issues before but I didn't have as many export options at the time using Nuke V6.3 I was hoping that you'd be able to get something decent with the other export options that you have if you're using a later version :) It might also have something to do with properly orienting your 3d scene in nuke, which as far as I can tell isn't very intuitive and surely doesn't have as good of tools for orienting your scene as other tracking applications.
Do you have PFTrack or Boujou? I made a tutorial on how to export camera tracks from PFTrack/Boujou into Blender without a hitch :)
If we can figure the camera or scene changing angle bit in blender Iād be happy to make a tutorial on the process for anyone else who runs into this issue.
If I have time at work today, Iāll try to play with some footage and see if I get the same issue.
Hi, Rigby40!
Thank you very much for your time! I work a lot in Nuke, so itās important for me to learn how to do 3D tracking in this program. But I would be very interested to see your tutorial! Where can I see it?
I worked a long time with the version NukeX6.0v1, and recently started using version 9.0v3, so for me, too, in the new version many unknown settings
The fact is that after export, the camera changes angle of view on the point cloud.
This becomes clear if we add a cube to the scene. Here are a screenshots:
And P.S. One more question: points have something like guide lines, what is it and whether it is possible to disable them? Direction of these lines is the same as the direction of the global axes.
No problem I enjoy these technical hurdles
It looks like the same problem when I tried exporting from Nuke. The camera rotates a bit and/or changes in FOV.
Hmm what file type are you saving out? Can you upload the file of the tracking data? Iād like to take a look at it in an editor and see if thereās something fishy going on although Iām just getting used to opening files up in an editor so i may not be able to see what the problem is, but it doesnāt hurt!
And about the 3d points / nulls youāre seeing. You should be able to disable them in blender although itās probably better to just scale them down a bit instead as they are very useful to use even if you do have a point cloud too. Make sure to scale them down by their own origin otherwise they will scale to the group origin and move out of place.
I believe they come in grouped so youāll have to look in the outliner to find them. If I was at home on my own machine I could probably tell you exactly where they live
I donāt think itās a problem with your tracking. Even if your solve was extremely terrible, you should still be seeing exactly what you saw in nuke and not a camera out of rotation!
Youāll need Maya as well to make it work, thatās the one catch.
I love nukeās camera tracker but it doesnāt have half of the tools that PFTrack does. The scene orientation tools that PFTrack has really make things easier. Not to mention all the different file types that you can export.
I canāt open this file now, at work we have Nuke 8 but itās not properly installed on my computer so I will have to wait until I get home but could you send me a screen grab of your node graph in nuke? Iād just like to see which nodes are where.
Also, can you export a collada or .dae file or does it not have that option? I always seem to have issues getting camera tracks via .fbx into blender. Iāve had far more success with .dae collada files.
Let me know!
I just wanted to clarify that I did not export cube from Nuke to Blender, but I created it in Blender, with the same axis as the cloud of points to show that the camera is looking at the cloud from a different angle.
Hi, Rigby40! Sorry for the delay, one of its causes - the difference of our timezones Unfortunately I donāt have the necessary files yet, but tomorrow Iāll try to send them. Thank you very much for your help and have a nice day!
No prob I already looked into Nuke 8 at home and it looks like you only get a few options to export and I donāt think any of them will work easily with blender. Not sure what to do about it at this point.
Thank you very much, Rigby40! Thanks to your lesson I made 3d tracking in PFTrack and export it to Maya and then finally to Blender! It is strange that when I exported .dae file from Nuke in Blender such errors occur. But your method works great! Thank you!
Awesome! Iām happy to hear that it worked out in the end.
I only track in Nuke if Iām going to stay inside Nuke just to avoid problems like these but the PFTrack to Maya to Blender route always does the trick
Have fun tracking!
It was quite simple tho, in order to achieve it and have the corrected matrices you have to change the cameraās Delta Scale as also animation offset when importing the FBX.
Import FBX to Belnder
No Manual Orientation
Sale (scene) : 100.0
Animation Offset (0 or disabled, else it will be moved 1 frame to the right)