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.

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

1

Thursday, January 6th 2011, 12:41am

Nadir and Compass





Hello




Can the Compass and NadirCap work together in the same scene?


Heres a link to a simple version i made from the KRpano examples folder - I added a include for the nadir.xml into the compass.xml


the nadir logo does not show in the panorama???




http://www.360icon.com/nadir/compass.html


*smile* Thanks!! for your help!!
All Else Passes, Art Alone Endures.

This post has been edited 2 times, last edit by "360icon" (Jan 20th 2011, 2:34am)


360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

2

Saturday, January 8th 2011, 4:55am

Hello Klaus


I have this part working, but i would like to have the nadir remain at 90 straight as thhe panorama rotates- I've tried setting the set(hotspot[%1].rotatewithview,true -and- set(hotspot[%1].rotatewithview,false);); and it has no change of the nadir.
Is there some else that needs to be set?




Thank You
Kent in Missouri







http://www.360icon.com/nadir/compass.html

http://www.360icon.com/nadir/compass2.html





http://www.360icon.com/nadir/compass2.xml
All Else Passes, Art Alone Endures.

This post has been edited 2 times, last edit by "360icon" (Jan 15th 2011, 1:35pm)


360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

3

Saturday, January 15th 2011, 1:36pm

Hello Klaus


I have this part working, but i would like to have the nadir remain at 90 straight as thhe panorama rotates- I've tried setting the set(hotspot[%1].rotatewithview,true -and- set(hotspot[%1].rotatewithview,false);); and it has no change of the nadir.
Is there some else that needs to be set?




Thank You
Kent in Missouri







http://www.360icon.com/nadir/compass.html

http://www.360icon.com/nadir/compass2.html





http://www.360icon.com/nadir/compass2.xml
All Else Passes, Art Alone Endures.

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

4

Saturday, January 15th 2011, 1:38pm

Sorry it posted twice
All Else Passes, Art Alone Endures.

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

5

Wednesday, January 19th 2011, 11:38pm

*confused*
All Else Passes, Art Alone Endures.

This post has been edited 1 times, last edit by "360icon" (Jan 19th 2011, 11:54pm)


6

Thursday, January 20th 2011, 12:19am

try adding


if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate,get(view.hlookat)) );

to your onviewchange action.

haven't tried it just guessing.


Jarred

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

7

Thursday, January 20th 2011, 2:33am

*smile* Thanks!!

That was a good start

the hotspot was created by a action, but it had no name - so i added one at the bottom and it works now - Thanks been trying to get those 2 to work together for a week!

http://www.360icon.com/nadir/compass.html





addhotspot(%1);
set(hotspot[%1].url,%CURRENTXML%/krpano-roundlogo.png);
set(hotspot[%1].crop,%0);
add(hotspot[%1].ath,%2,heading);
set(hotspot[%1].atv,90);
set(hotspot[%1].scale,0.8);
set(hotspot[%1].distorted,true);
set(hotspot[%1].handcursor,false);
set(hotspot[%1].rotatewithview,true);


set(hotspot[%1].name,nadirlogo);


</action>



- Could the --- v lookat - be in as a readout textfield on the stage??
where do I sta
rt to get it to do that?
All Else Passes, Art Alone Endures.

This post has been edited 1 times, last edit by "360icon" (Jan 20th 2011, 2:52am)


8

Thursday, January 20th 2011, 2:59am

- Could the --- v lookat - be in as a readout textfield on the stage??
where do I start to get it to do that?


Not sure what you mean here. Glad you got the other issue worked out.

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

9

Thursday, January 20th 2011, 4:09am

Please take a look at it now -

I added a text field below the compass and the option tab at the top



-click the options open -

the first field at the top is the vertical and horizontal look at degrees -



i would like to have the vertical degrees be in the text field below the compass and updates as the pano tilts
All Else Passes, Art Alone Endures.

VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

10

Thursday, January 20th 2011, 4:13am

i would like to have the vertical degrees be in the text field below the compass and updates as the pano tilts


Klaus has a compass example with a built in altimeter already. it may not be in the examples anymore but you can see it here. bottom right corner.

http://www.virtualnorthland.com/panos/mackinaw/

11

Thursday, January 20th 2011, 4:15am

Klaus's example here

Compass...

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

12

Thursday, January 20th 2011, 4:21am

right On - the one on the right - looks like it the one!!!

*smile* Thanks for the help!!!!!!


now let me see if i can make it do that?
All Else Passes, Art Alone Endures.

360icon

Trainee

  • "360icon" started this thread

Posts: 47

Location: Columbia MO

Occupation: build things

  • Send private message

13

Thursday, January 20th 2011, 4:56am

got it!!

its done with a png instead of text, need to experiment with the scale and png somemore - but this is what I needed - awesome Thanks!! *smile*
All Else Passes, Art Alone Endures.

Similar threads