You are not logged in.

benji33

Intermediate

  • "benji33" started this thread

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

1

Wednesday, April 22nd 2015, 5:44pm

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.

2

Tuesday, April 28th 2015, 12:49pm

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