Posts by Woiferl

    Hello everyone,
    I have a question about maps.
    in the “custom skin settings” I have maps=“true”, map_type=“google”, maps_google_api_key=“xxxxxxx”.

    If I now click on the world icon in the control bar, the Google map and the POI are also displayed. But not the way I want it. I would like to display the map, not the satellite view, and zoom in on the POI in the map. And unfortunately this is not possible.
    Can you please help me with this?
    Thank you very much!

    This is how the map should be displayed when you click on the icon:

    Hi Woiferl, thanks for your answer but Canon RP is a full-frame camera that costs $800 USD. I'm looking for a solution with an APS-C sensor camera.*wink*

    You would need a 4.5 mm lens with a crop camera. You would need a 4.5 mm lens with a crop camera. I hardly think that you find one. Have a look at https://panosociety.com/de/pages/panorama-shot-calculator and you will find what you need to calculate this.

    Hello everyone,
    I have a problem with a map that I am displaying in a panorama.
    I use krpanomaps and actually everything works fine, except for the...

    In the skin_Setting I let the icon of the maps fade in. If you click on it, the layer of the box in which the map is located is displayed. If you click a second time on the button, it is hidden again.

    The expand button also works perfectly.
    However, if the plan is large in the panorama and you click a second time on the Maps button in the skin_settings, it is no longer set to the default value and is hidden.

    What am I doing wrong? Here is the code as I wrote it, I have to say that I am not a real programmer, I hope you can help me.

    So that you can see what I mean, I have uploaded the tour to my server: link

    And here is the code:

    Maybe I can help you a little.

    Here you will find a demo file that I created for testing.


    Kitchen test


    Hi Insideplaces,

    try this code, just paste it into your XML file.

    I used it for a Tour, the music starts with the first interaction in the panorama.
    On the Destop as well as on the mobile phone.

    I hope it works the same way for you.

    best regards,

    Woiferl


    Code
    <!-- startup action - load the first scene with sound -->
    	<action name="startup" autorun="onstart">
    		if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
    		loadscene(get(startscene), null, MERGE);
    		if(startactions !== null, startactions() );
    		playsound(bgsnd, sounds/your_sound.mp3, 0, 0.5);		
    	</action>

    Since the thread is already a bit outdated, I thought I would make a new tutorial for PTGui version 11.xxx (and higher?).

    The GUI of the PTgui has changed fundamentally, and the original post simply no longer fits the workspace.

    @ Klaus I used the original file, I hope that's ok?

    1. Load Panorama:

    Load the finished panorama on PTGui.


    2. Edit Panorama:

    Click on the panorma editor button.


    3. Projection:

    In the panorama editor, click on Projection.


    4. Rectalineaer projection:

    Select "Rectarlinear" from the projection options and set the vertical compression to "0".
    By default, a different value is set here!


    5. Field of view:

    Rotate the view in the desired direction and use the sliders to determine the image section. Copy the number under "Field of view", you will need it later.


    6. Yaw / Pitch / Roll:

    Go to "Image Parameters" in the main menu of PTGui. Copy the values for Yaw, Pitch and Roll


    7. get decimal values:

    Click on the number for Yaw Pitch and Roll in PTGui for all decimal places, copy it.


    8. Create the Pano:

    Go to "create Panorama" in the main menu of PTGui.
    Set the "% of optimum size" to 100 and click on "Create Panorama".
    A panorama of the selected section is created.


    9. Edit in Photoshop:

    Open the created file in Photoshop and edit it.

    For the pool example - here the extracted image (already modified - green instead of blue color):

    For the pool example - here the extracted values:
    hfov = 139.854
    yaw =-90.779
    pitch = -0.625974
    roll = -38.2707


    10. Load that hotspot image into krpano:

    That calc_pos_from_hfov_yaw_pitch_roll(hfov, yaw, pitch, rol) action can now be called in the onloaded Event from the hotspot. The action has the hfov, yaw, pitch and roll values from PTGUI as parameters.


    The final xml code will look like this:

    Code
    <hotspot name="spotNNN"
    url="pool_extract.jpg" 
    distorted="true"
    onloaded="calc_pos_from_hfov_yaw_pitch_roll(150, -90, -4, -30);"
    ...
    />


    The complete XML file:


    I hope I was able to help you a little with the small update for PTGui.

    Edit: Attention!, the "," in KRPano must be converted into a "." for the special values!

    I use a German keyboard, so PTgui writes a comma in the values.

    Thanks to mtness for the hint in #142 in this thread


    best regards,

    Woiferl

    I have now edited the whole file again, starting with the raw data.

    Obviously I made a mistake somewhere in the image processing, with the new version I can load both the 16bit and 8 bit version into the KRpanoTools without banding.

    Many thanks for the help Klaus, I have learnt a lot again!
    I didn't even know about the options in the "flat.config!

    Now everything looks fine, I'm really happy!

    Many thanks Klaus,

    yes, you're right, that's color banding, unfortunately I said it wrong, sorry.

    It's of course a 16bit file, I'll try to see if it works, output the file to 8 bit in Photoshop and only then continue working with the KR Panotools.

    Thank you also for the tip about the color profile, if the colors on the internet differ a little, I honestly don't care. I work on a calibrated monitor, but what do I know what the rest of the world has or how they see my photos. The colors are important to me for prints, but for the internet it's not really extremely relevant. (my opinion!)

    I find the JPG quality really amazing! Is there actually anything that krpano can't do?

    Ich wünsche Dir ein frohes neues, und ich hoffe Du bist gut rüber gerutscht! *wink* (happy new Year!) *smile*

    Hi all,

    on my last vacation in Portugal I took a 3 gigapixel panorama

    Everything looks wonderful in Photoshop, including the sky.

    The image has a size of almost exactly 3 gigapixels, 113,104 x 26,553 pixels. Due to the size, the file also has 27.5 GB and I had to load the image directly from the .psb format with the krpano tools v1.21 using the flat.config.

    Now I have very strong compression artifacts in the sky that don't exist in the original Photoshop file. Can I do anything about it? I'm a little at a loss right now.

    Here's a link to the file, please look at the sky, it looks very bad.

    Ferragudo

    And here is the XML code if you need it.


    Thank you! *smile*

    Hello everyone,

    i'm currently in the process of designing a tour and, thanks to many helping users here in the forum and plugins, I've been able to implement my ideas. I have two questions about this because my programming skills are at a low level.

    1. I am facing a problem that I cannot solve.

    It's about the scrollbar which is on the right in the scrollarea. I copied and adapted the script from the examples on the KRpano site. Everything works well, except for the scrollbar whenever I need several scroll areas in a panorama.

    The scroll area programmed first works as it should. Unfortunately, the scrollbar doesn't work in the second one.

    So that you can better understand what I mean, I have temporarily uploaded the tour to my server.

    link

    The second question, I probably need 10-15 such Scrollaeras with text in the tour, is there a more elegant way to design the whole thing? Here is the code as I have written it so far with my knowledge. Please forgive me, I'm still learning...*smile*

    Lastly, here is the code I wrote:



    I would be happy if you could help me with this.

    best regards,

    wolfgang