You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

cecilia_w

Beginner

  • "cecilia_w" started this thread

Posts: 4

Location: Buenos Aires

Occupation: Graphic Designer - Photographer

  • Send private message

1

Monday, May 17th 2010, 10:22pm

Disabling 3D projections on drop down menu

Hi everyone!
I'm just arrived to the krpano development platform, and have been trying to find a way to disable the 3D projections (fisheye, stereographic) on the viewer's drop down menu. I only need the "normal" view.
Is there a way to do this?
Thanks for the help!

Cecilia

2

Monday, May 17th 2010, 10:29pm

Are you talking about the context menu on right click?

cecilia_w

Beginner

  • "cecilia_w" started this thread

Posts: 4

Location: Buenos Aires

Occupation: Graphic Designer - Photographer

  • Send private message

3

Monday, May 17th 2010, 10:30pm

yes, that's the one I'm talking about

4

Monday, May 17th 2010, 10:34pm

In your xml, find the context menu code and remove the sections you don't want.
Here is an example.


<contextmenu fullscreen="false">

<item name="item1"
caption="Visit my website"
onclick="openurl(http://www.yoursitehere.com);"
/>

<item name="item2"
separator="true"
caption="KRPANO"
/>
</contextmenu>

cecilia_w

Beginner

  • "cecilia_w" started this thread

Posts: 4

Location: Buenos Aires

Occupation: Graphic Designer - Photographer

  • Send private message

5

Monday, May 17th 2010, 10:51pm

Thanks!
I tried the code, but I'm still getting the full contextual menu
I'm testing on a Mac, by the way

Here's a sample of my code:

<krpano version="1.0.8"[PARTIALPANO]>

<include url="skin/defaultskin_lightbuttons.xml" />

<view
hlookat ="310"
vlookat ="0"
camroll ="0.000000"
fovtype ="VFOV"
fov ="120"
fovmin ="53"
fovmax ="90"
maxpixelzoom ="NaN"
limitfov ="true"
fisheye ="0.00"
fisheyefovlink="0.50"
stereographic ="false"
pannini ="false"
architectural ="0.0"
architecturalonlymiddle="false"
limitview ="range"
hlookatmin ="-180"
hlookatmax ="180"
vlookatmin ="-78"
vlookatmax ="79"
/>

<display details="22"
movequality="LOW"
stillquality="HIGHSHARP"
/>


<contextmenu fullscreen="false">
<item name="item1"
caption="About the Photographer..."
onclick="openurl(http://www.panomakers.com);"
/>

<item name="item2"
separator="true"
caption="KRPANO"
/>
</contextmenu>


[PREVIEW]

[IMAGE]

</krpano>

6

Monday, May 17th 2010, 10:57pm

You are including a file that may contain the context menu.
<include url="skin/defaultskin_lightbuttons.xml" />

check to see if the context menu is included there.

Just a thought, How did you get the xml generated? did you use autopano? Perhaps the context menu is already included in the krpano.swf you are using.

check that included file first, Be sure you clean your cache to be sure it is not stored locally and then perhaps load a new swf from the download package.

cecilia_w

Beginner

  • "cecilia_w" started this thread

Posts: 4

Location: Buenos Aires

Occupation: Graphic Designer - Photographer

  • Send private message

7

Tuesday, May 18th 2010, 2:43am

Great pointers all!
I'm working with Stitcher, not Autopano, so the xml is generated directly by krpano

I'll check the code to see if the context menu is included somewhere else

THanks for the help!

Similar threads