AnsweredAssumed Answered

flying graphics in 3D

Question asked by norbert.thoden on Sep 24, 2018
Latest reply on Sep 26, 2018 by norbert.thoden

I create two objects (triangle and circle) with a text associated on a GraphicsOverlay added to a scene (3D).
Here is the topview:

top view

 

If i modify the view by mouse, i recognized that the graphics are flying - thought the z component of the coordninates are zero!

Note: the text "A1" and "A2" located next to the geometry, they don´t "fly":

The expected view looks like:

 

Here some parameters of the GraphicsOverlay:

  • RenderingMode::Dynamic,
  • SurfacePlacement::Draped
  • DictionaryRenderer assigned

 

As workaround i removed the problematic GraphicsOverlay (one of about 15) and re-insert that immediately:

int curIdx = model->indexOf(graphicalOverlay);
model->removeOne(graphicalOverlay);
model->insert(curIdx, graphicalOverlay);

 

I tried to create a sample code to reproduce this effect, but until now without success.

Has someone else encountered this effect?

 

Thx

Outcomes