Editing User:Parth Partani/GSoC18/Project

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 16: Line 16:
 
==='''Detailed Project Description'''===
 
==='''Detailed Project Description'''===
  
* 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.
+
- 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.
  
* 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.
+
- 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.
  
* Adding the feature of zoom in and zoom out to the working area. 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. 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.
  
* Creating the mouse pointer with the shape as in the earlier code and display of current coordinates of the mouse pointer. 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 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.
  
* Working of draw tools such as lines, circles, arcs, etc. On select of any of the tool for UI command line interface displays the arguments for the tool. 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.  
+
- Working of draw tools such as lines, circles, arcs, etc. On select of any of the tool for UI command line interface displays the arguments for the tool. 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.  
  
* Creating of the select feature. 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. If any object happens to lie completely inside the selected area. The particular object gets highlighted along with its reference points. After the release of the mouse, the image of the rectangle dissolves.
+
- Creating of the select feature. 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. If any object happens to lie completely inside the selected area. The particular object gets highlighted along with its reference points. After the release of the mouse, the image of the rectangle dissolves.
  
* Currently cairo consists of subdirectory cmake which check for the dependencies i.e. cairo, pango, GDK, etc. For the new engine it will check for all dependencies of 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.
+
- Currently cairo consists of subdirectory cmake which check for the dependencies i.e. cairo, pango, GDK, etc. For the new engine it will check for all dependencies of 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.
  
* Working on unit tests for the testing of rendering by OpenGl. There will be changes in unit tests for rendering and comparing ( with some tolerance ) examples from the resources. Along with this there will be some changes in CMakeFiles.txt because these tests need to be compiled with OpenGl.
+
- Working on unit tests for the testing of rendering by OpenGl. There will be changes in unit tests for rendering and comparing ( with some tolerance ) examples from the resources. Along with this there will be some changes in CMakeFiles.txt because these tests need to be compiled with OpenGl.
  
 
===Timeline===
 
===Timeline===
Line 39: Line 39:
 
**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.  
 
**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.  
 
**I will look at the other implementations of my proposed task and learn about their implementation and get started with it.
 
**I will look at the other implementations of my proposed task and learn about their implementation and get started with it.
 +
  
 
*Week 1 (May 14 - May 20) :  
 
*Week 1 (May 14 - May 20) :  

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)