Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 1-Mar-2022 22:20:09

Alexandre_Brazil
Member
Registered: 8-Dec-2011
Posts: 227

Two video layers at the same time

Two video layers at the same time
I need to create a Windows Desktop application that runs the video stream from the webcam on a backgroud layer and an upper layer that plays a video (.mov or .flv) with alpha channel.
I tried the approach of using the AR_Capture plugIT as a texture for a 3D mesh, but to no avail. I'm probably doing something wrong.
Here's the link to the video that should be on the top layer, in case anyone wants to do tests:

Link Video

In the image I explained what I need:
Image exemple

Offline

#2 3-Mar-2022 14:42:48

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,088
Website

Re: Two video layers at the same time

Hello !

you can use the media/capture plugIT to get the webcam on background or on texture if you don't need to detect markers.

For the media video layer check the openspace3d\assets\materials\cutout.material file and add a black color cutout material.
Apply the material to a plane and associate the video.

Offline

#3 4-Mar-2022 12:34:19

Alexandre_Brazil
Member
Registered: 8-Dec-2011
Posts: 227

Re: Two video layers at the same time

Thanks Arkeon, I will try this approach

Offline

Board footer

Powered by FluxBB