1.19pre release : how to reset the display.hotspotrenderer ?

  • Because if I use display.hotspotrenderer 'webgl' and I have a rotated spot when I set display.hotspotrenderer to '' (empty) the spot is redraw probably into css3d but without the original rotation.

  • Hi,

    this setting is special optimization for the pre-release example, it shouldn't be used in normal cases and will be probably removed in the final version. The current possible settings for 'displayhotspotrenderer' are 'auto', 'webgl' or 'css3d'.

    By forcing displayhotspotrenderer=webgl already at the beginning it can be avoided that the hotspot graphics will be also loaded to CSS and that saves a bit of memory.

    When stereo rendering is enabled (display.stereo=true) then automatically only the WebGL hotspot rendering will be used, because with CSS3D it wouldn't possible to render the same object two times without duplicated the related HTML DOM.

    About the rotating - the WebGL hotspot rendering support is incomplete yet.

    Best regards,
    Klaus

Jetzt mitmachen!

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