Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

StreetViewConverter Support

Discussion in 'Assets and Asset Store' started by sss1024, Feb 21, 2015.

?

Where do you aim to store panoramas?

  1. embedded resource (big size of application)

    5 vote(s)
    71.4%
  2. download from server (high traffic)

    2 vote(s)
    28.6%
  1. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
  2. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    I recently purchased your StreetViewConverter plugin. I'm fairly new to Unity/C# and when I try to build a game using your plugin I get an error saying:

    error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?


    Yes, you can't build stand alone application from project that uses a Unity3D editor functions.
    - rightclick prefab in project Assets
    - choose Export package
    - add this package to new project
    Street View Converter names prefabs like point_-23.303391x151.914955.prefab
     
  3. iamsam

    iamsam

    Joined:
    Dec 22, 2013
    Posts:
    233
    Hey,

    I purchased the plugin today and it works quite well in the few quick tests I did with the asset.

    A few questions regarding the asset,

    1) I would like to save the individual textures that are used to generate the cubemap, is there a way to quick implement that either by code or by an update on your end?
    2) I would like to know if you plan on releasing the source code, this way it is possible for me to test a few changes that suite my pipeline.
    3) Are there any future updates planned?

    Thanks,
    Sam
     
    Chaosgod_Esper likes this.
  4. iamsam

    iamsam

    Joined:
    Dec 22, 2013
    Posts:
    233
    Hey,

    Just a quick update, regarding question 1, I found the individual textures generated by the program in the windows temp directory so I know where to find them if needed.

    Thanks,
    Sam
     
  5. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    1) I would like to save the individual textures that are used to generate the cubemap, is there a way to quick implement that either by code or by an update on your end?

    - upgrade plugin to version 1.1. Now StreetView Converter saves panoramas in project Asset. Also plugin creates a material to use raw texture instead of cubemap.

    Keep in mind that cubemap always have better quality than regular texture. Another point - many mobile graphical cards limit texture size to 1024x1024.

    2) I would like to know if you plan on releasing the source code, this way it is possible for me to test a few changes that suite my pipeline.

    - you don't need source code to investigate Google StreetView API. See https://developers.google.com/maps/documentation/streetview/

    3) Are there any future updates planned?

    Yes. Ask what features you need to implement.
     
    Last edited: Feb 25, 2015
  6. iamsam

    iamsam

    Joined:
    Dec 22, 2013
    Posts:
    233
    Hey,

    Thanks for the reply. I will download the latest version from the asset store and try it. Thanks, I will keep the mobile limit in mind.

    I guess my main reason for the source code was to get to the textures, but I am all set now since I know where they are stored temporarily and you also provide the panorama in the revised version.

    Thanks,
    Sam
     
  7. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    I recently bought your street view converter tool for unity. It's great, simple, and hasn't failed once, which is fantastic.
    However, I often want to hand paint a map, or do some image manipulation on it before I import it into unity, and I was wondering if your tool could include an equirectangular projection (or longLat) projection step, which we could save out as a single image?


    Thanks.
     
  8. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    Check plugin version
    Version: 1.11 (Feb 26, 2015) - this version saves 360' panorama into project Assets
     
  9. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    Hi There. I do have the latest version, 1.11. There is no 360 panorama saved in Assets. Mac 10.7.5. Here are the messages in the console:

    System.Net.WebException: The remote server returned an error: (400) Bad Request.
    at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
    at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0
    UnityEngine.Debug:Log(Object)
    ImageFetcherLibrary.FetcherGUI:downloadPieceNew(String, String, String)
    ImageFetcherLibrary.FetcherGUI:test(String)
    ImageFetcherLibrary.FetcherGUI:OnGUI()
    UnityEditor.DockArea:OnGUI()

    There is only:

    CubeMap
    Material
    Pointer
    URL

    In the converted panorama folder.
     
  10. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    What URL do you use?
     
  11. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    Any, and every url gives the same set of error messages. I reckon its about mac permissions, if there's no problem on windows.
     
  12. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    1. create empty project
    2. import StreetViewConverter from Unity Asset Store
    3. Start Window / Google StreetView Converter
    4. Paste
    https://www.google.com/maps/@29.976...m3!1sEbwq3yM04UgAAAQfCa3ung!2e0!3e11?hl=en-US

    It will create folder
    Assets/StreetViewConverterPanoramas/_29.976491x31.134825
    and files
    cube_29.976491x31.134825.cubemap
    inner_29.976491x31.134825.mat
    point_29.976491x31.134825.prefab
    preview1_29.976491x31.134825.jpg
    preview2_29.976491x31.134825.jpg
    preview2_29.976491x31.134825.jpg_29.976491x31.134825.mat
    preview3_29.976491x31.134825.jpg
    url.txt
     
  13. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    I did all the steps you suggested. I still have the same problem.
    I just get what I got before. (cubeMap, mat, url, point)

    Interestingly, this is what I get when I download and import SVC from the asset store. I'm using Unity 4.6. I notice that there is only one example here - somehow maybe I'm not getting the update? Did you update on a version beyond 4.6?
    Screen Shot 2015-03-03 at 10.03.28 PM.png
    Here is the debugs from the console:
    Screen Shot 2015-03-03 at 10.12.39 PM.png
     
  14. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    i see old content of folder. Last version consists of two shaders but i see only one shader.

    Uninstall plugin completely and redownload it.
     
  15. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    I've done that. The image is after I have made new project, downloaded new version, and pressed import. There must be a problem with what you are submitting to the asset store, and the version you are using to submit.
    Can you check with asset store?
     
  16. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    open Unity3D
    open Window / Asset Store
    open Downloads tab
    find StreetViewConverter
    press Download
    press Import
    make sure Import window shows right content of plugin

    I tested plugin under Unity 4.6
     
  17. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    Please stop telling me to do the same thing. You've repeated it for quite some time. I have done all that you have suggested. There must be something else happening that you don't yet understand. Perhaps you can check it out, rather than telling me to do the same thing?
    The plugin shows in the release notes 1.11 & new metadata, but still only imports from a previous version.
    Screen Shot 2015-03-03 at 11.22.02 PM.png
    But...when I press import after a fresh download, in a fresh project...
    Screen Shot 2015-03-03 at 11.22.32 PM.png
     
  18. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
  19. bigSky

    bigSky

    Joined:
    Jan 31, 2011
    Posts:
    114
    Hi There,

    Just to feedback on the above issues. A new install of Unity did the trick, and the software works magnificently.
     
  20. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    Finally Asset Store Team approved new version of Street View Converter.

    v1.5.03 requires Unity 5. No support for old Unity anymore, sorry.
    New StreetView Converter adds all images and materials into project.
    No needs to copy them from temporary folder.
     
  21. Pulov

    Pulov

    Joined:
    Feb 20, 2010
    Posts:
    824
    ahh no support for 4.x ...

    This unity release is killing backwards support in a lot of assets.
     
  22. mralba75

    mralba75

    Joined:
    Apr 7, 2015
    Posts:
    1
  23. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
  24. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    @mralba75
    It seems that the plug in doesn't look at the orientation and the height parameters

    You can't change image orientation in Google StreetView. Insead of it you can rotate camera.
    StreetViewConverter convert panoramas without camera.
     
  25. ivanflap

    ivanflap

    Joined:
    Feb 6, 2017
    Posts:
    1
    Hey!
    When I try to build my project to run on Oculus it declares a compiler error:
    How can I fix this?
     
  26. sss1024

    sss1024

    Joined:
    Dec 2, 2014
    Posts:
    19
    you can't use StreetViewConverter outside of Unity editor.
    Remove cs and dll files before compiling