Vegas Pro 21 - Experience with Z-Depth

Wolfgang S. wrote on 8/13/2023, 4:19 PM

Z-Depth is one of the innovative functions, that we have available in Vegas Pro 21.

Take for example this picture

and imagine, that you want to place a text between the glas of water and the cup of tea. Yes, not in front of the total picture - that is something that we have been able to do up to now. But BETWEEN both objects.

Something, that looks like as shown here:

This is tricky - but it can be done with the new plugin together in the composite mode. It looks like as follows in the tracks:

choosing the composition mode and custom for the track with the text. You will find details in the new online-guidance, what is great.

But the tricky part in this example is to analyse and understand the depth profile - simply, because the difference in the depth profile between the glas of water and the tea cup are not so huge. This can be done with the visualisation buttom - and choosing depth. You can track with the mouse the depth position of both objects (and I found it easier to switch to normalized values in "mode"):

And if you see above, one distance is 0.5, and the other one is 0.6. Means, that you have to position the between 0.5 and 0.6 approximately.

In the "normalized values"-mode the furthest object will always assigned to be 0,000, and the nearest object will always assigend to be 1,000. That happens automatically if you switch to the normalized values mode.

To position the text you have to choose "Depth In" and "Depth Out" - and check the result by switching the visualisation back to "none". To adjust the figures it is helpfull to use the STRG+mouse wheel, and check the result in the preview (with best/full). In my case, I found the best results with following settings:

The "feather" function can help to make the boundaries smoother. However, the results may not be perfect by 100% - as it was mentioned elsewhere. However, I think they are great so far.

Be warned, that it may take some time until you have trained yourself to become familiar with this new function. But it is worthwile to spend some time here, the results were nice and the attention of your audience will be on the astonishing effect.

Have fun!

Last changed by Wolfgang S. on 8/13/2023, 4:27 PM, changed a total of 3 times.

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

Comments

Jack S wrote on 8/13/2023, 4:43 PM

@Wolfgang S. What a great post. Just goes to show what can be achieved with Z-Depth, if you know how to use it. I have to confess, I didn't, until you pointed out the meaning of the figures under the mouse cursor. The help for this plugin doesn't mention this at all, simply telling you to experiment with the sliders until the effect is achieved. Thanks for clarifying this.

My system
Genshin Infinity Gaming PC
Motherboard Gigabyte H610M H: m-ATX w/, USB 3.2, 1 x M.2
Power Supply Corsair RM750X
Intel Core i7-13700K - 16-Core [8P @ 3.4GHz-5.4GHz / 8E @ 2.50GHz-4.20GHz]
30MB Cache + UHD Graphics, Ultimate OC Compatible
Case Fan 4 x CyberPowerPC Hyperloop 120mm ARGB & PWM Fan Kit
CPU Fan CyberPowerPC Master Liquid LITE 360 ARGB AIO Liquid Cooler, Ultimate OC Compatible
Memory 32GB (2 x 16GB) DDR5/5200MHz Corsair Vengeance RGB
MSI GeForce RTX 4060 Ti 8GB - Ray Tracing Technology, DX12, VR Ready, HDMI, DP
System drive 1TB WD Black SN770 M.2 NVMe PCIe SSD - 5150MB/s Read & 4900MB/s Write
Storage 2 x 2TB Seagate BarraCuda SATA-III 6.0Gb/s 7200RPM
Windows 11 Home (x64)
Monitors
Generic Monitor (PHL 222V8) connected to GeForce RTX 4060 Ti
Generic Monitor (SAMSUNG) connected to iGPU

Camcorder
SONY Handycam HDR-XR550VE

GINO-PERROTTA wrote on 11/13/2023, 1:56 PM

Thank you wolfgang S.

I've been using Vegas for a long time, now I use Vegas 18. I consider it stable.

I have seen the AD for the feature you describe above, for Vegas 21, I didn't try it yet.

I wonder if it can be used with images as well.

Let's say you sing in front of a green screen and insert a group of people dancing. The result is the subject singing is in the front, the dancing people in the back. I am looking to reverse it. It would be more credible having the dancing people in the front.

I only tape musicians live, occasionally I use a green screen and videotape musicians in front of it. I am looking to improve the end product. So far I haven't found any difference between the two versions. I am looking to produce better video and of course Audio is very important.

Any input is appreciated.

Thank you.

jemue wrote on 4/11/2024, 4:37 AM

Leider komme ich hier mit Z-Depth nicht so voran, wie in den div. Tutotials gezeigt wird. Ich schaffe es einfach nicht, in der einen Videospur den Effekt Z-Depth anzuwenden, um den Text hinter die Personen, aber vor den Himmel zu setzen. Ich benötige eine 2 Spur - siehe Beispielvideo. Jemand eine Idee, wo mein möglicher Fehler liegt - Danke.

-------------------------------------------------- -------------------------------------------------- --------------

lieben Gruß jemue - 👀

Laptop V2 | Intel Core i7-12700H | Nvidia Geforce RTX 3060 6GB | 32 GB RAM | 1 TB SSD | Win11 | Vegas Pro Suite 21 - Build 300

Former user wrote on 4/11/2024, 4:57 AM

@Wolfgang S. Thanks that's very useful. 👍

Do you know if there's a way to change the number colour on the preview, it's a bit hard to see on my screen ?

--------------

PS, two drill bases/batteries very similar colour/depth, using the numbers on-screen I could get the text behind the drill to the left 1.0 on-screen but not behind the one next to it on the right 0.9 👍, I wasn't just moving sliders till it looks right this time 😁👍

Mindmatter wrote on 4/11/2024, 5:05 AM

The somewhat counter intuitive part is that Z has to be applied to the text track in custom compositing mode, and not to the actual clip as a video FX. Strangely though, that's what most tutorials suggest I couldn't get it to work properly until I used in compositing mode . How come most people seem to use it that way as opposed to what this tutorial suggests?


Last changed by Mindmatter on 4/11/2024, 5:30 AM, changed a total of 1 times.

AMD Ryzen 9 5900X, 12x 3.7 GHz
32 GB DDR4-3200 MHz (2x16GB), Dual-Channel
NVIDIA GeForce RTX 3070, 8GB GDDR6, HDMI, DP, studio drivers
ASUS PRIME B550M-K, AMD B550, AM4, mATX
7.1 (8-chanel) Surround-Sound, Digital Audio, onboard
Samsung 970 EVO Plus 250GB, NVMe M.2 PCIe x4 SSD
be quiet! System Power 9 700W CM, 80+ Bronze, modular
2x WD red 6TB
2x Samsung 2TB SSD

Mindmatter wrote on 4/11/2024, 5:07 AM

Leider komme ich hier mit Z-Depth nicht so voran, wie in den div. Tutotials gezeigt wird. Ich schaffe es einfach nicht, in der einen Videospur den Effekt Z-Depth anzuwenden, um den Text hinter die Personen, aber vor den Himmel zu setzen. Ich benötige eine 2 Spur - siehe Beispielvideo. Jemand eine Idee, wo mein möglicher Fehler liegt - Danke.

Du musst den Text Track über den Video Track stellen, und Z Depth dann im compositing mode des Text Tracks als FX wählen.

Last changed by Mindmatter on 4/11/2024, 5:07 AM, changed a total of 1 times.

AMD Ryzen 9 5900X, 12x 3.7 GHz
32 GB DDR4-3200 MHz (2x16GB), Dual-Channel
NVIDIA GeForce RTX 3070, 8GB GDDR6, HDMI, DP, studio drivers
ASUS PRIME B550M-K, AMD B550, AM4, mATX
7.1 (8-chanel) Surround-Sound, Digital Audio, onboard
Samsung 970 EVO Plus 250GB, NVMe M.2 PCIe x4 SSD
be quiet! System Power 9 700W CM, 80+ Bronze, modular
2x WD red 6TB
2x Samsung 2TB SSD

jemue wrote on 4/11/2024, 5:17 AM

Das wird aber bei vielen Youtube-Videos etwas anders erklärt. Deinen Tipp werde ich heute Abend gerne testen.

Z.B. hier->

Last changed by jemue on 4/11/2024, 5:19 AM, changed a total of 3 times.

