Graph rendering using 3D acceleration

前端 未结 12 1845
鱼传尺愫
鱼传尺愫 2021-02-15 17:56

We generate graphs for huge datasets. We are talking 4096 samples per second, and 10 minutes per graph. A simple calculation makes for 4096 * 60 * 10 = 2457600 samples per lineg

12条回答
  •  温柔的废话
    2021-02-15 18:36

    If your code gets unreadable because you're dealing with the 3D stuff directly, you need to write a thin adaptor layer that encapsulates all the 3D OpenGL stuff, and takes 2D data in a form convenient to your application.

    Forgive me if I've missed something, and am preaching basic object oriented design to the choir. Just sayin'...

提交回复
热议问题