Tags

    daily weblog 4/22/2019

    During the ISR sport I made a lot of progress with ChromiumXR so it could be ready for the presentation on Wednesday. I finished the new VR renderer by using DrawMeshNow instead of DrawMesh, and adding UVs and new indices to my procedural quad mesh data. I also made a small library that'll be injected into every loaded ChromiumXR page called compositor.js, which lets you create offscreen canvases. When initialized, a popup window is made in the background with compositor=true. The popup window is set to about:blank to be a blank page, but luckily Chromium allows you to use window.document on a popup to access the DOM, meaning I was able to create a canvas and access it between windows. This also meant I had to edit my Chromium2Unity library to have multiwindow support which I also managed to get working, during class on 4/23/2019 I'm going to try to get compositor.js into Morgan's AR rendering library so we can make a demo page for Wednesday.

    Comments