Skip to main content

Setup

Image

Adding and Using the Presentation Gear

To install this asset via VRC Fury simply drag and drop the "Presentation" prefab inside Assets/Kokos/AvatarAssets/Presentation onto your avatar.

Image

To move the expression menu of this asset to another location of your menu tree you can use the

"Move or rename menu item" component VRCFury offers. To add one, click on "Add component" in the inspector with your avatar selected.

Image

If you need to scale the asset, simply scale the Presentation prefab in the hierarchy.

Image

That´s all for the installation using VRCFury.

If you want to hide the asset in the editor, select the "Presentation Setup" in the hierarchy and uncheck the top checkbox in the inspector on the right.

Image

You can now continue with adding your own slides.

Adding your own slides

To add your own slides, use the "Mask.png" in your download to arrange the slide content. Everything in the top box is displayed on the small screen and everything in the large box will be on the projection screen.

ImageStep 2

You can create your slides in any photo editor of your choice or even Power Point. When finished make sure you name them with letters instead of numbers (just a tip). Alphabetic sorting with numbers will end up with the slides being sorted like this in the flipbook: 1, 10, 11, 12, 2, 3, 4...

Drag your slide images (use png as the file format) into your unity project. You can create a subfolder in the slides directory , to keep things organized.

Image

info

Keep in mind: Use the minimum texture resolution possible, 1k should do fine for most presentations. Flipbooks can get quite large in file size.

Next, select all the slides, then right click "Thry->Flipbooks->Images 2 Texture Array".

The "Thry" context menu entry should be added with the Poiyomi shader. This will create your flipbook, which you now need to add to the material.

Image

Note

In rare cases Thry´s tool can fail and cause random frames in the flipbook to become black.
In this case you should use an external tool to create a *.gif file and import it in your project. Then drop the gif into the flipbook slot as shown below. Unity is then using it´s internal convertor to create a flipbook.

Next, click on "Textures Materials" in the file browser, then select the "Presentation" material (unlock the shader, if it´s locked).

Image

Then open the folder with your flipbook and drag it into the flipbook field in the material.

Image

That´s it.

If you have an avatar emulator installed in your project you can jump into play mode and test everything. The asset is designed in a way that it supports interactions through the action menu as well as through dragging the projection screen down and using the buttons on the table.

The next section is about changing the maximum number of slides. If you are using less than 12 it´s rather easy to adjust the logic (it is also optional in this case). If you have more than 12 it will be more complicated.