Head to squarespace.co... to save 10% off your first purchase of a website or domain using code CGMATTER 💝 ➟ www.cgmatter.c... post also available on patreon, but i prefer the website anyhow: www.patreon.co...
Пікірлер: 291
@JDLeeArt3 ай бұрын
We need to try this on some 360 video mapped to sphere...
@wozniakowski12173 ай бұрын
I had the same idea! Though I think those ai depthmap algorithms could have a hard time decifering depth from a 360 video since it's a very wacky projection and they weren't trained on that. But I need to see it nonetheless
@harry10103 ай бұрын
@@wozniakowski1217because I cbf looking through the literature, I remember seeing a couple of approaches. One includes figuring out what kind of 360 camera people use to correct the distortion, the other tries to convert the segmenting model to handle a curved plane instead of a flat one (which passes over the image and is used to guess depth). So yeah, definitely an area of research!
@AirNeat3 ай бұрын
Okay I will train one on 3d video sometime
@harry10103 ай бұрын
@@AirNeat random question. Any good panoptic datasets, outside of cityscapes? Like, with people and stuff in it?
@AirNeat3 ай бұрын
@@harry1010 Maybe SUN360, Pano3D, or 3D60
@lex_darlog_fun3 ай бұрын
A couple of small, but VERY important additions: 1. Any photo is a perspective projection, not an isometric one. So, instead of extruding along axis, you should extrude towards a single point (camera), which is at some height right above the center of frame. The height itself could be found by eye looking at the etruded mesh. 2. You should also undistort the image before it and re-apply distoryion after render. These two things together can make the 2.5D mesh MUCH more representative to the geometry of real scene (and thus, more correct normals, shadows, VFX integration etc).
@noyza21323 ай бұрын
yep i was just about to comment the projection thing. change the camera height by moving it until an object appears to have the same width at different depth levels
@luipaardprint3 ай бұрын
There’s actually a very nice piece of free software for that that will tell you camera position and lens by defining two or three lines in your image. It’s called fspy
@khaim09192 ай бұрын
How would I extrude towards a point instead of a axis?
@erti3d354Ай бұрын
@@khaim0919 did you find a solution?
@DQBlizzard_3 ай бұрын
Very in-depth video. I'll see myself out.
@ZapPack3 ай бұрын
👏👏👏👏👏👏👏🎬
@florentraffray10733 ай бұрын
well done
@necrorivas3 ай бұрын
nono, that was good come back
@Stonehawk3 ай бұрын
now you can exit *3-dimensionally*
@bre4k003 ай бұрын
It depthends, I think it was good too, hold the door.
@LongPeter3 ай бұрын
This is like a Corridor Crew video that gets straight to the point. 🎉 I actually really like just the depth map look without the original video tied in. I can see this being a nice, easy way to do a Kitty Pride effect with little to no masking. Just have your actor run through a door and hide the doorway with a plane that blends into or replaces the wall.
@theexchipmunk3 ай бұрын
I had a similar thought. Also: "Oh, in some weeks/months we are going to get a Corridor video on this." Current developments in computer graphics and AI are insane. I am currently generating photorealistic images on my Macbook Air M1 using Stable diffusion to make a dumb Meme. Hell, inpainting using AI has replaced photoshop (gimp really, I don´t have actual the PS) in a lot of aplications for me.
@khalatelomara3 ай бұрын
The deal breaker for this method if we can actually take a non shrinking depth for a room , as if you tried it on a room perspective it kinda go in a curved trapezoid shape
@xabblll3 ай бұрын
I’m not sure, but it should be possible to apply some exponential correction on depth. Usually in CG graphics then we want to save linear depth, we compress it to smaller range with logarithmic conversion, so objects closer to camera have more depth information compared to objects further away. So to get linear depth we need to apply reverse conversion
@khalatelomara3 ай бұрын
@@xabblll exactly, Most of monocular depth techniques are pretty good for close objects , but when when it comes to perspective it breaks down quite quick
@merseyviking3 ай бұрын
@@khalatelomara So you mean make the doorframe the same relative size as the objects near the camera? Well if you know the parameters of the capturing camera, you could easily apply the inverse perspective transform on the depth map, and retrieve the original scale. You would need to know the aspect ratio and FOV, and if you wanted real-world scale you'd have to measure something in the real world scene and scale the resulting geometry appropriately. It might take some faff because the near and far clip planes generated by the ML algorithm are arbitrary (well I presume they are, or at least are rough guesses).
@somdudewillson3 ай бұрын
@@merseyviking Most monocular depth estimators are trained to output relative depth, but a few can do 'absolute' metric depth estimations. Also, the most bleeding-edge model I know of simultaneously calculates camera intrinsics.
@zackmercurys3 ай бұрын
in the end, you could de-light your scene using the Ian Hubert's trick, to make it absolutely de-lightful!
@Dude_Blender3 ай бұрын
What trick?
@omgbutterbee79783 ай бұрын
@@Dude_Blender Dividing projected textures by the light values of an hdri that was taken at the same place let's you flatten the image and remove shadows and highlights. InLightVFX had a good video called "How Ian Hubert Hacked VFX (and you can too!)" that goes over the whole process. It's REALLY cool.
@Dude_Blender3 ай бұрын
@@omgbutterbee7978 thanks mate!
@MasqueArt3 ай бұрын
@@omgbutterbee7978 You can fake the surrounding lights as well, if you do not have HDRI, but HDRI is simpler. If you can make them.
@grinningtiki2203 ай бұрын
Somehow Ian was doing that 18 years ago before hdri was even a thing. The man is a wizard.
@Solanaar3 ай бұрын
combine this with delighting and you have crazy possibilities for dynamically lighting a scene
@stoef3 ай бұрын
FYI you can open a command prompt for a specific folder by clicking into the path at the top of the explorer and then just typing cmd and pressing enter.
@ClaytonOrgles3 ай бұрын
Yep! Also if you have Windows Terminal installed, you can right click on the window and select "open in terminal"
@VeOuria3 ай бұрын
How did I go decades of using windows without knowing this. Thank you!
@shydun3 ай бұрын
brilliant! thanks :)
@jajoothecoolman3 ай бұрын
THANK YOU I'VE BEEN USING LINUX SO LONG THAT IT FEELS WRONG TO NOT HAVE A "open in terminal" BUTTON I DIDNT KBNOW LOL
@HamStar_3 ай бұрын
Shift + right click in explorer also gives an option to "Open PowerShell window here" (or Command Prompt in earlier versions)
@sugar_ltd3 ай бұрын
Dude that's wild. You're right that the applications are plenty.
@jayfiled3 ай бұрын
I'm the kind of person that can't think of any when people say that. can you give us some examples?
@slightlyokvideos3 ай бұрын
I don't think this really has any applications
@Queen_Coda3 ай бұрын
this video should have MILLIONS of views!!! This could CHANGE youtube VFX forever, and it's so accesible that ANYONE with a decent PC rig can take advantage of it. I'll definitely be looking into how to use this for my own projects going forward
@4nto4183 ай бұрын
My dude I've been looking for how to make detailed 3D objects from depth maps like this for a project totally unrelated to yours, you just saved my blender-inept ass, thanks a lot.
@keshetallekaridi7083 ай бұрын
If you're already using Resolve to deflicker, you can also generate your depth map and relight within resolve while you're at it
@AMTunLimited3 ай бұрын
IIRC, this is a somewhat common thing to do in Davinci Resolve so you can use it as a mask for various adjustments
@this_is_mac3 ай бұрын
Is it possible in premiere pro? I spent a good few hours in last few days for masking tediously and often getting it wrong
@AMTunLimited3 ай бұрын
@@this_is_mac I would imagine you could use a very similar technique to this and import the video to premiere pro to use as a mask
@YAXHY3 ай бұрын
Anyone else remember photoshop having depth map filter since the extinction of dinosaurs, but got it removed with the introduction of AI?🤔🤔🤔🤔
@InterPixelYoutube3 ай бұрын
Ian Hubert will have fun with these tools 100%
@RetroPlus3 ай бұрын
Exactly what i'm thinking
@rustymetaII3 ай бұрын
Awesome thanks
@thejaredwilcurt3 ай бұрын
0:45 You can just click into the address bar in Explorer and type cmd and press enter and it will open the command prompt from that folder.
@undefined068553 ай бұрын
or even just right click -> open terminal
@danfg72153 ай бұрын
or use Linux
@1800HUNKNA3 ай бұрын
Anyone else remembering the Doctor Who episode where they showed off Time Lord artwork which was a single moment of time captured into art. A full 3D model of that moment in time and space. This feels like a step towards that.
@luipaardprint3 ай бұрын
3blue1brown recently made an amazing video about holograms that’s exactly what you’re describing.
@gordonbrinkmann3 ай бұрын
"If this can be done with a photo, why not do depth on a video?" As far as I know DaVinci Resolve can do this quite easily (at least in the Studio version), so I would assume some other video editing software can do this as well...?
@tomcattermole18443 ай бұрын
Would you be surprised if Adobe didn't? 😢 Only workaround I've found is exporting footage as a PNG sequence and then running a batch in Photoshop using the blur neural filter with depth output checked. Is it janky? Yes. Is it accurate? No. Does it work? Barely. Am I an idiot for still using Adobe? Absolutely.
@gordonbrinkmann3 ай бұрын
@@tomcattermole1844 No, why should I be surprised...? Never thought Adobe was the ne plus ultra. Maybe there is other software out there than just Adobe? I don't know, I'm not using all video software that exists... I just said DaVinci Resolve can do depth on a video and it probably isn't the only software.
@tomcattermole18443 ай бұрын
@@gordonbrinkmann unfortunately Blackmagic knows exactly what their customers want and puts in the effort to implement it. Most other softwares don't have customers that want the features or don't want to put the effort in to implement it.
@DailyCakeSlice3 ай бұрын
This is SO sick!! I really wish you showed the that last clip’s full render in the video
@nicolacornolti3 ай бұрын
Davinci also has another useful feature which is color stabilizer, I don't know if it is in the free version or not, but it can fix exposure shifts like this, I've used it many times when asked to use videos shot without professional equipment
@Fireheart3183 ай бұрын
A horror/exploration game with a mechanic where your vision only works well at a certain distance would go hard!
@GoodBaleadaMusic3 ай бұрын
1:59 he started talking like that and i subscribed.
@desvelame3 ай бұрын
I think I just saw my favorite video of .. the month... the semester...
@oguz-kagan3 ай бұрын
dude. this was the maybe second or third best tutorial video I watch. I don't remember first two so this is first one now.
@nullcircuit3 ай бұрын
If only we pressed on with light field cameras, could seriously elevate things
@Roebuck_3 ай бұрын
Dude just dropped a nuclear bomb💀
@TrekkingTabris3 ай бұрын
its like every time you reappear there's some fun shit on blender to do
@aedanp073 ай бұрын
YESS!! This will be so useful!
@MichaelProstka3 ай бұрын
You meshed yourself! That is so cool!
@danser_theplayer013 ай бұрын
Movies are gonna be crazy with this one.
@ArdaHamamcoglu3 ай бұрын
Isn’t the top edge caused by the image being wrapped so its actually interpolating the bottom row of pixels.
@one_stz3 ай бұрын
huh??? THE LAST??? I NEED MOREE
@toastbrot973 ай бұрын
I was using a similar method to this for image to video for a while now. Essentialy doing small camera pans and dollies into the scene to make it look a little fancier than just a scrolling 2D image. I was always wondering how stable the technique would be when done on a video instead and i have to say, it doesn't look too shabby. I think if you're trying to relight the scene the artiffacts will definitely be the biggest problem, but other than that it could be quite handy for some quick and dirty vfx, or enhancing a video shot on a tripod with some subtle realistic 3D camera shake.
@AndrewMorris-wz1vq3 ай бұрын
Shows like 3 mind blowing things. Says: "That's all I got for yah" Crazy good video.
@clonkex3 ай бұрын
Just FYI, you can type "cmd" into the address bar in explorer and it will open a command prompt at that location
@FirstName-zt2my3 ай бұрын
I cant wait till computers are good enough to do this live
@3D-rg6kx3 ай бұрын
this guy’s brain is not normal
@DaveDFX3 ай бұрын
Distort/project the z extrusion to the camera frustum would be a good addition to this workflow. I used this back in the days to convert 2d to 3d stereoscopic
@zankfrappa933 ай бұрын
i like the bit where you did the thing with the thing
@ChrisKGallon3 ай бұрын
I love that you're on the Davinci Resolve/Studio Train
@Omlet2213 ай бұрын
3:50 Well the reason I guess it does this is because the AI just makes the closest depth pure white and the furthest depth pure black. So if you want to make the scale consistent maybe you could pick two stationary points and scale the color so that they stay the same.
@blainecodes3 ай бұрын
I was just experimenting with marigold and was thinking about trying out other models to see if they work better with video! Great video!
@RyanGatts3 ай бұрын
this is neat, but it looks like the depth texture you get out is not linear. It may need a logarithmic or some other remap curve to make it so that things like your office wall appear flat when displaced
@NeatWolf3 ай бұрын
Gotta say - as a non native speaker I was surprised I managed to get 100% of what you said despite the blazing fast speed, and I believe it's largely due to the fact you're pretty darn clear with your pronunciation so kudos for that ;)
@space_tim93823 ай бұрын
Woah, i finally understood what depht is and how i can use it
@ArielTavori3 ай бұрын
Segment anything gives you high resolution outlines. You could dice based on camera distance with adaptive subdivision... I actually 'started' a plugin about 2 years ago to do all this...
@olvrs3 ай бұрын
now let's see it rendered
@gabrielmoro3d25 күн бұрын
This is awesome. Thank you!
@geoinmot3 ай бұрын
This guy is like the Vincent Van Gogh of 3d art. He's way ahead of other Blender tutors. No one is noticing. Many years from now they'll get it and sing his praises.
@michaelchen28213 ай бұрын
You can use face tracking and a application to create simulated 3d videos, so you can look around the computer screen and the 3d model can tilt. It's weird but also kinda cool
@BoyceBailey3 ай бұрын
And that's how Minority Report videos got started.
@uriinbar60463 ай бұрын
my thought exactly. amazing that we are witnessing that future materialize
@SuperIceteapeach3 ай бұрын
So much input my head is dizzy lol Crazy Video man!
@TheAtomicSoul3 ай бұрын
Can you separate moving objects from static ones? As is your body creates a constant shadow due to your body blocking all light to the right of the cube until you "walk" past it.
@ralphmoreau27683 ай бұрын
Very cool experiment, would love to see it, in it's true glorious fidelity
@batleram29463 ай бұрын
Fun fact, if you want to open command prompt in a specific folder, you can type cmd into the file explorer path, and it'll open cmd in the current folder
@InterPixelYoutube3 ай бұрын
Your profile picture invokes so many great childhood memories (:
@slavsit76003 ай бұрын
@@InterPixelKZbin same, do you by any chance remember the name of that game
@uusfiyeyh3 ай бұрын
@@slavsit7600 Is called "Cut the rope".
@slavsit76003 ай бұрын
@@uusfiyeyh thx
@legendaryswordsman22793 ай бұрын
Not sure I understood a whole lot of that but god damn was it fascinating to watch.
@bernatrosello43753 ай бұрын
Shame you missed the opportunity to show the power of this tool in comination with Ian Hubert's de-light. Would love to see it on a future video!
@Neutral40963 ай бұрын
imagine using this with asynchronous timewarp and motion tracking to make videos feel smooth, but interpolation will be still smoother i think but they dont scale with monitors refreshrate
@LifeFromAbove.3 ай бұрын
Thank you so much this is Epic, I’ve been looking for a way to make 3D titles in Videos more realistic. I will give this a try!
@Daikuro13 ай бұрын
Confirmed: video was not flat.
@Inferryu3 ай бұрын
2:10 Hobbyist tip for you, you can just set your texture to "extend" instead of repeat in the image texture node.
@RetroPlus3 ай бұрын
Ian Hubert is going to get some great use out of this trick no doubt
@tristan60523 ай бұрын
can you consider camera coordinates and do perspective warping?
@JakeBowenTV3 ай бұрын
🐎
@janienwright38953 ай бұрын
Can you do a video on how to do a parallax effect on like art pieces and old photographs and stuff using this technique? I think normally people cut out parts of the images one by one and then have the camera kind of move though the scene. I think that might sometimes work better than this specific technique but it would probably involve seperating and kind of clipping certain regions to a single plane and also have them be seperate objects or something instead of the single plane you have here.. No idea how to do it..
@mven3 ай бұрын
Lots of people mentioning the cmd in the address bar trick, but did you know you can open a Powershell terminal via shift + right click context menu on any folder? Cmd is old and busted, Powershell is the new hotness.
@Kozlov_Production3 ай бұрын
Can you make a stereo video from usual video?
@DiThi3 ай бұрын
I think that the depth is being interpreted as linear while it's being saved as sRGB. Or something like that. It would explain why the background is so flat.
@josh.81043 ай бұрын
Wait, is this how they were post-converting 2D movies into 3D?
@staticdrama3 ай бұрын
you open new things! thanks
@keeb__3 ай бұрын
Results might be better if you project the depth towards the camera, rather than on a plane? I would be curious how that would affect the lighting and reflections.
@tiagotiagot3 ай бұрын
Sync multiple videos from different angles, solidify, and boolean-insersect to let you move the camera behind stuff?
@mikakettunen79393 ай бұрын
YO! Finland hailing you - thanks bro!
@wiktorp.92593 ай бұрын
finally some in-depth video
@indoorraccoon44503 ай бұрын
didnt think of these applications. Omega cool brah
@markobozic-c463 ай бұрын
You sir are brilliant. Thank you for your brain.
@jamus12173 ай бұрын
That's pretty dang cool
@speedy1000ism3 ай бұрын
Please don't let this be your last depth rant
@MattWyndham3 ай бұрын
Is this how they did the blue cube in the minecraft movie trailer?
@le0t0rr3z3 ай бұрын
quite a deep dive into the topic
@MECKENICALROBOT3 ай бұрын
Subbed. I love the way you describe
@Ricoxemani3 ай бұрын
this is cool, but the problem with the geonodes setup is that it does not account for the perspective of the video. The geometry should get larger as it gets further away.
@br11bronc343 ай бұрын
I have a question: why don't you use directly the depth map generator included in davinci? is there any practical reason? very good video, thanks and best regards
@Thinking0013 ай бұрын
How did you download "Depth anything v2"? am currently struggling to download it correctly, because i dont know what programm i am supposed to usse to run it!!
@Eroktic3 ай бұрын
Since the texture of z-depth is greyscale, you don't need 2k resolution of it. it can be 2-4 times smaller than original resolution and you wont notice.
@juanperezvalladares3 ай бұрын
Totally, I think the best would be to match the Depth resolution to the mesh resolution
@ufffd3 ай бұрын
have you tried apple depth pro model? been happy with some of the results
@ICXCONE3 ай бұрын
this is sooo fucking cool, for games you can use a post-processing injector call Reshade that uses a depth buffer aswell, this is so cool. y'all are going to get close to real time a.i. game filter. that would be awesome to see.
@danielitoespiral3 ай бұрын
this is so niche and genius
@montikorbelle3 ай бұрын
I like your channel a lot
@ghostcontrollingameatsuit51193 ай бұрын
I had wondered if this would work but didnt know how to do video depth. cool
@_Jude-St.-Francis_3 ай бұрын
Omg you're literally my crush you're so cool❤
@AndrewMorris-wz1vq3 ай бұрын
How difficult would multiple image sources be (i.e. another camera in the hallway)?
@ilanlee30253 ай бұрын
Great video, appreciated
@FloKorp863 ай бұрын
what the hell dude you're a literal wizard!
@agyab3d3 ай бұрын
this can be a great weapon for 3d artist
@owencmyk3 ай бұрын
I can hear the adobe podcast
@mysteriouslyseeing3 ай бұрын
Are depth maps logarithmic? It seems like the closer something is to the camera, the bigger the difference in z-coordinate for an equal distance change.