|
new osgOcean::FFTOceanSurface( 64, 256, 17,windDirection, windSpeed, depth, reflectionDamping, waveScale, isChoppy, choppyFactor, 10.f, 256 );
FFTOceanSurface(unsigned int FFTGridSize, unsigned int resolution, unsigned int numTiles, ……);
主要是前三个参数,unsigned int FFTGridSize, unsigned int resolution, unsigned int numTiles,如何理解?
海洋的大小如何计算?
还有,设置海洋无限大的时候,_oceanSurface->enableEndlessOcean(true);
这句话是如何实现无穷的,是让海洋一直跟着相机,还是怎样?
期待各位指点,谢谢。 |
|