hi,kim ,Jean-Sebastien Guay and others: I have registered an account in forem,but the messages i sent is awaiting approval.So i post my reply by mailing list. in osgocean example ,i disable glare and dof false in ocean scene initialization. ... _oceanScene->enableUnderwaterDOF(false); _oceanScene->enableGlare(false); ... then,i print screen and get some images which are in email attachments. (1)render correctly no ocean.JPG the image is rendered in osgviererMFC.the flame trail is colorful. (2)(application init) disable glare and dof(underwater).JPG in osgocean example initialization: _oceanScene-enableUnderwaterDOF(false); _oceanScene->enableGlare(false); after initialization,i don't press usful key to change effects. (3)(run-time )disable glare and dof(underwater).JPG at run-time,i press key to toggle glare and dof(underwater) false.
From the three images you maybe know what happen in spaceship flame trail.In fact ,i want to get the reason why the flame trail turns grey or white when i toggle glare and dof(underwater) false at run time.If you have solutions ,please send me codes explaining it. Thank you! Cheers, houxl
<<attachment: render correctly no ocean.JPG>>
<<attachment: (application init) disable glare and dof(underwater).JPG>>
<<attachment: (run-time )disable glare and dof(underwater).JPG>>
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org