Beiträge von Dennis Dixon

    I would like to implement the krpano maps example ( https://krpano.com/viewsource.htm…s/maps/maps.xml ).

    Clearly, there must be more code than this, but I don't know where to find it.

    A few questions:
    1) Is the ArcGIS interface free and open to the public? It appears so since the link from the code works fine straight into the browser and returns a map:
    https://server.arcgisonline.com/ArcGIS/rest/se…/tile/4/5/5.jpg
    Is there any licensing concerns I should know about and do I need to sign up on their website?

    2) In regards to understanding the code, a good start is to figure out where " z, y , x " variables used in the ArcGIS link are set. I can't find any initialization.

    3) Possibly I need to upgrade my krpano software. I am currently using krpano 1.20.9. Is there a map function that I need to be able to call? Possibly, I need a map plugin, but I didn't see any imported in the example code.

    Thanks for any help.

    Once I've created a krpano 360 tour, can I then transfer these files to a potential client to execute the tour on their website without restriction?

    It would appear that the answer is yes, since the tour.xml file runs without the krpano.exe file. But I want to make sure of this before offering this feature to a potential client.

    Thanks.

    I have an equirectangular scene of stars:

    Code
    <scene name="space1obj" title="starsequi" autoload="true"  thumburl="panos/starsequi.tiles/thumb.jpg" lat="" lng="" heading=""  music="always" >
    <preview url="panos/starsequi.tiles/preview.jpg" />
     <image prealign="0|260|0" > <cube url="panos/starsequi.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,256" />	 </image>
                   <hotspot name="spot1" style="skin_hotspotstyle" ath="-14.194" atv="14.734" linkedscene="space2obj" />
     <!-- change the scene by pressing SPACE: -->
    
    
     <events onkeyup="if(keycode == 32, loadscene(space2obj,null,MERGE|KEEPMOVING|KEEPSCENES, BLEND(1)));" />	</scene>


    Then I have a second scene of obj models:

    Code
    <scene name="space2obj" music="saga1" >
     <image prealign="0|10|0" > 
     <sphere url="uvfinalmat14.png" />
    
    
     <depthmap url="panos/uvfinalG14.obj" rendermode="3dmodel" scale="100" textured="true" waitforload="true" /> 		</image>
    
    
                   <hotspot name="spot2" style="skin_hotspotstyle" ath="-14.194" atv="14.734" linkedscene="space1obj" />
     <!-- change the scene by pressing SPACE: -->	 <events onkeyup="if(keycode == 32, loadscene(space1obj,null,MERGE|KEEPMOVING|KEEPSCENES, BLEND(1)));" />	</scene>


    I want the first equirectangular image to be the background image for the obj models that I made in Blender.

    How do I do this? I'm thinking it might have something to do with creating parent/child layers, but really I'm just making guesses in the dark.

    Thanks for any help.


    (More to say)
    Seems like this is possible:
    https://krpano.com/forum/wbb/inde…ad&postID=86947


    "Btw - a nice new usage case therefore is a background image (e.g. by using a layer with parent=BGLAYER) for 3D 'doll-house'-views."


    I just don't know how to start.

    Indexofrefraction, thanks for your response. It was very helpful. I hadn't looked at the depthmap documentation in detail yet,

    which I probably should have. It makes a bit more sense now.


    I'm aware that MetaReal isn't made in KRpano. I've already made a demo 3DTour in MetaReal, but found their

    software a bit cumbersome. In particular, I didn't like having to develop the project on their server.

    I was hoping that I would be more comfortable with KRpano, provided I can still create "doll houses".


    I am now guessing that the Everpano software actually creates a KRpano project, but with the <depthmap>

    attribute included? Is this true? So that would be a simple way to go.


    In your comment that everything can be done without Everpano, are you referring to using other software

    such as Blender to create the depthmap? That seems to be the procedure lastromantik uses.


    Thank you lastromantik for your example. That's exactly what I'm trying to reproduce. What would be the

    general outline of the workflow for this? Possibly you could share the tour.xml source code if that's not

    too much trouble?


    Maybe the workflow would be:

    1) Convert the 360 photo from spherical to tiles. (In PTGui or KRpano ?)

    2) In Blender, make a 3D model ( using the tiles as reference ), UV unwrap the panaroma and place on the model,

    export as an .stl ( or .obj ?).

    3) Using the conversion tool mentioned in my previous post ( https://krpano.com/docu/depth-file-format/ ), convert

    the .stl to a .depth file.

    4) Reference the .depth file in the tour.xml, using the "depthmap file attribute" mentioned in the KRpano documentation.


    Does this sound like roughly the correct process? Thanks to both of you for your help.

    What I'm trying to do is create a menu or popup button that then shows the project in doll house view.

    Here's a link to a Metareal sample tour, which is basically what I'm trying to achieve.

    https://www.metareal.com/gallery/


    So it seems like this should be possible using Everpano, but I can't seem to find the appropriate documentation or example.

    I guess there are 2 issues. The first is, if I download a panorama into Everpano and then do the appropriate modeling to the photo,

    will it generate a .depth file which I can then use in krpano? This is what this link seems to be saying.

    https://krpano.com/forum/wbb/inde…&threadID=17225

    The resulting image is exactly what I'm looking for.


    The second issue, is for krpano to create a button in the menu or a popup to display this model in .depth format. I would think

    that this would be straightforward, but I don't see any examples.

    The following is a still screen shot of the resulting model with the menu bar still on the bottom. I assume this is still in krpano.

    How did they do this?

    https://forum.we-get-around.com/topic/14919/us…rom-360-photos/


    It even appears that I should be able to create these .depth files from an external program, such as Blender,

    and then create them with this tool:

    https://krpano.com/docu/depth-file-format/

    Thanks for any help.

    What I'm trying to do is create a menu or popup button that then shows the project in doll house view.

    Here's a link to a Metareal sample tour, which is basically what I'm trying to achieve.

    https://www.metareal.com/gallery/


    So it seems like this should be possible using Everpano, but I can't seem to find the appropriate documentation or example.

    I guess there are 2 issues. The first is, if I download a panorama into Everpano and then do the appropriate modeling to the photo,

    will it generate a .depth file which I can then use in krpano? This is what this link seems to be saying.

    https://krpano.com/forum/wbb/inde…&threadID=17225

    The resulting image is exactly what I'm looking for.


    The second issue, is for krpano to create a button in the menu or a popup to display this model in .depth format. I would think

    that this would be straightforward, but I don't see any examples.

    The following is a still screen shot of the resulting model with the menu bar still on the bottom. I assume this is still in krpano.

    How did they do this?

    https://forum.we-get-around.com/topic/14919/us…rom-360-photos/


    It even appears that I should be able to create these .depth files from an external program, such as Blender,

    and then create them with this tool:

    https://krpano.com/docu/depth-file-format/

    Thanks for any help.