Time Nick Message 19:53 saschaheylik celeron55: can you tell me how much drawing code that calls irrlicht minetest has? 19:53 saschaheylik and in which files 19:54 saschaheylik i am trying to estimate the effort required to convert to ogre3d 19:55 saschaheylik "too much" is both relative and not an objective measure. if we had an estimate we could easily get enough people together to get it done farily quickly 19:56 saschaheylik but i dont know where all the drawing code is and how much of it uses irrlicht so instead of reading every single file i hope you can give me the answer 19:57 celeron55 i can't give you any answer to that 19:57 saschaheylik not even to in which files the drawing code is? 19:58 celeron55 grep for scene:: or something 19:58 celeron55 also irrlicht's containers are used in many places, those are in core:: 19:58 celeron55 and other irrlicht's types 20:01 saschaheylik gives me about 11 classes for scene:: 20:01 celeron55 then there is gui:: 20:01 saschaheylik how do you grep for multiple words? 20:02 saschaheylik i dont think i remember regex 20:03 saschaheylik irrlicht uses the irr namespace 20:03 saschaheylik so all files must contain "irr" right? 20:06 saschaheylik thats 78 files ending in .h 20:07 saschaheylik oh which 12 are the ugly gui which would rather be rewritten anyways 20:11 saschaheylik the average class seems to be about 500 lines 20:11 saschaheylik irrlicht calls are relatively easy to translate to ogre calls, not much thinking involved 20:12 saschaheylik 500*78=39,000 20:13 saschaheylik how long would it take to go through 1000 lines and change the irrlicht calls to ogre calls? 20:13 saschaheylik 1 hour? 20:14 saschaheylik mesh.h/mesh.cpp for example could be done in about half an hour i think 20:15 VanessaE maybe an hour to replace the calls, but how many weeks to fully debug the result? 20:15 saschaheylik well you should use a proper development process 20:16 saschaheylik so write a test if possible, change a bit, if it works repeat 20:16 saschaheylik on one class per developer 20:17 saschaheylik of course to incrementally change the drawing code you would have to still draw it in irrlicht and start _adding_ ogre calls 20:17 saschaheylik else you dont see shit... 20:18 saschaheylik then once you have everything drawing in one irrlicht window and one ogre window you can remove all the irrlicht calls 20:18 saschaheylik that could be done with a script 20:19 saschaheylik so i guess about 40 to 80 programmer-hours 20:19 saschaheylik (.5 - 1h per class) 20:21 saschaheylik assuming each programmer programs for 3 hours a day thats 21 hours a week 20:21 saschaheylik and if you have 4 programmers they together program for 84 hours a week