Uploading 3D Objects to Patches - Part 3

Patches

Uploading to Patches

To upload files to Patches you need to create an account at https://patches.vizor.io/. If you already have an account simply log in.

In this example the default scene will be used, but the same method works for any scenes like your own projects.

In the editor, look for a 3D object from the Patches menu. For example the 3D model from Objects: Basic menu.

Select an object

Click on it and it will appear in the editor view. This model is a flying flamingo.

To replace the 3D model, select the model by clicking on it and press Shift + Tab to enter the model’s patch.

The 3D model patch

The dark blue patch 3D Geometry Loader is where you can upload your model. Click on the Change button. From the file window click on the Upload tab and click Browse to find your exported OBJ file.

Upload window

When you have the file selected, click Upload and it will load your file. Click Ok at the bottom of the window to confirm the upload.

If the file appears invisible like in this example, it might be because of the object scale in patches.

Upload invisible

To change the scale press Tab to hide the patches and click on the Inspector icon at the top right corner of the toolbar. This opens the Inspector with the object’s properties.

Inspector

The scale here has been set to 0.01, which is why it’s too small to see in the view. Change the values to 1.00 to see the object in it’s original scale.

Scale changed to 1

Now the object has it’s true scale which was defined in Blender.

Uploading textures

The example model in this tutorial had textures in it, so this part will show how to add a material to the object and upload textures in it.

Select the model and press Shift + Tab to open it’s patches. In the Patches menu search for a material, for example Standard Material. Drag and drop it to the scene and connect it to the Material slot in the Mesh patch.

Standard material

The model now has shadows with the new material. To add a texture search for Texture in the Patches menu and drag it next to the material. Connect it to the Texture slot in the Stardard Material patch.

Default texture

To upload your own texture click on the pencil icon on the texture patch, and similar to the 3D uploading, look for the texture file and upload it.

Uploaded texture

Different materials look different so it’s good to try out a few to see which one looks the best for you and play with the different material slot options for effects and better looking results.


* **[Uploading 3D Objects to Patches - Part 1](http://blog.vizor.io/uploading-3d-objects-to-vizor-part-1/)** * **[Uploading 3D Objects to Patches - Part 2](http://blog.vizor.io/uploading-3d-objects-to-vizor-part-2/)** * **[Uploading 3D Objects to Patches - Part 3](http://blog.vizor.io/uploading-3d-objects-to-vizor-part-3/)**