[vtkusers] Color of isosurface

Bill Lorensen bill.lorensen at gmail.com
Thu Jul 5 19:36:18 EDT 2012


Here is a gerrit patch to add error checking to SetModelBounds:
http://review.source.kitware.com/#/c/6385/


On Wed, Jul 4, 2012 at 10:19 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> It should probably print an error. I'll create a gerrit patch.
>
> On Wed, Jul 4, 2012 at 2:26 AM, Dale "Luke" Peterson <hazelnusse at gmail.com
> > wrote:
>
>> After lots of superstitious bug hunting, I finally figured this out.  The
>> values I was passing to SetModelBounds() had ymin = 3.5 and ymax = 0.16.
>>  The result was that the surface looked correct and the proper range was
>> being shown, but for some reason this affects the way the surface gets
>> rendered.... wow.... that took almost 2 days to figure out.
>>
>> Any idea why this would happen?  Could/should vtkSampleFunction reorder
>> the bounds if the SetModelBounds() is called with xmin>xmax, ymin>ymax, or
>> zmin>zmax?
>>
>> Just to be clear, this issue had nothing to do with QVTKWidget whatsoever.
>>
>> ~Luke
>>
>>
>> On Mon, Jul 2, 2012 at 12:25 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>>
>>> No idea.
>>>
>>>
>>> On Mon, Jul 2, 2012 at 3:22 PM, Dale "Luke" Peterson <
>>> hazelnusse at gmail.com> wrote:
>>>
>>>> Attached is what it looks like outside of QVTKWidget.
>>>>
>>>
>>>
>>>
>>> --
>>> Unpaid intern in BillsBasement at noware dot com
>>>
>>>
>>
>>
>> --
>> "People call me a perfectionist, but I'm not. I'm a rightist. I do
>> something until it's right, and then I move on to the next thing."
>> -- James Cameron
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120705/1841602d/attachment.htm>


More information about the vtkusers mailing list