Is it possible to draw 3d line on panorama?

  • Hi, everyone!

    Does anybody know how to draw 3 dimensional line on panorama?
    When I use polygonal hotspot to draw line, it has only 2 properties for coordinates ( ath,atv ).
    And it has no property about 3 dimensional rotation. ( rx,ry,rz properties are only for image hotspot )

    If there is no way to draw 3d line by default function, I want to create new plugin for this purpose.
    Is it possible to create this only with AS3 interface ?
    ( Can I access to KRPano screen to draw line from AS3 plugin ? )

    Please help me.

    mata

  • Hi,

    If there is no way to draw 3d line by default function, I want to create new plugin for this purpose.

    No, the 3d line would need to first clipped to the 3d viewing frustum, then projected to the 2d screen coordinates and then the 2d line could be drawn. Basic computer 3D math knowledge would be definitely required here. But the krpano interface itself for doing that are there.

    Zitat

    Is it possible to create this only with AS3 interface ?

    Yes.

    ( Can I access to KRPano screen to draw line from AS3 plugin ? )

    Yes:
    https://krpano.com/docu/xml/#image.layer

    Best regards,
    Klaus

Jetzt mitmachen!

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