Scaling images in the skin keeping aspect ratio?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
benmckaydesigns
Posts: 13
Joined: Wed Dec 21, 2016 11:49 am

I recently asked on a pano5vr video tutorial about keeping the aspect ratio on a scaleable image. I was advised to insert it though media. The problem is I want my image to be a PLAN on my SKIN with position NODES to go from place to place, and I want these plans to scale without deforming depending on screen size and the nodes to stay in the right place.

Any solution? Thanks
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
If your using Pano2VR 5,1 beta use the ht_image component.
Have a look at this video.


This uses the external loader that will keep the images aspect ratio.
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/
benmckaydesigns
Posts: 13
Joined: Wed Dec 21, 2016 11:49 am

Hi thanks for the reply, but the image I want to keep aspect ratio is a plan on the skin with tour nodes.

Thanks!
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
If you use scale rather than size then it should keep the the same ratio.
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