[Bf-committers] How about adding boost uBLAS library to blender/extern?

joe joeedh at gmail.com
Mon Jan 26 11:18:02 CET 2009


Ugh, porting the render code to c++ would be a really bad idea.  It's
highly optimized for C.  Perhaps if you could simply use the math
libraries in the c code without changing much (e.g.  compile it with
c++ but restrict what c++ stuff you use there) it'd work.  But I doubt
it, to be honest.

Joe

On Sun, Jan 25, 2009 at 2:56 AM, Konstantinos Margaritis
<markos at codex.gr> wrote:
> Στις Saturday 24 January 2009 20:11:20 ο/η Sebastian Skejø έγραψε:
>> Hi,
>>
>> Have you looked at Eigen2? Not completely sure what you exactly want,
>> but I think it should be able to do what you want and according to their
>> benchmarks it outperforms uBlas.
>> http://eigen.tuxfamily.org
>> http://eigen.tuxfamily.org/index.php?title=Benchmark
>
> Plus, it supports SSE2/SSE3 and AltiVec for ppc CPUs (I did the AltiVec port
> and I'm in the process of porting to Cell as well). Performance gain is more
> than 2-3x faster for SSE double and ~4x for single precision floats. Though,
> it's a C++ only library while Blender(renderer) is written in C (perhaps it
> would be a nice idea to port in C++ :)
>
> Konstantinos
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list