彭于斌

Results 237 comments of 彭于斌

原版 418.72ms SSE 50.32ms SSE+OpenMP 21.99ms `g++ normal_calSimilarity.cpp -O3 -fopenmp -mavx2 -o normal_calSimilarity_gcc` ```cpp #include #include #include #include #include #include #include #include #define REP4(x) (x, x, x, x) struct templateFeat...

修复后的SSE版本 ```cpp #include #include #include #include #include #include #include #include #define REP4(x) (x, x, x, x) struct templateFeat { __m128i x; __m128i y; __m64 dx; __m64 dy; __m128 mag; };...

```cpp //******************************************************************************************** //***********************************normal_calSimilarity.cpp******************************** //******************************************************************************************** //#define USE_MULTISCORE//causing wrong result #define USE_FIRSTUNROLL #define USE_OPENMP #define USE_UNROLLM4 #include #include #include #include #include #include #include #ifdef USE_OPENMP #include #endif struct templateFeat { int x;...

For robust APIs, does taichi-dev/taichi_three helps? I used pre-allocated vbo because taichi doesn't support dynamic field allocation to prevent copy overhead, in other words only copy when necessary, keep data...

> What's the relationship between this and https://github.com/taichi-dev/taichi_blend? Not really, `taichi_elements` is only an importable PyPI package bundled with Taichi-Blend.

Btw, how can I create a node scene in blender for taichi_blend, like taichi_elements does? I'd like to connect solvers / renders using node system instead of writing code.

Binaries bound to python version, this is thank to pybind11 which is currently used by taichi. I always wonder why pybind11 must bound to a specific python version.. without pybind11,...

Could you run blender in console (`cmd`) and attach the output here? Related issue: https://github.com/taichi-dev/taichi_elements/issues/54#issuecomment-645771417.

> C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\taichi\init.py' The install location seems make Blender consider `taichi` as a plugin while it's not.. Does http://github.com/taichi-dev/taichi_blend, which does not require `pip` for installing `taichi` work...

> Cant load the examples > > Traceback (most recent call last): > File "\balls.py", line 2, in > ModuleNotFoundError: No module named 'taichi_glsl' > Error: Python script failed, check...