# volume Render can't work well with shadeon in 'big' data(500 \* 1024 \* 1000 just 500mb)

**URL:** https://discourse.vtk.org/t/volume-render-cant-work-well-with-shadeon-in-big-data-500-1024-1000-just-500mb/4006
**Category:** Support
**Created:** [August 18, 2020, 2:30am UTC](https://discourse.vtk.org/t/volume-render-cant-work-well-with-shadeon-in-big-data-500-1024-1000-just-500mb/4006 "2020-08-18T02:30:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kaia](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/k/53a042/32.png) [@kaia](https://discourse.vtk.org/u/kaia)
#### Post date: [August 18, 2020, 2:30am UTC](https://discourse.vtk.org/t/volume-render-cant-work-well-with-shadeon-in-big-data-500-1024-1000-just-500mb/4006/1 "2020-08-18T02:30:31Z")

</div>

Hi VTK experts.

I am experimenting with Volume Rendering in my VTK-based C# application, and I am facing some issues with the vtkVolumeProperty shadeon.

and here is some fragments taken from code

 ![image](https://discourse.vtk.org/uploads/default/original/2X/4/4f565d0125a2e70d7842039f74074d2233c14c67.png)  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/a/ad3109c1cc9f15b25dcdfdbbc139dad482e543b9.png)

run 500_1024_500 is ok, even to 500 \* 1024 \* 1000  
with a deeper data, keep the volumeProperty.ShadeOn() I will get this exception

 ![image](https://discourse.vtk.org/uploads/default/original/2X/f/f6f2485d0afd5df3a5a53710a708cf5d37e7c853.png)  
if block the volumeProperty.ShadeOn, I can run deepest data, 3000 \* 500 \* 1024  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/e/e886b4173dba387e7475fab12d637aca0395e637.jpeg)

- I’m a newbie. Maybe I can’t describe it well.

I want to know how I can solve this problem.Maybe a new VTK version or some other command to load.The purpose of this program is to load 3D data from the existing TXT to display.I guess I have enough memory and video memory (I borrowed someone else’s 2080TI, they can only run less data than me, confused)

this is my cpu gpu info  
CPU  
Intel® Core™ i5-9300H CPU @ 2.40GHz  
GPU 0  
NVIDIA GeForce GTX 1650  
Dedicated GPU memory 1.2/4.0 GB  
Shared GPU memory 0.0/8.0 GB  
GPU Memory 1.2/12.0 GB

my vtk version  
runTime version 2.0.50727  
version 5.80.607  
I have used GCHandle.Alloc successfully to run hundreds of pictures without blocking shadeon

I want to keep the shadeon and display 1024 \* 500 \* 3000 data(now can work with block the shade on)

hope you can share me some ideas
