Difference between revisions of "User:Konrado DJ/GSoc2015/logs"

From BRL-CAD
(28 JUNE 2015)
(28 JUNE 2015)
Line 186: Line 186:
  
 
===28 JUNE 2015===
 
===28 JUNE 2015===
- Cleaned up code and uploaded to github.
+
- 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

Revision as of 13:36, 28 June 2015

GSoC 2015 development logs

Community Bonding Period

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.

Coding Period

25 MAY 2015

- 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)


26 MAY 2015

- Trying to finalize work on shared library generation from src/lib of the FreeWRL source code.

- Still working on resolving issues with shared library


27 MAY 2015

- Finished generating shared library

- Studying the FreeWRL thread implementation

28 MAY 2015

- 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

29 MAY 2015

- 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


30 MAY 2015

- 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


31 MAY 2015

- 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

1 JUNE 2015

- Futher exploited FreeWRL source code to learn more on how to implement the parser(need to understand how to retrieve nodes from scene graph)


2 JUNE 2015

- Working on futher understanding the FreeWRL parser


3 JUNE 2015

- Finalizing on futher understanding the FreeWRL parser

4 JUNE 2015

- Successfuly built FreeWRL within brlcad src/other

- Started implementing load() function for X3D parser


5 JUNE 2015

- Futher work implementing load() function for X3D parser


6 JUNE 2015

- Futher work implementing load() function for X3D parser (ensures that nodes and properies are parsed properly)


7 JUNE 2015

- Working on load function


8 JUNE 2015

- Working on load function


9 JUNE 2015

- Implemented init_res() function in FreeWRL to intitialize all required resources

- Started work on main() function for the x3d parser


10 JUNE 2015

- 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)

11 JUNE 2015

- Started working on parse_scene() used to traverse the node of the scene-graph and retrieve properties


12 JUNE 2015

- 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


13 JUNE 2015

- 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.

14 JUNE 2015

- Started work on the do_color() function which is called by parse_scene() to assign color values to shape nodes


15 JUNE 2015

- Working on convert() function in FREEWRLwrapper


16 JUNE 2015

- Futher work on convert() function in FREEWRLwrapper

17 JUNE 2015

- Futher work on FREEWRLwrapper, ensuring PROTO(userdefind type nodes) are handled properly

18 JUNE 2015

- 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

19 JUNE 2015

No work done 0 on 5 hours put in.

20 JUNE 2015

- 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.


21 JUNE 2015

- Futher work on convert() function in FREEWRLwrapper (implementing do_transforn() function as helper function to convert())

22 JUNE 2015

- 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.

23 JUNE 2015

- Further work on node transformation (implementing transform_points())

24 JUNE 2015

- 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.

25 JUNE 2015

- Could not do any work today because of my exams

26 JUNE 2015

- Cleaned up and modified cmake files

27 JUNE 2015

- Redefined OpenGL types making it possible for the code to compile without OpenGL dependencies.


28 JUNE 2015

- 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