[vtkusers] Black image with offscreen rendering(using osmesa)

Kevin H. Hobbs hobbsk at ohiou.edu
Wed Feb 3 06:22:14 EST 2010


On 02/02/2010 10:38 PM, Hassan Amin wrote:
> Hi,
>   I have built my vtk 5.0.3 with offscreen rendering using osmesa. The
> vtk is automatically able to find all necessary libraries on Ubuntu
> 9.10 (Vostro 1520 laptop). However, the image that is being rendered
> in offscreen mode is black. If I render image without offscreen
> rendering then I get correct output. Can any body guide me about how
> to make osmesa offscreen rendering to work.
>
> Regards,
>
>   


I have never had any success with a system OSMesa and VTK. I build a
copy of Mesa with OSMesa from source in my home directory. This works
just fine with VTK.

The Mesa libraries shipped with Fedora at least are built to support DRI
and hardware acceleration. This disables OSMesa. The OSMesa library is
built separately and does not seem to work with VTK.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100203/c800bcaf/attachment.pgp>


More information about the vtkusers mailing list