[vtkusers] vtkImageData Modified: Just update a small area of the data?

Willy Wiggerl at Linhuber.info
Tue Mar 7 03:35:44 EST 2017


Ok, i will read your link as soon as I have time.

Yes, i tried SetPartitions(). Without that function vtk uses glTexImage3D,
that blocks the gpu for serveral seconds (depends on the amount of data).
The good thing about that method is, that is uses serveral small
glTexSubImage3D call. So its possible to do other render calls parallel.

But there are a few disadvantages too (at least for me, maybe i used it
false somehow). 
Its much slower, i dont get my framerate even with just 2 or 4 blocks. That
would be ok if i could activate and deactivate the partitions everytime, but
if i call SetPartitions(2,1,2) at the beginning i cant call
SetPartitions(1,1,1) later, to set it back to normal. 
That function not only spilts one glTexImage3D call in several
glTexSubImage3D call (thats a good thing), it spilts the rendering call too
(that makes everything slow and that forever).
It always uses all blocks. I can't tell the renderer just to work on one
special block and don't use the other ones. That would be possible if the
function would just split the glTexImage3D call.
If i use the blocks in x or y direction i can see junctions on the result
image (at least on my dataset).

Willy



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageData-Modified-Just-update-a-small-area-of-the-data-tp5742276p5742373.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list