Hi Kim,

Firsty congratulations for these awesome works.
When I try to create solution file in cmake on VisualStudio2008 I get the
errors;
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake
files:

FFTSS_INCLUDE_DIR

used as include directory in directory
C:/Projects/Ocean/osgOcean-Source/src/osgOcean

FFTSS_LIBRARY

linked by target "osgOcean" in directory
C:/Projects/Ocean/osgOcean-Source/src/osgOcean

OPENTHREADS_LIBRARY_DEBUG

linked by target "osgOcean" in directory
C:/Projects/Ocean/osgOcean-Source/src/osgOcean


I have compiled the FFTSS library and locate it in same folder with
osgOcean-Source folder. Should I declare specific Environment Variable to
help cmake for finding right fftss include directory and library?

And Do we have to OpenThreads library in debug mode? I have a OSG
distiribution in only release mode.

Regards.

2009/6/16 Kim C Bale <k.b...@hull.ac.uk>

> Hi Martin,
>
> This problem arises with two particular effects, the glare and the
> underwater dof which require special treatment of the alpha component in
> the framebuffer.
>
> You can disable those using:
>
> enableUnderwaterDOF(false)
> enableGlare(false)
>
> Then you need to disable the default scene shader with this:
>
> setUseDefaultSceneShader(false)
>
> In the OceanScene class.
>
> If you remove the default shader you'll also lose the underwater light
> scattering and fogging calculations on models below the surface.
>
> Trying to offer lots of out-of-the-box shader effects whilst also
> accommodating the fixed pipeline is a tricky problem and this area needs
> a little work, but that should work for you.
>
>
> Regards,
>
> Kim.
>
> -----Original Message-----
> From: osg-users-boun...@lists.openscenegraph.org
> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin
> Scheffler
> Sent: 16 June 2009 15:18
> To: osg-users@lists.openscenegraph.org
> Subject: Re: [osg-users] osgOcean 1.0 (LGPL) Released
>
> Hi,
>
> I compiled osgOcean and everything works fine here. I ran into trouble
> when integrating it with my existing application. When I used the last
> version of osgOcean, I could just put the ocean somewhere in the scene
> graph and it did not interact with my other stuff. Now osgOcean blocks
> my view onto the other objects in the scene. When I add the objects as
> children to the OceanScene, the objects are shown, but the ocean shaders
> are applied to the objects. This add some sparkling effects to my
> animations, which looks nice but is not really what I want.
>
> So how can I add my objects to the scene without interference?
>
> Thank you!
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=14038#14038
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
> g<http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or%0Ag>
>
>
> *****************************************************************************************
> To view the terms under which this email is distributed, please go to
> http://www.hull.ac.uk/legal/email_disclaimer.html
>
> *****************************************************************************************
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


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

Reply via email to