Hello Carsten,

On 13.07.2016 12:30, Johannes wrote:
> Hello Carsten,
>
> On 01.07.2016 18:17, Carsten Neumann wrote:
>>
>> I suspect the problem is that the texture memory is not initialized,
>> because there is no data specified for the OSG::Image used with the
>> OSG::TextureObjChunk - which is mostly fine since these textures are
>> used as render targets before they are read for the first time - except
>> for the adaptive luminance texture from the previous frame (which has
>> undefined content on the very first frame).
>> For this texture we would need a way to initialize it when it is
>> created. I haven't thought through all the consequences, but one way to
>> do this is add a field SFVector4f "ClearValues" to TextureObjChunk and
>> if the Image has no data issue the glClearTexImage call when creating
>> the OpenGL texture object in TextureObjChunk::handleTexture.
>>
> I will take a look into this.
>
I have implemented that, but it does not solve this particular problem. :-(

I have no further ideas and will leave it in the current state.

Best,
Johannes



------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to