Sie sind nicht angemeldet.

21

Freitag, 18. September 2009, 02:28

Hi lorth22,

Yes, I speak Spanish a lot better than English. *g* ( all the time going to translators). Perhaps it is better to go with private message then.

This is for an investigation program.
What about this?

In any case, I am curios in seeing the final result you have when it. Until then ;-)

Saludos.

22

Freitag, 18. September 2009, 10:38

Hi,
Hi KLAUS,

Doing the example above, I have noticed a few things: *rolleyes*
  • It seems that each distorted hotspot needs to have his own mask. *attention* even if the mask is the same mask for each hotspot. I have tried to mask each hotspots with the same plugin as mask but it does not work. ( in the example above I use the same mask file for each hotspot )
yes, I have noticed the same,
a mask can unfortunately only be used for ONE other object...

it was also documented in the flash as3 docs:
http://help.adobe.com/en_US/AS3LCR/Flash…bject.html#mask

Zitat

Note: A single mask object cannot be used to mask more than one calling display object. When the mask is assigned to a second display object, it is removed as the mask of the first object, and that object's mask property becomes null.
a solution could be to group the hotspots together in one displayobject, but this will requires bigger changes in the viewer,
maybe in one of the next versions...


It seems that, when fisheye is used, distorted hotspots are not "well distorted"as they are when normal projection is used. *attention* You can notice this yourself on the example above: enable a cube button and disable his mask, then switch between normal view and fisheye view... In normal view the cube hotspot match perfectly with the background... In fisheye view the cube hotspot match near perfectly with the background but there is little differences. *wacko*
rights, it's the the "sub-division" (press TAB to see it)
it is different between the pano and the hotspot,
the sub-division of the pano can be changed via the "display.details",
but the sub-division of the hotspot is fixed at the moment (I will make it adjustable soon)

best regards,
Klaus

23

Mittwoch, 21. Oktober 2009, 13:04

Hi,

now - why does it reach this limit of 2880 pixels, when using Flash10 (and no fisheye distortion), then there were very large triangles used (see them by pressing TAB), there are clipping offscreen of course, but Flash counts the "real" size for converting to bitmap,


This 2880 pixel are "equal" to the cubeface before making multires I guess ??

Maybe, it could be a good idea to show this value in the editor too ?

Regards,
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

24

Mittwoch, 21. Oktober 2009, 15:58

This 2880 pixel are "equal" to the cubeface before making multires I guess ??
Hi, no, that's something different, that's an limit for bitmaps in flash,
flash internally creates automatically (not controllable) a bitmap for a object when a mask was used on it,
and for the size calculation for this bitmap it also counts not visible (out of screen) parts,
the solution for this problem was manually clipping and will be done soon...

best regards,
Klaus

Anoril

Schüler

Beiträge: 62

Wohnort: Paris, France

Beruf: Game Developer and Photographer

  • Nachricht senden

25

Freitag, 11. Januar 2019, 15:15

Hello!
I'm trying to make use of this mask attribute, but with no success. It seems it is no more available on Hotspots, am I correct?
When I update the sample given by Klaus to 1.19, I just end with a white blured circle wandering arround. :/
How to get it work with 1.19?
Best regards, and all my best wishes for the new year!
Paul
« Quidquid latine dictum sit, altum sonatur »
Pentax stuff.

Tuur

Erleuchteter

Beiträge: 3 032

Wohnort: Netherlands

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

  • Nachricht senden

26

Freitag, 11. Januar 2019, 16:31

Hi,

unfortunately 'Mask' is flash only for now. Not supported in html5 as far as i know.

https://krpano.com/docu/xml/#plugin.mask

Maybe maskchildren can help you hear.(?)

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

Anoril

Schüler

Beiträge: 62

Wohnort: Paris, France

Beruf: Game Developer and Photographer

  • Nachricht senden

27

Montag, 14. Januar 2019, 14:52

Oh, yes!
Thank you Tuur! I thought MaskChildren was only purposed to hide inner stuff, but I realise it evolved and now deal with parent CSS boxing.
This is a bit limitating (to rectangles, rounded-rectangles and circles) but that helps!
Many thanks for the update and to point it out!
Regards,
Paul
« Quidquid latine dictum sit, altum sonatur »
Pentax stuff.