Plugin Usage with VIVERSE Extension
-
Start by opening your PlayCanvas project and setup using the VIVERSE Extension. Once the extension is setup and you’re logged in, you are ready to add special components. To add a Polygon Streaming component to the scene, add an Empty component to the scene and give a name like "Streaming Model".
-
With the new component selected, click on EDIT VIVERSE EXTENSION. Choose a Media type of plugin, select the module PolygonStreaming and click the plus + symbol. Now you just added a Polygon Streaming component to your scene.
-
Paste the URL address of your streaming model into the Polygon Streaming URL field, you may need to add "/model.xrg" in the end of the URL. Once you added the URL in the field, the object will already preview inside your scene. This is just a preview, once Published, the streaming model will start actively streaming from the cloud.
-
That’s all you need to stream your models inside your VIVERSE Scene. You can also modify the Polygon Streaming Parameters going to Viverse Scene Settings / Polygon Streaming and change the parameters according to your preferences. You can check the Supported Parameters list below in this documentation.
-
After you published your VIVERSE World scene, the Streaming Model will automatically start to stream inside the scene.