none
comparing 3d viewer in C# with 3d viewer in C++ RRS feed

  • Question

  • hi,

        comparing kinect samples in c# with c++ samples. the application getting slow and also image rendering was very slow in

    c# application why?

    thanks in advance


    kirubha





    • Edited by KrupaKine Friday, November 29, 2013 1:38 PM
    Friday, November 29, 2013 1:36 PM

All replies

  • hi,

        comparing kinect samples in c# with c++ samples. the application getting slow and also image rendering was very slow in

    c# application why?

    thanks in advance


    kirubha






    I would say that c++ would be faster because of its ability to have unmanaged code mixed with managed code. The problem is c++ takes a long time to code for with the Kinect but can produce better results when used correctly. C++ can do some low level operations and not need rely on the dotnet runtime to perform its functions which is what makes it useful.

    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr


    • Edited by The Thinker Thursday, December 5, 2013 2:49 PM
    Thursday, December 5, 2013 2:48 PM
  • There is also the graphics performance of the system. Kinect Fusion does take up a lot of GPU resources. The managed c# samples has a rendering pipeline that needs to use the GPU as well to draw the UI. If you are not a dedicated GPU that can managed both the WPF rendering pipeline and the Fusion GPU based calculations, they will both suffer.

    Carmine Sirignano - MSFT

    Tuesday, December 10, 2013 1:03 AM