Thank you Sebastian for your support. I appreciate it.

> More or less. I don't know the exact wording from the specification, but 
> the mipmapping should actually do a bilinear interpolation for 4 
> neighbouring texels per mip level. I've found many examples that used 
> the last LOD for average lum.


This is what I expecting from the mipmapping to implement my tone mapping 
algorithm.


> That looks okay. I suppose you are using FrameBuffer Objects and this 
> the setup code for the texture.

Exactly, I'm using FBO to render-to-texture.


Code:
mainCamera->setRenderTargetImplementation(osg::Camera::FRAME_BUFFER_OBJECT, 
osg::Camera::PIXEL_BUFFER_RTT);





> Have you simply tried the 1000.0 (it is clamped to the last level)?

Yes I've tried it. But still the issue.


> Can you maybe provide a screenshot of your artifacts?

Actually a screenshot will not help you as there is no really artifact. 
Basically the screen is flashing. Some particularly views give a brighter image 
as no tone mapping was disable. At this moment if I move just a bit the image 
come back darker as expected from my tone mapping. It's little bit weird... I'm 
wondering if it is actually the mipmapping or if it is conflicting with an 
other stuff.

Thanks a lot,
Kenzo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50322#50322





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to