HEG-Arc / HotelKroneHKB

Virtual exhibition for HKB Bachelor's Theses of Art Students 2020
https://hotelkrone.be
Other
0 stars 0 forks source link

Cinema: poi does not appear #23

Closed thelabeljoyves closed 4 years ago

thelabeljoyves commented 4 years ago

there are 2 pois (.jpg & .png) defined for Cinema, yet they do not appear. Need to know where is x=0 y=0 and scale (is it defined by the size in pixel of the background?)

cgaspoz commented 4 years ago

Need to implement #2 in order to work

VenzinJonas commented 4 years ago

Poi image can be placed. A click on the background image gives x (poi -> position x) and y. Image remains at base size for now.

thelabeljoyves commented 4 years ago

positioning works! yet does not scale with background. Link in right margin jumped at bottom of page.

VenzinJonas commented 4 years ago

it's scale now ! To scale correctly, it is necessary to fill (Position w & Position h )in percentage compared to the background image exemple my img h:100 & w: 200, the background image (orte) h:2000 & w 1000 Position w : (100/2000)*100 = 5 Position h : ( 200/1000) 100 = 20 I already did this for the poi in cinema.