[vtkusers] vtkImageResliceMapper problems
David Gobbi
david.gobbi at gmail.com
Thu Oct 22 18:24:25 EDT 2015
Hi Ang,
I was able to reproduce the bug by using the OpenGL2 backend,
and I have an idea about where the code has to be fixed.
Luckily, there is something that you can do while you wait for the
fix: add this to your code after you create the vtkImageResliceMapper:
resliceMapper->AutoAdjustImageQualityOff();
That should work as a temporary work-around.
- David
On Thu, Oct 22, 2015 at 6:19 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Ang,
>
> If the issue is a bug in the OpenGL2 backend for vtkImageResliceMapper,
> then we'll use your example code to track down and fix the bug. There
> probably isn't anything that you can do in your code, if you need to use
> this class. After I reproduce the bug on my system, I might be able to
> give an estimate on how long the bug fix will take.
>
> - David
>
> On Thu, Oct 22, 2015 at 12:18 AM, Ang <ysa0829 at gmail.com> wrote:
>
>> Hi David,
>>
>> You are right. I rebuild VTK with OpenGL back end,and it works well.
>>
>> So if I want to use OpenGL2 back end, what should I do in my code?
>>
>> Any suggestion ?
>>
>> Thanks for your time and effort.
>>
>>
>>
>> 2015-10-22 11:15 GMT+08:00 David Gobbi <david.gobbi at gmail.com>:
>>
>>> On Wed, Oct 21, 2015 at 8:53 PM, Ang <ysa0829 at gmail.com> wrote:
>>>
>>>> Hi David,
>>>>
>>>> is it possible that opengl2 causes the result?
>>>>
>>>
>>> It's possible, I did all my tests with the OpenGL back end.
>>> Can you build VTK with the OpenGL back end to see if it
>>> changes the result?
>>>
>>> I can try the OpenGL2 backend tomorrow (but only on OS X,
>>> my Windows machine isn't capable).
>>>
>>> - David
>>>
>>>
>>
>>
>>
>> --
>> *Ang*
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151022/4eeeb81d/attachment.html>
More information about the vtkusers
mailing list