I'm developing AutoCAD like application in C++.I have implemented the basic functions such as pan,zoom and select.But it's very slow because when the mouse moved or zoomed,I must calculate the new position of all the elements and then redraw them. enter code hereTo increase the speed of redraw I used a space partitioning technique which divides the space in regions or quadrants and redraw the elements only if they are in the region showing in the current viewport,what's more,when the elements are too small to see,they are ignored in the process of redrawing,this is the so-called LOD. Despite this,the speed is slow all the same. How can I increase the speed of redraw? Or I can't redraw at all. How does AutoCAD achive this? what exactly does AutoCAD do?
How can I increase the speed of redraw in AutoCAD like app
196 Views Asked by tangshuji At
0
There are 0 best solutions below
Related Questions in PERFORMANCE
- Slow performance on ipad erasing image
- Can Apache Ant be told to cache its XML files?
- What are the pros and cons of the picture element?
- DB candidate as CouchDB/Schema replacement
- python member str performance too slow
- Split a large query (2 days) into pieces to increase the speed in Postgres
- Use GUI displayed results of SQL query vs new queries?
- fastest way to map a large number of longs
- Bash regular expression execution hangs on long expressions
- Why is calling a function so slow in Javascript?
- Performance of element-compare in java collections
- "Capture GPU Frame" in XCode -- iOS only?
- Efficiency penalty of initializing a struct/class within a loop
- Change the rotating speed of the circle when the mouse moves using javascript
- Replace foreach to make loop into queryable
Related Questions in REDRAW
- Openlayers-3 Force a map refresh
- how to specify the height of scrollbar in QTreeView
- Photoshop redraw issue in JSX modal window when adding dynamic text fields
- Vim - zt will redraw the window with the cursor at the top. Can you redraw with it say, 4 lines down?
- Highcharts redraw not working with alignTicks
- How to navigate page with Vaadin menubar?
- Redraw issue with UITableView using Objective C and Xcode 6
- How can I increase the speed of redraw in AutoCAD like app
- Redraw and resize canvas, on mouse drawing
- Android - How to find a Rect after a zoom
- Blackberry scrolling doesn't redraw fields
- Stop JScrollPane from redraw JPanel
- Items not drawing on Resize of Viewbox, Silverlight
- Redraw Drawable by timer using invalidateSelf() not working
- Cocoa: CALayer: continuous redraw of a view continuously increases allocated memory
Related Questions in CAD
- PowerPoint (or Excel) VBA Capture Coordinates of Mouse Click
- How to properly filter the different actions that may result from a mouse event?
- DXF file does not open in AutoCAD
- Generate DXF drawing in Java
- CAD secondary development
- Determine master point (key point) of 3D polygon, shape, surface
- Programmatically Creating CAD Files
- How can I increase the speed of redraw in AutoCAD like app
- DXF image entity group code explanation
- Data structure for CAD program. Mouse picking and rendering with one data
- There's any way to overlay an Image over autocad by holding some key?
- CAD mechanical bonds and kinematics
- Working with dynamic blocks in C # (for AutoCad)
- Reading STEP properties with pythonocc
- Creating free empty space between two planes in Solidworks
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?