Blender Git Loki

Git Commits -> Revision 63ec900

Revision 63ec900 by Joshua Leung (master)
November 16, 2014, 10:32 (GMT)
[T40792] Optimisations for FCurve Drawing - Lower sampling precision when "High Quality" drawing disabled

When the "High Quality Line Drawing" option (View menu) is disabled,
the sampling rate (i.e. the size of timesteps to use when sampling
the FCurve for drawing it in most cases now) is set to be quite low
(i.e. at 0.1 frame increments). This amounts to at most 10 sub-steps.

In one test file (with a wide window), this had the effect of improving
the performance by over 3x. It's still not as good as a sampling-free
approach, but for this functionality is still needed for FModifiers,
so it's better that we can optimise this.

Commit Details:

Full Hash: 63ec900af9a15443b74458462b55ce563bba721a
Parent Commit: 38f2f4c
Lines Changed: +21, -2

1 Modified Path:

/source/blender/editors/space_graph/graph_draw.c (+21, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021