Page 1 of 1

Positioning + Scaling

Posted: Tue Dec 05, 2017 10:41 am
by JSchrader
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.

Re: Positioning + Sacling

Posted: Wed Dec 06, 2017 12:57 pm
by Tony
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

Re: Positioning + Sacling

Posted: Wed Dec 06, 2017 1:42 pm
by JSchrader
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 :-)

Re: Positioning + Sacling

Posted: Wed Dec 06, 2017 3:11 pm
by JSchrader
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.

Re: Positioning + Scaling

Posted: Fri Dec 08, 2017 5:51 pm
by Hopki
HI Guys,
Position is currently being rewritten for V6.0.
This should make doing things like this easier.
Regards,
Hopki