Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Building Manta for offscreen rendering


Chronological Thread 
  • From: David E DeMarle < >
  • To:
  • Subject: [Manta] Re: Building Manta for offscreen rendering
  • Date: Mon, 3 Jun 2013 12:40:01 -0400

Link Manta itself directly to Mesa if you must instead of OSMesa.
From ParaView's point of view we don't use any of Manta's GL dependent code. That code only comes into play when Manta is drawing to the screen for the X11 executable I think.
In our use Manta just renders into the memory buffer it manages, then ParaView takes that result and fills the pixels into its own OSMesa context.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sat, Jun 1, 2013 at 7:57 PM, Roman Vetter < " target="_blank"> > wrote:
Dear all,

I'm trying to build Manta (SVN checkout of latest trunk) for offscreen rendering with the Manta plugin in Paraview.

As explained on http://paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#ParaView_with_Offscreen_Mesa, Paraview needs to be configured with the following settings for offscreen rendering with OSMesa instead of OpenGL:

OPENGL_INCLUDE_DIR = {MESA_INSTALL_PREFIX}/include
OPENGL_gl_LIBRARY = <empty>
OPENGL_glu_LIBRARY = {MESA_INSTALL_PREFIX}/lib/libGLU.[so|a]

That works fine without Manta. So when adding Manta to my Paraview build, I figured that Manta probably needs the same setup for offscreen rendering. However, Manta doesn't compile when the OPENGL_gl_LIBRARY variable is left blank:

../lib/libManta_Engine.so: undefined reference to `glBegin'
[and many more undefined references]

How do I need to configure Manta in order to use OSMesa instead of OpenGL? Thanks for helping me, if you can.

Roman




Archive powered by MHonArc 2.6.16.

Top of page