I have began this period by going through and adhering to the BRL-CAD Summer of Code/Checklist
- Working on replacing the FreeWRL dependency on automake to cmake and generate a shared library from src/lib of the FreeWRL source code.
- Resolving linking issues with shared library generated from src/lib of the FreeWRL source code.
- Resolving FreeWRL X3D parser dependence on libxml(may need to set compilation as optional in order not to break the BRLCAD build process)
- Trying to finalize work on shared library generation from src/lib of the FreeWRL source code.
- Still working on resolving issues with shared library
- Finished generating shared library
- Studying the FreeWRL thread implementation
- Still studying the FreeWRL thread implementation to resolve issues
- Testing functionality of the shared library
- I was not able to do much work today due to lack of electricity through out the day
Time put in 3 hours
- Doing more research on the FreeWRL thread implementation to resolve issues
- Futher testing functionality of the shared library (writing code to parse input file)
- As a GDGBuea organiser, I spend most of the day hosting the Google I/O with other organisers for the GDGBuea community
- I would makeup for lost time today and yesterday by putting in more hours the following days
Time put in 3 hours
- Made progress with debugging and just realised that issues (SIGSEGV) are as a result of improper casting with structures and thus poor memory allocation.
- I spent alot of time today working on the issues but have not yet full resolved it.
Time put in 6 hours
- Resolved issues(SIGSEGV) which were as a result of improper memory access.
- Futher exploited FreeWRL source code to learn more on how to implement the parser
- Futher exploited FreeWRL source code to learn more on how to implement the parser(need to understand how to retrieve nodes from scene graph)
- Working on futher understanding the FreeWRL parser
- Finalizing on futher understanding the FreeWRL parser
- Successfuly built FreeWRL within brlcad src/other
- Started implementing load() function for X3D parser
- Futher work implementing load() function for X3D parser
- Futher work implementing load() function for X3D parser (ensures that nodes and properies are parsed properly)
- Working on load function
- Working on load function
- Implemented init_res() function in FreeWRL to intitialize all required resources
- Started work on main() function for the x3d parser
- Finalized work on init_res() function in FreeWRL to intitialize all required resources
- Did more work on main() function for the x3d parser(basic input and outfile handling)
- Started working on parse_scene() used to traverse the node of the scene-graph and retrieve properties
- I did not do any coding today as I have been trying to figure out an efficient way to implement the conversion routines and also extract the nodes and their properties from the root node
- Read the HACKING BRL-CAD again paying attention to note on global variables
- Continued work on parse_scene() taking into consideration what I learn from reading the HACKING guide.
- Started work on the do_color() function which is called by parse_scene() to assign color values to shape nodes
- Working on convert() function in FREEWRLwrapper
- Futher work on convert() function in FREEWRLwrapper
- Futher work on FREEWRLwrapper, ensuring PROTO(userdefind type nodes) are handled properly
- I did not do any work today as I had lots test to do at school, giving the teachers are rush to give us our first assesment before the exams start next week.
- I would make up for this time After my exams
No work done 0 on 5 hours put in.
- So far I have not been able to work on my project due to some school work. This means I have lost about 20 hours from the 18-20(today) of June, given that I had to put in about 10 on saturday as stated on my proposal.
- I would make up for this by working for about 15hours tomorrow and then the rest would be covered after my exams.
- Futher work on convert() function in FREEWRLwrapper (implementing do_transforn() function as helper function to convert())
- Spent more than six hour trying to relsolve issues with x3d ROUTE and Script node which depened on javascript for scene-graph animations.
- Since this nodes would not be imported into BRL-CAD they would be no need to parser them and their javascript dependency which would need to be handled with care given the way FreeWRL parses input.
- Further work on node transformation (implementing transform_points())
- I am unable to work consistenly as I am begining with me exams tomorrow so would just try to clean up the work I have done to far in preparation for mid-term evaluation.
- Could not do any work today because of my exams
- Cleaned up and modified cmake files
- Redefined OpenGL types making it possible for the code to compile without OpenGL dependencies.
- Cleaned up code and uploaded patches to github.
1.) https://github.com/djkonro/GSoC2015/blob/master/x3d_parser.patch
2.) https://github.com/djkonro/GSoC2015/blob/master/freewrl.patch
- I was unable to do any work because of my exams
- Given the fact that I made the effort to put in more than 45hours a week before this period I would have made up for some of this lost time and I would also put in more time after my exams to meet up with my project.
- Finished my exams today
- Started working on issues identified by my mentor
- Handled parsing for Indexedfaceset
- Started working on BRLCADWrapper.c
- Figured out an efficient way to handle script nodes
- Implementing and testing solution