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 answers
Related Questions in PERFORMANCE
- Upsert huge amount of data by EFCore.BulkExtensions
- How can I resolve this error and work smoothly in deep learning?
- Efficiently processing many small elements of a collection concurrently in Java
- Theme Preloader for speed optimization in WordPress
- I need help to understand the time wich my simple ''hello world'' is taking to execute
- Non-blocking state update
- Do conditional checks cause bottlenecks in Javascript?
- Performance of sketch drastically decreases outside of the P5 Web Editor
- sample query for review for improvement on big query
- Is there an indexing strategy in Postgres which will operate effectively for JOINs with ORs
- Performance difference between two JavaScript code snippets for comparing arrays of strings
- C++ : Is there an objective universal way to compare the speed of iterative algorithms?
- How to configure api http request with load testing
- the difference in terms of performance two types of update in opensearch
- Sveltekit : really long to send the first page and intense CPU computation
Related Questions in REDRAW
- When scrolling in a Menu - Picker, releasing the tap mid-scroll causes it to keep jumping to the top
- Call windows explorer to refresh recycle bin filename
- NSView display causes immediate drawRect call, but subviews changes not shown untill the next NSApp loop step
- Apexcharts <svg> attribute height: Expected length, "NaN" when loading other page
- How to update content of child window (c++) even if window size does not change
- What steps need to be taken to delete previously drawn objects when the rectangle for user interaction is shifted to a new position?
- Chartjs not rendering when legend display true
- When I minimize the window and restore it again the window has a black background, I can't figure out why
- How to design an efficient view model for SwiftUI?
- Prevent SwiftUI redrawing all subviews
- progress bar not update when read firebase records
- Update bitmap on button click
- Is it normal a stateful widget is called at each frame?
- how to be sure that the visualization is updated with css changes via javascript?
- Speeding up the zoom and zoom function of the map drawn with Javascript canvas
Related Questions in CAD
- Incorrect ARC dimensions showing up in ezdxf
- How do CAD applications handle out-of-range characters in SHX fonts?
- Autodesk RCP, RCS files reading
- I am trying to write a sanskrit mantra on autocad. When I preview the text, it is correct but as I plot the file to pdf, the 'maatra's' change
- Hexahedral mesh creation and adjustment for modeling of a 3D printing process
- Editing arc Normal Z within LW polyline in AutoCAD without exploding polyline
- Possible algo or approach to solve this type of floorplanning problem?
- Get all entities inside or crossing a given closed polyline using Ezdxf Python
- Read header dwg file format
- How to use the SIEMENS NX's "NXOpen" API in Python?
- Getting Boundary Edge of a Face on a Trimesh Object
- Detect rooms/enclosed spaces from List of Boxes
- Cadquery: how to create holes on multiple faces of a box?
- GSTARcad transient graphics
- Extracting occlusion data for blocks inside a dxf file
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?
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)