Hi Joerg,
On Fri, 2004-03-05 at 11:59, Joerg Bornemann wrote:
> Hello *,
>
> I have a program that disables the dlist cache directly after the
> startup. The program creates a scene using functions from
> OSGSimpleGeometry.h (makeSphere, makeTorus, ...). Doing this several
> times, replacing the scene of my SimpleSceneManager, the program crashes
> at osggeopumpfactory.cpp, in GeoPump129(Window*,Geometry*), line 896:
>
> osgGLDrawRangeElementsEXT(*(TypesData + TypesInd++ * TypesStride),
> 0,
> IndicesSize,
> count,
> IndicesPtr->getFormat(),
> vind);
>
> All pointers seem to be valid (osgGLDrawRangeElementsEXT too), so I'm a
> little bit confused... it seems that the crash happens in my NVidia
> graphic driver, the frame stack states a address in nvoglnt.dll.
>
> The problem does not occur, if I don't disable the dlist cache.
> Also creating my own geometry works (not using makeSphere, ...).
> BTW makeBox is ok too.
>
> I've attached a simple test program to demonstrate the problem. Its the
> modified tutorial 01hello.cpp. It displays the torus, press SPACE to
> replace the scene by a new torus.
I can't reproduce it on my Linux box (using QuadroFX 1k, driver 53.36).
Can one of the Windows guys please try it?
DrawRangeElements is known to have problems on nVidia, but usually only
if you have big objects, and your torus doesn't really qualify for that.
:) You can try to work around it by calling
Window::ignoreExtensions("GL_EXT_draw_range_elements"); or setting
OSG_IGNORE_EXTENSIONS to GL_EXT_draw_range_elements.
Hope it helps
Dirk
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users