keijiro / Dkvfx

An example that shows how to use recorded Depthkit footage with Unity VFX Graph
Other
228 stars 34 forks source link

Is it possible to have more than one HAP player in one scene with DKVFX ? #15

Closed PockPocket closed 3 years ago

PockPocket commented 3 years ago

I'm trying to have multiple volumetric captures of different captures playing in one scene with DKVFX. Is that possible ? So far I can only have one volumetric capture, when I add another HAP Player it can only play the same hap file.

keijiro commented 3 years ago

Could you provide a minimal project that reproduces the issue?

PockPocket commented 3 years ago

image

keijiro commented 3 years ago

The converter objects write to the same set of render textures. You have to use different sets of render textures to use multiple VFX instances.

keijiro commented 3 years ago

I'm closing this issue now. Please feel free to reopen it for further problems.

By the way, your project was broken on my side, so I couldn't test it. Please try to make it minimal when sharing a project for issue reproduction.

PockPocket commented 3 years ago

Sorry for the broken project, I think the issues may be linked to plug-ins compatibility.

I've tried to duplicate the ASSET file Test.Metadata and place that new Test.Metadata_1 in the Metadata slot of the second clip converter but the issue still persists, it plays the same clip twice. I also tried to duplicate the position and color and place those new ones in the second converter but that also didn't worked.

I'm wondering if duplicating is really the good move here, I didn't know how to create a new Metadata file so that's why I did it that way but maybe there's something I'm missing here ?

image

keijiro commented 3 years ago

Metadata is not related to this problem.

You have to use use different sets of render textures. It means that you have to not only duplicate them but also specify them properly in the each VFX instance.

PockPocket commented 3 years ago

It worked !

Thanks a lot :-)