Skip to main content

week 8/9

     This week I've been looking at getting an unreal project onto a web browser, and I've found three ways of doing so. 

    The first requires UE4.23 and can run Firefox. In UE4 you can package the project as an HTML5 file

    Once packaged the file can be hosted from a local web server, the webpage displays the unreal viewport as a window in the center of the screen (with an optional full-screen mode) and is interactive. the output looks something like this, once each of the code files are organized into a server you can click the project connected to a webpage and it should open to a blank web page with a small window showing the unreal engine viewer. 

Once you have the HTML file you can open the html5launchhelper, from there copy the local host settings, and paste it into your browser, after that you'll see the same file directory on the webpage, click the packaged project file to run it and you'll have an unreal file that runs through the web. 
it should look like this (I used the base first-person setup that comes with Unreal, if you used something different or a customer file what's displayed will be different but the layout should be the same. this method is interactive, and because of the way it's packaged, it can be moved from one desktop to another with ease. the issue here is packaging an unreal file is a very permanent move, we would need to be very close to having a finished file before we are able to add this to our website. 

      The next method uses a plug-in from Animech that converts unreal files to glTF, this can be done in UE4 or UE5. plugin documentation here. this MUST be downloaded, the other plug-ins mentioned are packaged in with Unreal, this is the only one that is not directly supported by Unreal engine. this method allows for levels in a project file to be exported as glTF and integrated into a web page. the documentation for this method is almost non-existent, the link I provided is more of a description than anything, I can't find any tutorials or explanations on how it works, just that is exports glTF files, once you have the file there are multiple ways they can be used, for example we need an interactive viewer so we could implement the files using code like this:


which creates a similar view to what's used in Sketchfab, more info on how to use glTF files can be found here.

    The final method involves pixel streaming. 

    To start you need to install node.js and then check you have open network ports for communication (the default is port 80 and port 8888). in the unreal project enable the pixel streaming plug-in. In the level editor>play,  set the launch parameters (the ports) then you can package the project for Windows. after it is successfully packaged you can edit the properties of the application to match the port information as well as host options. I started running into issues here, for some reason, I'm not able to package a UE5 file, I updated my SDK but I get an error stating "no targets have been found". if I had been able to package the file correctly then the next steps for this method would be to set up a local webserver and set that to the same network port so that you can stream data (pixels) from an unreal file to a webpage, one the server is set up you paste the desktop IP address into the browser, and play the file in unreal engine, this should start the stream. full documentation for this process can be found here.

    The last thing I've been working on is Nikki divided up the snazzy maps with me, were duplicating the information we have from Google to a more custom map that Nikki designed, however, I don't seem to have access to the map style. this is something that can be published, and she was given a style code that should allow me to access the designs she created, I'm not sure why I can't access her designs but she's aware of this and we're going to troubleshoot the issue next group meeting. 





Comments

Popular posts from this blog

week 5/6

      S o week 5 just wrapped up, Jasmine has the website built, but it's not live yet and so far there's no 3D navigation. Its looks like NeRFs are a no-go, so we've decided that adding a sub-screen on the main navigation that will show a 3D view along with the map.  rough thumbnail     for the 3D/realistic view I've been looking and CesiumJS, there's a tutorial on how to embed a Cesium widget onto a webpage that looks promising. ideally, the cesium widget would be connected to the Google Maps data, allowing the user to click on a location and get a view of what that area looks like. This should be achievable through cesium 3D tiles Cesium does not have a built-in street view, but I believe the effect we're looking for will be achievable with the "fly to location" option.  Alternately, google has documentation for a duel view map that shows the standard map format alongside Google Streetview. this option may be quicker as the code is already built and...

Week 3/4 - development

 Testing Different Map Making Methods :      So I've been going through the different map/navigation app maker sites I found to find which would be the best fit for our project, right now the main criteria is  able to limit navigation to Philadelphia layers showing different resource types able to show route on screen, step by step Major landmarks and intersections have visual aid the final destination is connected to a NeRF      The focus is on accessibility, this is an easy use emergency resource meant to help people navigate the city through landmarks      TomTom is free (as opposed to Mapbox) however this doesn't allow for full customization. it generates a world map and lets you pick the colors and select preset levels of detail, it seems like the paid version of this unlocks more presets which is not what we are looking for. however, the general aesthetic of simplicity and the monochrome color could be useful for accessibility...