Thanks for the reply. Well I know I shouldn't and I wouldn't if I don't have this artefact of the tip of the ship was not culled. I noticed that you're replying as a guest, not a member of this forum, so I'm not sure that you can see all of my screenshots that I've put here. If not, then I'll give you an illustration.
Imagine a quake clone game. You've got a part of the weapon's model visible at the bottom of the screen, near the HUD, that will also move along with your first person camera. Now, in my application, that weapon will be culled and won't be rendered perfectly, even invisible at times, based on that camera's (and model along with it) translation and rotation. Now if I disabled near / far computation, the screen turns blank because the glare shader is also enabled. If I disable both the near / far computation and the glare shader, the scene seemed normal and right. However there's another artefact. The above water fog isn't implemented correctly. Even when there are two objects with the same distance with the camera, one of them can be rendered as if it's inside a fog and one of them is not. As for the missing model if I enabled glare, I've found the answer. It seems like osgOcean hates targa. One of my model's textures is a targa image file and that's why it wasn't rendered. When I changed it to a jpg, it worked just fine. Maybe you should put this as a warning somewhere in the documentation or such. Thanks again. Kim Bale wrote: > You should need to use osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR. > > *shouldn't > > > K. > > On 28 February 2011 06:25, Bawenang Rukmoko < ()> wrote: > > > No reply yet? I guess I've got to do this the hard way, researching them > > myself. :( > > > > Thanks anyway guys. > > > > Thank you! > > > > Cheers, > > Bawenang > > > > ------------------------ > > "There's no place like 127.0.0.1" > > > > ------------------ > > Read this topic online here: > > > > http://forum.openscenegraph.org/viewtopic.php?p=37165#37165 > > (http://forum.openscenegraph.org/viewtopic.php?p=37165#37165) > > > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > () > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > ------------------ > Post generated by Mail2Forum ------------------------ "There's no place like 127.0.0.1" ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37237#37237 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

