Latest revision |
Your text |
Line 17: |
Line 17: |
| *Raytracing | | *Raytracing |
| *Embedding a framebuffer window | | *Embedding a framebuffer window |
− |
| |
− | =Progress reports=
| |
− | *Midterm evaluation report can be found [http://brlcad.org/wiki/User:Vladbogolin/GSoC2014/Midterm here]
| |
− | *Project summary can be found [http://brlcad.org/wiki/User:Vladbogolin/GSoC2014/summary here]
| |
| | | |
| =Logs= | | =Logs= |
Line 127: |
Line 123: |
| *23 June: | | *23 June: |
| **Worked on raytracing from the display manager. | | **Worked on raytracing from the display manager. |
− | *24 June:
| |
− | **Break day.
| |
− | *25 June:
| |
− | **Created the midterm report that can be found [http://brlcad.org/wiki/User:Vladbogolin/GSoC2014/Midterm here]
| |
− | *26 June:
| |
− | **Processed events so that the output is displayed line by line
| |
− | **Fixed the upside down drawing problem:
| |
− | : http://imgur.com/hOIryrt.png http://imgur.com/h3TLREb.png
| |
− | *27 June:
| |
− | **Break day.
| |
− | *28 June:
| |
− | **Started modifying the fbio interface in order to add a generic open_existing entry.
| |
− | *29 June:
| |
− | **Mostly a break day.
| |
− |
| |
− | ==Week 7==
| |
− | *Time spent preparing my final project
| |
− |
| |
− | ==Week 8==
| |
− | *Weekly milestone:
| |
− | **Finish modifying the interface in order to use the open_existing function
| |
− | *7-8 July:
| |
− | **Had my final paper presentation. Now I can focus only on GSoC for the rest of the summer.
| |
− | *9 July:
| |
− | **Added a new entry in struct dm so that the framebuffer can be opened from libdm. This is necessary in order to avoid using qt code in mged/dm-qt and also can be used for refactoring dm related code from mged folder.
| |
− | **Added the _qt_open_existing function in fb.h. This is a temporary solution until a final form of the function is implemented. In the end a new entry will be added in the fbio interface.
| |
− | **Opened the framebuffer from the display manager, but at the moment there are two different windows.
| |
− | *10 July:
| |
− | **Continued working at the open_existing function. Hopefully it will be done by the end of the week.
| |
− | *11 July:
| |
− | **Struggled more with the embedding of a framebuffer window.
| |
− | *12 July:
| |
− | **More struggle regarding the display of raytraced objects from the display manager.
| |
− | *13 July:
| |
− | **Mostly a break day.
| |
− |
| |
− | ==Week 9==
| |
− | *Weekly milestone:
| |
− | **Finish the embedding of a framebuffer window
| |
− | *14 July:
| |
− | **Worked at the actual embedding of a framebuffer window - still couldn't find a working solution
| |
− | *15 July:
| |
− | **Did a deeper research on how the existing implementation is done. Still couldn't find a way do display content in the embedded window.
| |
− | *16 July:
| |
− | **Break day
| |
− | *17 July:
| |
− | **After a lot of struggle, I have finally found a solution that seems to solve all the problems. Hopefully tomorrow there would be content displayed in the embedded framebuffer window.
| |
− | *18 July:
| |
− | **After using a QPainter to draw the raytraced content in the existing window, content can be displayed so I am on the right track with the embedding. There still are some fixes that need to be done: when the raytracing is done the drawn content disappears and also a few fixes regarding the position of the drawn image are necessary.
| |
− | *19 July:
| |
− | **Tried to solve the problems regarding the embedding so I did a little more research on why the content disappears but with no luck yet.
| |
− | *20 July:
| |
− | **Tried to solve the problem regarding the position of the drawn image.
| |
− |
| |
− | ==Week 10==
| |
− | *Weekly milestone:
| |
− | **Have a working framebuffer.
| |
− | *21 July:
| |
− | **Implemented the configureWindow function.
| |
− | **Continued trying to solve the problem regarding the position of the drawn image - still no luck.
| |
− | **Redesigned the write function in order to solve the display problem - there still are some fixes that need to be made.
| |
− | *22 July:
| |
− | **Continued working at the new write function.
| |
− | *23 July:
| |
− | **Solved the display problem - now correct drawings can be made in the embedded framebuffer window:
| |
− | [[File:Mged_fb.png|500px]]
| |
− | [[File:Mged_fb2.png|500px]]
| |
− | *24 July:
| |
− | **Tried to find out why the image disappears after is drawn in the embedded framebuffer window - more research needs to be done since I haven't found the problem.
| |
− | *25 July:
| |
− | **Break day
| |
− | *26 July:
| |
− | **Break day
| |
− | *27 July:
| |
− | **More research regarding the disappearing of the drawings - found the problem (after the raytracing the dm redraws the entire window and the raytraced content erases in this way) and tried to come up with a solution.
| |
− |
| |
− | ==Week 11==
| |
− | *28 July:
| |
− | **Continued trying to solve the disappearing problem.
| |
− | *29 July:
| |
− | **Solved the disappearing problem. The framebuffer is almost done - there still are some fixes and tests that need to be made.
| |
− | *30 July:
| |
− | **Break day.
| |
− | *31 July:
| |
− | **Mostly a break day.
| |
− | *1 August:
| |
− | **Made some fixes regarding the embedding of a framebuffer window.
| |
− | **Tested the embedding with different models - found some problems that need some further investigation (at some point the display manager crashes)
| |
− | [[File:Mged_fb3.png|500px]]
| |
− | [[File:Mged_fb4.png|500px]]
| |
− | *2 August:
| |
− | **Investigated to see why the display manager sometimes crashes using valgrind.
| |
− | **Started working at solving the invalid memory access.
| |
− | *3 August:
| |
− | **Mostly a break day.
| |
− |
| |
− | ==Week 12==
| |
− | *4 August:
| |
− | **Continued working at the invalid memory access problems - now everything works as expected.
| |
− | *5 August:
| |
− | **Implemented the qt_clear function.
| |
− | **Made the display manager show only non-empty images (after the raytraced content is added to the image)
| |
− | *6 August:
| |
− | **Integrated the fb in archer:
| |
− | [[File:Archer_fb.png|500px]]
| |
− | [[File:Archer_fb2.png|500px]]
| |
− | *7 August:
| |
− | **Did some testing to see that everything works as expected including the underlay, interlay and overlay modes
| |
− | *8 August:
| |
− | **Implemented the qt_read, qt_readrect and qt_writerect functions.
| |
− | **Integrated mouse events.
| |
− | *9 August:
| |
− | **Mostly a break day
| |
− | *10 August:
| |
− | **Documented about colormaps.
| |
− |
| |
− | ==Week 13==
| |
− | *11 August:
| |
− | **Started working at qt_wmap and qt_rmap.
| |
− | *12 August:
| |
− | **Implemented the qt_rmap and qt_wmap functions.
| |
− | *13 August:
| |
− | **Mostly a break day.
| |
− | *14 August:
| |
− | **Just some small fixes.
| |
− | *15 August:
| |
− | **Added a simple keyboard event
| |
− | **Written a project summary which can be found [http://brlcad.org/wiki/User:Vladbogolin/GSoC2014/summary here]
| |