Debian Codegraph @

docs/bugs/performance_enhancements/20050630--SoLocateHighlight-implementation-is-inefficient.txt

raw
1 202 SoLocateHighlight implementation is inefficient.
2
3 Our implementation of the SoLocateHighlight is quite inefficient,
4 re-rendering the whole scene -- instead of just the part(s) that
5 should be highlighted.
6
7 A better implementation would perhaps just re-render the selected
8 geometry to the OpenGL front buffer after the scene was rendered
9 once.
10
11 This problem reduces the value of an otherwise very useful node.
12
13 20050630 mortene.
14
15 UPDATE 20060130 mortene:
16
17 I'm not sure whether or not we actually *want* to render to the
18 front buffer -- couldn't just "grabbing" the front-buffer
19 resource bring along other problems?
20
21 Also, is this optimization really useful? I can't see it make
22 much difference unless there is so much geometry in the scene
23 that a full re-render takes a lot of time -- and a lot more than
24 just rendering the highlighted part(s). And if the application
25 has that problem, it usually has other, more pressing issues to
26 take care of anyway -- like getting "normal" rendering to be
27 faster.
28
29 UPDATE 20060210 mortene:
30
31 According to larsa, TGS has implemented something else which
32 helps with this typical CAD-type application problem, something
33 they call "FastRender" or "FastEdit" or something like
34 this. Should investigate if that is perhaps a better solution
35 than just fixing SoLocateHighlight rendering.