Hi.
I discovered this issue in OSG::SimpleSHLChunk.inl
template<class ValueT>
bool SimpleSHLChunk::getUniformVariable(const Char8 *name, ValueT &value)
{
if(_sfVariables.getValue() == NULL)
{
return _sfVariables.getValue()->getUniformVariable(name, value);
}
return false;
}
I think getValue() != NULL would be a better choice.
The second thing is the fbotexture tutorial: I took it as a starting
point for my own application and I was very confused by the fact, that
my dynamic texture disappeared when moving the camera. It took me some
time to notice, that the MipMap min filter was the cause. I think a simple
fboTex->setMinFilter(GL_LINEAR);
in the tutorial and a comment could help other people to avoid that.
Thanks,
Dominik
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users