This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi Jason, we have a performance issue with gridlines and zooming. When zomming with the mouse wheel the minimum zoomfactor is 0.1. With the slider in the sample app you can zoom to 0.05. At this factor the diagram has so many gridlines that the performance is realy poor even if you reset the zoomfactor to 1. It ssem that the component is calculating all the gridlines on the whole diagram and not only the few that are in the viewport. Thanks Markus |
|
|
Hello Markus I'll have a look into this soon. Resolving the performance will probably involve automatically changing the gridline interval so that it doesn't render so many lines at once. I'll let you know when this is ready. Jason Fauchelle |
|
|
Hello Markus In the next nightly build, the performance of zooming out and then zooming back in will be greatly improved. I have decided not to change the behaviour of rendering many lines for now. I have made a note to improve the performance of the grid when zoomed out far in a future version. One thing you could do for now is change the Vertical/HorizontalSnapSpecifier properties to increase the distance between the grid lines when zoomed out. Jason Fauchelle |
|
|
Unity3D and most 3d program's handle this well - they have a major and minor gridline, where the minor is at a fixed interval, and the major is every nth. When you zoom out far enough that the major appears at an equal or smaller interval as the minor, they become the minor. It's best shown visually ;) |
|
|
Hi George I certainly plan on adding this kind of logic in the next version to improve the performance. Jason Fauchelle |
|