Positioning + Scaling

Q&A about the latest versions
Post Reply
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

First of all: I think an extended tutorial on positioning in Pano2VR is overdue.
The system is not really intuitive and it takes a long way and many try & errors to understand it on ones own.

That said, I today stumbled upon an issue that I could not yet solve on my own, so I'm asking the experts:

I have a floorplan for navigation.
The floorplan, when in use, is centered on the screen.
When clicked it shall be scaled to 20% of it's size and move down to stay in the bottom left corner.
When clicked again it scales up to 100% and moves back to the center of the screen.

And it has to do that on all devices.

Writing the actions is not an issue, but selecting the right positions and anchors is a big problem for me. Why?

While I figured how to get each single function working, my attempt to combine both always delivers erratic results.
Last edited by JSchrader on Thu Dec 07, 2017 10:19 am, edited 1 time in total.
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

I've been doing quite a bit of work creating virtual tours that operate on a variety of different devices and I ran into the same issue you are having. I was punching in some numbers, checking it and trying to work out what was going on.

In the end I made a number of layouts in InDesign using the grid in relationship to different devices. I could then position elements and see from the application the size and position for them on a particular device.

You can see a sample of one of the screens in this post viewtopic.php?f=6&t=12299&p=50907&hilit=indesign#p50907

I've been meaning to do a tutorial about it but time keeps slipping away.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

The BIG problem here is that for scaling and positioning in the left bottom corner with responsive design, one would have to use the bottom left corner anchor point on both scling and positioning. But, as far as I can see, this prohibits positioning on the screencenter in a predictable way. And vice versa. I can position and scale it in the center on all devices by using the center anchor point but then it will not be possible to scale it properly into the left bottom corner.
I wish the DEVELOPEEEEER ! ! ! could either confirm that or provide a solution :-)
JSchrader
Posts: 141
Joined: Sat Nov 28, 2015 2:26 pm

It's a logical problem, because when an element is anchored in the center it has a relative position to all sides, but when it is in anchored in a corner, it needs to have a fixed position to two sides. No surprise that doesn't work together ^^
I have an idea fo a workaround and will see if that works.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI Guys,
Position is currently being rewritten for V6.0.
This should make doing things like this easier.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply