Hi LiChi,
You are correct, this is a mistake that needs to be fixed, the following
for-loop is not even executed unless checkForGLErrors is true.
In fact, I've just spent an hour or so debugging a weird "Invalid operation"
GL-error and it turned out to be caused by exactly this bug - the
>
> I load an not georeferenced 3D model and i have the geo information in
> other file : DATUUM, Projection system, EPSG and an offset in meter for
> cartographic system and in seconds for geo system. I looking for set those
> informations programatically. Set the SRS is not a big deal, but I
Hi Fabian,
The most likely cause is that the thread you are calling the
texture->apply() from doesn't have a graphics thread current.
The GraphicdWindowEmbedded is just a adapter class that allows you to
use the OSG with 3rd party SDK's like SDL where the graphics context
is created prior the
HI Rambabu,
If you want to ask a question about a new topic start a new thread,
don't keep asking unrelated questions on existing threads.
Also actually try doing some research on your own account, there are
plenty of examples, books, doxygen docs, the answers to your questions
are all there,
Hi,
In StateSet::compileGLObjects method:
if (checkForGLErrors && state.checkGLErrors("before
StateSet::compileGLObejcts()"))
need to be changed like the following line?
if (checkForGLErrors) state.checkGLErrors("before
StateSet::compileGLObejcts()");
Thank you!
Cheers,
Li
Hi,
I'm trying to do the folowing :
Code:
m_fboTexture->apply( *camera->getGraphicsContext()->getState() );
But it crashes... More precisely, "applyTexParameters()" crashes. Everything
has been initialized.
Here is the complete sequence :
Code:
m_osgViewer = new osgViewer::Viewer();
Hi,In main function camera coordinates are osg::Vec3initialCameraPosition(0.0,
0.0, 20.0);
How i can change the camera view continuously along with the model movement.
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
Hi,
I got "Failed to load terrain engine driver for mp" error when i built
osgEarth examples in visual studio 2013
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69498#69498
___
osg-users mailing
8 matches
Mail list logo