-------------------------------------------------- -------------------------------------------------- --------------

lieben Gruß jemue - 👀

Laptop V2 | Intel Core i7-12700H | Nvidia Geforce RTX 3060 6GB | 32 GB RAM | 1 TB SSD | Win11 | Vegas Pro Suite 21 - Build 300

Mindmatter wrote on 4/11/2024, 5:27 AM

Ich weiss, bei mir hat's auch nicht geklappt bis ich es anders rum gemacht hab. Ich hab dann hier im Forum gesehn dass die Leute Z Depth als Compositing Mode FX benutzen, und dann ging's.

 

AMD Ryzen 9 5900X, 12x 3.7 GHz
32 GB DDR4-3200 MHz (2x16GB), Dual-Channel
NVIDIA GeForce RTX 3070, 8GB GDDR6, HDMI, DP, studio drivers
ASUS PRIME B550M-K, AMD B550, AM4, mATX
7.1 (8-chanel) Surround-Sound, Digital Audio, onboard
Samsung 970 EVO Plus 250GB, NVMe M.2 PCIe x4 SSD
be quiet! System Power 9 700W CM, 80+ Bronze, modular
2x WD red 6TB
2x Samsung 2TB SSD

jemue wrote on 4/11/2024, 9:46 AM

@Mindmatter, ich habe es geschafft, den Z-Depth als Compositing Mode FX einzubinden. Text auf die obere Spur und ein Linksklick auf Compositing Mode FX - Benutzerdefiniert. Dann den Z-Depth-FX ausgewählt. 💪

Last changed by jemue on 4/11/2024, 10:00 AM, changed a total of 1 times.

-------------------------------------------------- -------------------------------------------------- --------------

lieben Gruß jemue - 👀

Laptop V2 | Intel Core i7-12700H | Nvidia Geforce RTX 3060 6GB | 32 GB RAM | 1 TB SSD | Win11 | Vegas Pro Suite 21 - Build 300

Wolfgang S. wrote on 4/11/2024, 10:32 AM

Du legst einfach die Titelspur über das Video:

Und gehst dann IN DEM TRACK des Textes auf den Compositing Mode (rot markiert). Wenn du das auswählst, gehst du auf unter Custom

und kannst dort dann Z-depth wählen:

 

Dann öffnet sich sofort das Fenster mit dem Plugin - im Track composition mode auf der Ebene des Tracks:

 

Einstellen musst du es halt noch. In meinem Beispiel

a) Invert abwählen

b) Depth in und Depth out passend justierend (das ist die Tiefenebene, die es braucht)

c) Mit Map Finesse aufgeklappt kann man z.B. noch die Glättung einstellen

ist ein wenig eine Spielerei mit den Reglern.

 

 

 

 

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

jemue wrote on 4/11/2024, 12:41 PM

Entgegen aller Tutorialvideos ist dies der richtige Weg - nochmals Danke.

Ich habe es mal von mir auf einem Bild zusammengefasst. 😉

Last changed by jemue on 4/11/2024, 12:44 PM, changed a total of 1 times.

-------------------------------------------------- -------------------------------------------------- --------------

lieben Gruß jemue - 👀

Laptop V2 | Intel Core i7-12700H | Nvidia Geforce RTX 3060 6GB | 32 GB RAM | 1 TB SSD | Win11 | Vegas Pro Suite 21 - Build 300

jemue wrote on 4/12/2024, 12:17 AM

Gestatten, noch ein kleiner Nachtrag zum Z-Depth-FX.

Evtl. ist der Weg über Mokka eleganter. Der Aufwand ist aus meiner Sicht gleich.

Hier ein Tutoiallink aus dem Forum. https://www.vegascreativesoftware.info/us/tutorials/putting-text-behind-an-object-with-mocha--143127/

Last changed by jemue on 4/12/2024, 12:18 AM, changed a total of 1 times.

-------------------------------------------------- -------------------------------------------------- --------------

lieben Gruß jemue - 👀

Laptop V2 | Intel Core i7-12700H | Nvidia Geforce RTX 3060 6GB | 32 GB RAM | 1 TB SSD | Win11 | Vegas Pro Suite 21 - Build 300