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.

360boy

Intermediate

  • "360boy" started this thread

Posts: 221

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Send private message

1

Saturday, May 5th 2018, 6:42pm

Camroll alike for yaw and pitch parameter, does it exist?

Hello Klaus,

Is it possible to lean a bit the yaw and pitch of the "pano cube" by some parameter? I'm trying to recreate the slight "head leaning" that some portals like kuula or roundme use when mouse travels around in the pano area (view follows the mouse) and something like the new view.tz, view.ty, view.tx parameter but for rotation of this cube is what I'm looking for. Other option to do this would be to have some offset on the view.hlookat or view.vlookat but as far as I've found there's none.

An example of why this parameters are needed is when view is centered on nadir or cenit, there we don't have a parameter to "lean cam left or right".

Thanks!

Tuur

Sage

Posts: 3,111

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Saturday, May 5th 2018, 7:22pm

Hi,

maybe this helps you?

Source code

1
<image prealign="0|0|90"> ... blabla


see here: https://krpano.com/docu/xml/#image.prealign

example; http://www.virtualtuur.com/krpano/prealign/1/

or

maybe you mean: https://krpano.com/docu/xml/#view.camroll
??


Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

360boy

Intermediate

  • "360boy" started this thread

Posts: 221

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Send private message

3

Saturday, May 5th 2018, 9:59pm

Hello Tuur,

I know that one but in this case it doesn't work as it can't be adjusted dynamically. Camroll as well doesn't work as what is needed is to adjust some offset in pitch and yaw, roll doesn't make much sense there to get the "head follow" effect.

Best

4

Friday, May 11th 2018, 11:33am

Hi,

I understand what you mean - there will be additional viewing rotation variables in one of the next releases.

Best regards,
Klaus

360boy

Intermediate

  • "360boy" started this thread

Posts: 221

Location: Mexico City

Occupation: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Send private message

5

Saturday, May 12th 2018, 7:51pm

Excelent, many thanks Klaus!