HI Jason,

You could try disabling the vertex array extension for Intel via the
the osg::setGLExtensionDisableString()

>From include/osg/GL

/** Set a list of extensions to disable for different OpenGL
renderers. This allows
  * OSG applications to work around OpenGL drivers' bugs which are due
to problematic extension support.
  * The format of the string is:
  * "GLRendererString : ExtensionName, ExtensionName; GLRenderString2
: ExtensionName;"
  * An example of is : "SUN_XVR1000:GL_EXT_texture_filter_anisotropic"
  * The default setting of GLExtensionDisableString is obtained from
the OSG_GL_EXTENSION_DISABLE
  * environmental variable.
*/
extern OSG_EXPORT void setGLExtensionDisableString(const std::string&
disableString);

Longer term it might be worth us developing a software/hardware
configuration file system, that can provide different profiles for
different hardware/drivers.

Robert.

On Thu, Aug 14, 2008 at 3:42 PM, Jason Beverage <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I recently updated our product to use the --terrain flag in
> VirtualPlanetBuilder to increase the speed of our database creation and
> things are working wonderfully except for on the machines that have the
> Intel 945GM chipset which are crashing.
>
> I've narrowed the problem down to the fact that the 945GM doesn't seem to
> like using VBO, which is enabled in GeometryTechnique.cpp.  If I revert back
> to not using the --terrain option, which does not use VBO, things work just
> fine.  Also, if I set the environment variable
> OSG_DATABASE_PAGER_DRAWABLE=VertexArrays, things also work just fine.
>
> I would like to not have to revert back to not using the --terrain option
> since the performance increases on machines that support VBO are so
> substantial but I also don't want specific users to have to modify the
> environment variable.
>
> In theory, we can know whether or not VBO is supported by the graphics card
> by using the State::isVertexBufferObjectSupported(), but the 945GM must be
> incorrectly reporting that it does support VBO.
>
> Does anyone have any suggestions on what I should do in this situation?
>
> Thanks!
>
> Jason
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to