![]() the dimension tools and also the working of the modify tools. Completing the working of all the basic draw tools.Make required changes on the basis of reviews.Take more reviews for my work from the mentors.Getting started with the drawing of the cad tools.Working of the zoom feature and testing of the proper scaling according to the zoom.Working of the scrollbars and printing of the grid according to the scroll amount.Dynamic saving and printing of the current coordinates of the mouse.Creating a mouse pointer of particular shape and making it's movement in sync with the movement of the mouse.Also adding scrollbar for horizontal and vertical scrolling up to some extent.basic grid and setting camera coordinates at some initial fixed position. I will look at the other implementations of my proposed task and learn about their implementation and get started with it.I will try to complete the research of the previous implementation of the proposed task and also do with the documentation and description of opengl required in my task) and try to get familiar with the working before this period and move on to creation of basic classes in the code.Tentative timeline of the project over the summer of 2018. Along with this there will be some changes in CMakeFiles.txt because these tests need to be compiled with OpenGl. There will be changes in unit tests for rendering and comparing ( with some tolerance ) examples from the resources. Working on unit tests for the testing of rendering by OpenGl.Also adding part for compiling using opengl in CMakeFiles.txt and further it would give a choice of compiling Librecad using any of the engine according to user. For the new engine it will check for all dependencies of OpenGl. Currently cairo consists of subdirectory cmake which check for the dependencies i.e.After the release of the mouse, the image of the rectangle dissolves. The particular object gets highlighted along with its reference points. If any object happens to lie completely inside the selected area. On selecting any point on the working area and dragging the mouse pointer a rectangle gets created of different color and the engine keeps on displaying the rectangle of different area as the mouse moves. The shape gets created over the grid which displays and highlights the vertices with small squares and highlights the shape when mouse pointer passes through the shape. On select of any of the tool for UI command line interface displays the arguments for the tool. Working of draw tools such as lines, circles, arcs, etc.On movement of mouse, continuous rendering occurs and renders the image with pointer at new position and also the display of the coordinates of that position. Creating the mouse pointer with the shape as in the earlier code and display of current coordinates of the mouse pointer.On zoom, the engine scales the grid and everything on the drawing area with a particular factor and output the scaled image keeping the center according to mouse pointer where zoom is done. ![]() Adding the feature of zoom in and zoom out to the working area.Implementation of scroll bar (both horizontal and vertical) and set the camera coordinates to fix initial fixed coordinates as the grid is very large to fit in a single screen.Creating the drawing area with the background and adding grid using horizontal and vertical lines that renders when the program begins and display of the image until any changes are made. ![]() Also this task will involve with the changes in the part of Command Line Interface tool that creates the image of the result depending on the command entered and for the testing of the engine task will include some unit tests. ![]() Under the time period of GSoC I would be working on changing the rendering engine which mainly involves the Working Area which contains painter and this will include everything that needs to draw on screen. Right now rendering is done completely using cairo, so my goals will be writing code for the rendering engine in OpenGl ( c/c++ ). It would reduce some dependencies of cairo, GTK, etc and another advantages of using OpenGl is it has lower CPU overhead for draw calls which will make the working of Librecad faster. It’s backend does involves some part of opengl but I would like to change the rendering engine and create a complete implementation of OpenGl for the rendering. Also there are other tools of layers, snap, measure of two points and a command line interface to figure out all the shapes using commands.Ĭurrently rendering of the complete librecad is done using cairo engine. Librecad ( 2D cad application) can be used for drawing all types for basic shapes on a specified grid area with a very good precision in the position and can be used to draw 2D figures using lines, circles, rectangles, arc’s, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |