Hi Umit,

 

>Firsty congratulations for these awesome works.

 

Thank you, still plenty to fix though it seems J

 

>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

 

When you run CMake it should let you set these manually if they're not found 
automatically. 

 

You will need to explicitly specify the path to the include directory and also 
the fftss.lib file (this is what I do when I run CMake)

 

When you run the example application the fftss.dll will need to be in the same 
directory as the exe or by adding the directory it's in to your PATH 
environment variable (if you're in windows)

 

>OPENTHREADS_LIBRARY_DEBUG

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


I think if you just point it to the release mode version of OpenThreads it will 
let you build the project. But be careful, if you try and build a debug version 
of the application/library it's highly likely you'll get errors. 

 

If that doesn't solve it get back to me.

 

Regards,

 

Kim.

 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Ümit Uzun
Sent: 17 June 2009 11:48
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgOcean 1.0 (LGPL) Released

 

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 <[email protected]>

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: [email protected]

[mailto:[email protected]] On Behalf Of Martin
Scheffler
Sent: 16 June 2009 15:18
To: [email protected]
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
[email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Ümit Uzun

*****************************************************************************************
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to