You are not logged in.

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

21

Friday, September 18th 2009, 2:28am

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

Friday, September 18th 2009, 10:38am

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

Quoted

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

nelk

Intermediate

Posts: 358

Location: Paris

  • Send private message

23

Wednesday, October 21st 2009, 1:04pm

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

Wednesday, October 21st 2009, 3:58pm

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

Trainee

Posts: 69

Location: Paris, France

Occupation: Game Developer and Photographer

  • Send private message

25

Friday, January 11th 2019, 3:15pm

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

Sage

Posts: 3,103

Location: Netherlands

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

  • Send private message

26

Friday, January 11th 2019, 4:31pm

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

Trainee

Posts: 69

Location: Paris, France

Occupation: Game Developer and Photographer

  • Send private message

27

Monday, January 14th 2019, 2:52pm

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.