JLChnToZ / VVMW

VizVid - Brand new original video player frontend for VRChat, aims for flexibility.
https://xtl.booth.pm/items/5056077
MIT License
70 stars 6 forks source link

screens in canvas did not work #12

Closed Narazaka closed 2 months ago

Narazaka commented 8 months ago

I placed a Default Screen prefab in the world custom left hand menu (VRC Hand Menu https://booth.pm/ja/items/4201369 ) and set the Video Screen Target, but the video was not rendered. I tried other settings, but they did not seem to work in the Canvas. I tried assigning the same material to a UI Image and setting the material as Video Screen Target, but it did not work as well. What should I do to draw the video in the Canvas?

(In addition, I was able to get the desired behavior by using a means to make the Default Screen prefab outside the Canvas follow the Canvas by using Parent Constraint, etc.)

JLChnToZ commented 8 months ago

The UI system is not fully tested (sorry about that), so in the mean while you could try to put a quad mesh in place as the screen.

But I'm also curious did this gimmick handles what to display on the screen? (I've only got the old version but not the latest)

Narazaka commented 8 months ago

VRC Hand Menu has a function that displays the video at hand when installed at the same time as YamaPlayer (same author).

JLChnToZ commented 8 months ago

I see. I will backlog this since integrating with third party menu system is not the first priority. For the UI screen issue, I will give it a look,

JLChnToZ commented 8 months ago

I have tested the raw image with canvas target, although the color is not accurate (because of different color space of the video texture) but it works.

I want to know more on how you setup the raw image target.

Narazaka commented 2 months ago

I have lost the environment so I cannot remember the details sorry. I'll try again another time

JLChnToZ commented 2 months ago

OK, I'll close this issue for now. Please reopen if the problem still exists.