Hi,
I just tried to use the Software-Renderer with a few of the examples in Irrlicht-0.7. The more complex examples won't work; what I get looks like clipping errors.
As the Software-Renderer seems to be broken (and would be too slow for the most uses), I wanted to have the ability to remove it from the .DLL (like the other renderer by not defining _IRR_COMPILE_WITH_XXX_ in IrrCompileConfig.h).
I did some minor modifications. No I can undefine _IRR_COMPILE_WITH_SOFTWARE_ and compile the DLL without the Software-Renderer (saving some memory).
In addition as I don't like the Irrlicht-GUI very much and have no use for it in my projects, I can remove GUI-support by undefining _IRR_COMPILE_WITH_GUI_ (the GUI should IMO be a layer on top of the irrlicht-engine - not integrated with it).
For anybody who would like to remove Software-Renderer and/or GUI-support, I made a patch-file available with the appropriate changes: Patch
Software-Renderer broken? Remove it!
I agree with that, maybe a seperate file with these defines should be somewhere so that peeps can customise what they want with the engine. Every project is different, for example I will switch to using PNG format when I am sure that it is working ok in NX so I have no need for the libjpg files. I'd bet there are plenty of things peeps don't need/want but that they would be totally different to another's wants. Something to consider I think.
Normal Size: 884kb
w/o Software Renderer: 856kb
w/o Software Renderer & GUI: 784kb
I just discovered a bug in my patch when compiling with GUI and w/o Software Renderer:
in the BuildInFont.h I wrote
where it should read
I changed that in my patch-File...
w/o Software Renderer: 856kb
w/o Software Renderer & GUI: 784kb
I just discovered a bug in my patch when compiling with GUI and w/o Software Renderer:
in the BuildInFont.h I wrote
Code: Select all
#if defined(_IRR_COMPILE_WITH_SOFTWARE_)
Code: Select all
#if defined(_IRR_COMPILE_WITH_GUI_)
yup! but Niko is also darn good! and many others in the forums!
check some of the the optimization options in the MSVC toolkit compiler:
http://www.danielpatton.com/afecelis/sc ... ptimum.jpg
check some of the the optimization options in the MSVC toolkit compiler:
http://www.danielpatton.com/afecelis/sc ... ptimum.jpg