To finish up the 3D view I got AB's unreal file that has his Gaussian splats. in order for it to run I had to install the same version of UE5, the luma AI plug-in, as well as the Cesium for Unreal plugin. after I was able to open the file I tested the first-person controls. in the original file, the first-person character does not spawn so I duplicated the level and added a player start, then it spawned normally. then I enabled the pixel streaming plug-ins and updated the SDK driver to match the UE5.3 requirements.
Next, I built touchscreen controls, under the miscellaneous tab when you right-click the unreal library there's a blueprint for the touchscreen, once I added that I used the basic joystick icons, this took a little bit of guesswork as you have to position icons based of off pixel coordinates, but both joysticks are roughly 135 x and - 135 y and vice versa so they sit in the bottom two corners of the screen. to make them functional you have to assign the input it's interpreting, so the bottom left joystick is set to function like a mouse, it controls the pitch and yaw of the camera. this is really simple, you can pick what controls you want the joystick to have from a drop-down menu or by tying it in. The right joystick is set to the "w" key, so viewers look around with the right, and walk that direction with the left.
Joystick in action, bottom left |
After it was packaged I repeated the same steps from the pixel streaming test
windows>project>samples>pixelstreaming>webservers>get_ps_servers> signaling web server>platform scripts>cmd>run_local then back to Windows to run the batch file with the network port parameters. I tried this at home and was able to get the touch screen working on my phone with no lagging, and was able to meet with the group to test it on multiple devices. we added a link to the Westphal icon on the map that connects to the server, which is accessible from the main website. this method can stream to any device, the packaged file runs on Windows but since this runs over wifi we were able to get the file running on an iPhone, which opens up options for the final presentation.
Comments
Post a Comment