Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

How can we run this? #1

Closed
rekire opened this issue Aug 30, 2017 · 4 comments
Closed

How can we run this? #1

rekire opened this issue Aug 30, 2017 · 4 comments

Comments

@rekire
Copy link

rekire commented Aug 30, 2017

Well maybe this is a dump question, but how can we compile and run this example? I see no build files and no explanation how to compile this example.

@friej715
Copy link
Contributor

The most essential instructions are under Develop in the readme. A bit more detail:

This repo is the Unity project (i.e., not a .unitypackage, that's a whole other process) for Portal Painter. You'll need Unity and several other pieces of software (Android Studio, Android Build Support, ARCore SDK, ARCore Service, etc.) to develop with it and run it on your device (list of supported devices here). All those instructions are here.

You can follow those instructions almost verbatim, except that instead of creating a new project, you should download/clone this project and open it in Unity.

From there, you'll want to make sure you're in the Main scene. You will get some errors at first, because we don't include the ARCore UnityPackage--once you download and import that in, everything should be back to normal.

You'll also want to switch your platform (as it says under Configure the Build Settings) and make sure your Main scene is in your build. The other build settings should already be in place (although it's always a good idea to double-check).

After that, you should be able to pick up from Prepare Your Device in the other tutorial. Once you get it running, you can mess with it and add your own worlds (those instructions are back in the readme).

Closing this issue, but feel free to open a new one if you run into specific issues along the way!

@tjerkw
Copy link

tjerkw commented Oct 5, 2017

I got it running, however i cant add portals to the world :p

@tjerkw
Copy link

tjerkw commented Oct 6, 2017

I think i got it working, however the portal is drifting, and walls are not correctly aligned with the plane.

These are the correct settings:
screen shot 2017-10-06 at 10 25 39

@tjerkw
Copy link

tjerkw commented Oct 6, 2017

Takeaways:

  • Dont forget to increase the "Brush Radius" and to assign the Portal object.
  • Add the Worlds and Skyboxes to make it work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants