Latest revision |
Your text |
Line 532: |
Line 532: |
| * Fixed the orientation of the heart and invalid implicit equation in rt_hrt_shot() in [http://sourceforge.net/p/brlcad/code/57533/ r57533]. | | * Fixed the orientation of the heart and invalid implicit equation in rt_hrt_shot() in [http://sourceforge.net/p/brlcad/code/57533/ r57533]. |
| | | |
− | * Getting better results from rt_hrt_shot in this [http://brlcad.org/~Izak/Heart.mpg Heart movie]. | + | * Getting better results from rt_hrt_shot in this [ Heart movie]. |
| | | |
| * Observing the rt_ell_plot() functions to see how the rt_hrt_plot() can be written. | | * Observing the rt_ell_plot() functions to see how the rt_hrt_plot() can be written. |
− |
| |
− | September 14th
| |
− |
| |
− | * Corrected rt_hrt_bbox() by Stretching the xdir vector to accommodate the heart and rt_hrt_norm() by Correcting Z component of the normal vector (partials of sextic equation) in [http://sourceforge.net/p/brlcad/code/57653/ r57553].
| |
− |
| |
− | =September 16th to September 21st=
| |
− |
| |
− | September 16th
| |
− |
| |
− | * Had an entretien with my University's Vice- Chancellor and dean of Faculty of Engineering today talking about Summer of Code and approaching Doc Camp .
| |
− |
| |
− | * Wrote a private helper function rt_hrt_24pts() for rt_hrt_plot(). Have written code to get 2 iso-contours. Still working on some bugs in archer.
| |
− |
| |
− | September 17th
| |
− |
| |
− | * Following the stack trace which Sean opened my eyes to on IRC.
| |
− |
| |
− | September 18th
| |
− |
| |
− | * Fixed the bumpy areas on the heart by correcting some code in rt_hrt_norm() in [http://sourceforge.net/p/brlcad/code/57728/ r57728].
| |
− |
| |
− | September 20th
| |
− |
| |
− | * Corrected the rt_hrt_norm() function so that the default trace shouldn't be doing from high specular to dark shadows in [http://sourceforge.net/p/brlcad/code/57780/ r57780].
| |
− |
| |
− |
| |
− | =GSoC 2013 summary=
| |
− |
| |
− | For the past quarter, I've been implementing a heart primitive for the BRL-CAD package. This project focused on writing and testing callback functions in the ray tracing library for the aforementioned primitive.You are invited to read my diary on http://brlcad.org/wiki/User:Izak/GSOC_2013_logs.
| |
− |
| |
− | Despite the challenges I encountered such as the lack of Internet connectivity for over 5 weeks before the mid-term evaluation period, I hooked the heart primitive into the BRL-CAD source by adding a magic number for the heart in include/magic.h and src/libbu/magic.c, stubbing an empty heart in include/db5.h, include/rtgeom.h, include/raytrace.h,src/librt/db5_types.c,src/librt/primitives/table.c and src/librt/primitives/hrt/hrt.c as well as adding typing support for the heart in the mged interface in include/wdb.h,src/libwdb/wdb.c and src/libged/typein.c.
| |
− |
| |
− | After the mid-term evaluations,I implemented ray tracing callback functions for serialization (rt_hrt_??port), textual description (rt_hrt_describe, rt_hrt_print) and ray tracing (rt_hrt_prep, rt_hrt_shot and rt_hrt_norm).I also wrote a test to ensure that BRL-CAD's root solver is stable for sextic equations and after consulting some mathematicians, I learned that the heart's sextic equation cannot be solved in radicals -- A pointer to which method does not work :). Feel free to download a heart animation from http://brlcad.org/~Izak/HeartImages/Heart.mpg. You can also look at images of the heart from 360 different angles using http://brlcad.org/~Izak/HeartImages/
| |
− |
| |
− | As GSoC 2013 comes to an end, my passion to continuously contribute to the open source community grows. I intend to finish the callbacks functions for the heart primitive and hook the heart to the mged and archer interfaces so the heart gets into the next BRL-CAD release :)
| |
− |
| |
− | Feeling Great! :)
| |