Hi Sergey,

When I attach a texture to the camera should I specify also the number of 
desired mipmap levels?


Code:
slaveCameraLogAveragedLum->attach(osg::Camera::COLOR_BUFFER0, 
logAveragedLumTexture.get(), numMipMap, 0, /*mipmap*/true);



In the documentation it is said 

> The level parameter controls the mip map level of the texture that is attached


Am I understanding correctly this parameter?


> Hi 
> 
> in camera interfaces there are attach method which have parameter to specify 
> either to generate mipmaps or not for texture rendertarget attachmant, it 
> does not behave correctly? 
> 
> Cheers, 
> Sergey.  
> 


Thank you!

Cheers,
Kenzo[/code]

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





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

Reply via email to