From d851f3202511862324934b5515eb01eb897a11df Mon Sep 17 00:00:00 2001 From: Momo the Monster <737888+momo-the-monster@users.noreply.github.com> Date: Wed, 15 Feb 2023 22:45:47 -0800 Subject: [PATCH] Adds screenshots --- Readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index a069fe8..418c18b 100644 --- a/Readme.md +++ b/Readme.md @@ -7,12 +7,17 @@ This is a WIP Unity Example Project that demonstrates some ways that remote imag Clone or Download this project and open it up in Unity 2019.4.31f1. ## Gallery Example + +![image](https://user-images.githubusercontent.com/737888/219288424-78c3940a-3281-4f51-8d24-c34168c38444.png) + Scene File: `Assets/_Project/Gallery` This scene demonstrates a RemoteImageFrame which loads images from a web server at runtime. ### TheFrame +![image](https://user-images.githubusercontent.com/737888/219288603-2fc2753b-27a1-4f61-ad22-a51df527907d.png) + TheFrame is a GameObject with a couple of important pieces: * SlideshowFrame UdonBehaviour to load the images and captions from a web server. * Mesh object to render the frame. @@ -23,6 +28,8 @@ TheFrame is a GameObject with a couple of important pieces: This UdonBehaviour has all of the logic to download the images and captions from a web server. +![image](https://user-images.githubusercontent.com/737888/219288738-ace09705-18d4-4f8e-bb45-792ff662bf7b.png) + It has these public variables: * Rgb Url - an array of all the `VRCUrls` for the images to download. * String Url - a single `VRCUrl` where the caption text can be downloaded. @@ -46,4 +53,4 @@ The basic logic flow of the script is this: ## Using GitHub to Host the Images and Captions -This repo publishes to [GitHub Pages](https://pages.github.com/) for free hosting of the images and captions. When the files in the "Web" directory are edited, the website is re-published. As long as the filenames stay the same (images are 1.jpg, 2.jpg, etc.) - the URLs in the world will point to the newly published files. Republishing happens automatically through [an included GitHub Action](https://github.com/vrchat-community/examples-image-loading/actions/workflows/static.yml). \ No newline at end of file +This repo publishes to [GitHub Pages](https://pages.github.com/) for free hosting of the images and captions. When the files in the "Web" directory are edited, the website is re-published. As long as the filenames stay the same (images are 1.jpg, 2.jpg, etc.) - the URLs in the world will point to the newly published files. Republishing happens automatically through [an included GitHub Action](https://github.com/vrchat-community/examples-image-loading/actions/workflows/static.yml).