I'm now doing a mecial software which rendering volume data of MRI. I use ray casting method to complete this. But on my G80 the performance is unsatisified. The card spends most time fetching texture.
I tried 256*256*256 3D texture which I set texture parameter to GL_LUMINANCE_ALPHA, and render windows 800*600, and I get only below 12fps.
I want to know:
1. If set GL_LUMINANCE_ALPHA can really decrease the memory usage and increase performance.
2. If I split the 3D texture into 8 3D textures should speed up the fetching performance?
3. If my texture's internal data format is set to GL_RGBA, my texture size will be 130M, any tips to speed up texture fetching and filting work?
Thanks for all asking my question!
I tried 256*256*256 3D texture which I set texture parameter to GL_LUMINANCE_ALPHA, and render windows 800*600, and I get only below 12fps.
I want to know:
1. If set GL_LUMINANCE_ALPHA can really decrease the memory usage and increase performance.
2. If I split the 3D texture into 8 3D textures should speed up the fetching performance?
3. If my texture's internal data format is set to GL_RGBA, my texture size will be 130M, any tips to speed up texture fetching and filting work?
Thanks for all asking my question!