[vtkusers] [Paraview] GPU based volume rendering in ParaView

Francois Bertel francois.bertel at kitware.com
Mon Mar 1 13:54:03 EST 2010


Hello,

The GPU Rast Mapper does not work on Mac so it is skipped to avoid bad behavior.

It is skipped because:

1. on Snow Leopard with an nVidia card, the GPU Ray Cast mapper
triggers a bug in the OpenGL driver (that we cannot locate precisely
enough) and the driver will exit the application with:

(0) : fatal error C9999: Nested functions, aborting!

or:

(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error


2. On Leopard, a user reported a corrupted image.

If you are adventurous, and see what happen for your specific
configuration, you can comment out the lines in
VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx  that skip the
Macs:

  // It does not work on Apple OS X Snow Leopard with nVidia.
  // There is a bug in the OpenGL driver with an error in the
  // Cg compiler about an infinite loop.
#ifdef __APPLE__
  this->LoadExtensionsSucceeded=0;
  return;
#endif

Regards

On Mon, Mar 1, 2010 at 1:05 PM, Aashish Chaudhary
<aashish.chaudhary at kitware.com> wrote:
> Eric,
>
> Yes you do need to have certain extensions. Now the mapper I have not
> written myself and hence I am forwarding this email to vtk users list. I
> hope that the original author would respond to it.
>
> I will see if we can produce a better message which could list the missing
> extensions.
>
> Thanks for testing it out.
>
> ~Regards,
> Aashish
>
>
> On Mon, Mar 1, 2010 at 12:56 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
>>
>> Hey Aashish,
>> I've been having trouble with it, too, on my Mac (OS X 10.6.2, PV compiled
>> serial x86_64 arch updated from CVS and rebuilt today, CMake 2.9.20100113).
>> Are there any special hardware requirements, then? I can see the GPU Volume
>> Mapper option, but when I switch over to that from the "Fixed point" mapper
>> I get this error:
>> ERROR:
>> In /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx,
>> line 4110
>> vtkOpenGLGPUVolumeRayCastMapper (0x12082cc00): Rendering failed because
>> the following OpenGL extensions are required but not supported:
>>
>> (Just as this shows, the list of OpenGL extensions it says are required
>> but not supported is empty...) My graphics card is a NVIDIA GeForce 8800 GT.
>> Thanks,
>> -Eric
>> ------------------------------------------------------
>> Eric E Monson
>> Duke Visualization Technology Group
>>
>> On Mar 1, 2010, at 11:55 AM, Aashish Chaudhary wrote:
>>
>> No there is no special option required but you would have to update your
>> paraview cvs copy as the code got into cvs last thursday.
>>
>> Can you update and compile again?
>>
>> Thanks,
>>
>>
>>
>> On Sun, Feb 28, 2010 at 2:27 PM, Pierre-Olivier Dallaire
>> <pierre-olivier.dallaire at videotron.ca> wrote:
>>>
>>> Hi,
>>> Do  we need to enable a special option in the CMakeCache.txt file in
>>> order to get this feature ?
>>> I compiled the CVS version on Mac and cannot access the GPU option for
>>> volume rendering.
>>> Regards,
>>> PO
>>> On 2010-02-26, at 10:58 AM, Aashish Chaudhary wrote:
>>>
>>> All,
>>>
>>> I am pleased to announce that ParaView3 now has GPU based volume
>>> rendering  from VTKEdge. Its currently in CVS and should be able to make
>>> into 3.8 release.
>>> Currently it does not work in tile display mode but we are hoping to fix
>>> it in near future. Any bug reports are welcome.
>>>
>>> Attached is the screen shot.
>>>
>>> ~Regards,
>>>
>>> --
>>> | Aashish Chaudhary
>>> | R&D Engineer
>>> | Kitware Inc.
>>> | www.kitware.com
>>> <Screenshot.jpg>_______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>
>>
>>
>> --
>> | Aashish Chaudhary
>> | R&D Engineer
>> | Kitware Inc.
>> | www.kitware.com
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list