Problem: polygon hotspot changing inside out

  • Hello,
    i have a problem with the definition of big polygonal hotspots. I want to use a polygon with an extent of 251 degree horizontally and 25 degree vertically. this polygon lays on the horizon line (may atv ~ 0).


    the only problem is that the inner and outer polygon is the seemingly not clearly defined. in the computer graphics, the inside / ouside of the points is determined using something like the sequence (clockwise, counterclockwise). in the interactive krpano system it may happen, that the actual outer, is assumed to be inside.


    here is an example:

    http://www.rundherum3d.de/panoramen/polytest/


    if you are looking to the skyline, in almost all cases the polygon is displayed correctly. However, if you look at the glazed turret, the polygon is turned around. Here is the unexpected error.

    if someone could help me with this problem, i would be very grateful.

    thanks

  • Hi,

    more than 180° degree coverage is currently not possible for polygonal hotspots.

    The reason is that the hotspot sphere coordinates will be projected to screen coordinates during rendering, there is no tesselation or converting to a 3d model before.

    But that's already planed for the webgl rendering support - to render the polygonal hotspots via webgl it's internally necessary to tessellate them into triangles (into a 3d model) - and by this also hotspots larger than 180° would become possible.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!