If you modify the third parameter of FFTOceanSurface which is called numTiles 
you will be able to increase the number of tiles that make up the ocean surface 
and thus the range. Increasing the number of tiles will have a direct effect on 
performance. You may wish to try the new vbo technique in the trunk to reduce 
update times. 

Regards, 

Kim

Sent from my iPhone

On 15 Nov 2010, at 16:16, "Shen Qing" <[email protected]> wrote:

> are you worked it out? 
> amigoface wrote:
>> yes from the osgapp example
>> 
>> 
>> Code:
>> _oceanSurface = new osgOcean::FFTOceanSurface( 64, 256, 17, 
>> windDirection, windSpeed, depth, reflectionDamping, waveScale, isChoppy, 
>> choppyFactor, 10.f, 256 );  
>> 
>> 
>> 
>> 
>> i tried before to increase some of these value but i got a very strange and 
>> horrible effect since i don't know each parameter value correspondence
>> 
>> for example i tried this before
>> 
>> 
>> Code:
>> _oceanSurface = new osgOcean::FFTOceanSurface( 128, 512, 33, 
>> windDirection, windSpeed, depth, reflectionDamping, waveScale, isChoppy, 
>> choppyFactor, 10.f, 256 );  
>> 
>> 
>> 
>> 
>> i can't put screens now beacause i don't have my dev machine
> 
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=33751#33751
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to