The TGLWaterplane is a mesh for displaying a realistic water surface with moving waves. The water waves are generated by rain drops whos concentration and force are defined in the raininterval and rainforce attributes respectively. It is possible to define a texture on the water plane to give the appearance of a reflection on the water plane by using a cubemap or a sphere mapped texture. Doesn't seem to work with a normal run of the mill texture. To use a run of the mill texture with the water plane change the TGLTexture mappingmode property to tmmSphere instead of tmmUser.
There is a version of the TGLWaterplane that includes smooth water waves that you might find on a calm ocean lake. For example:
Demo: CVS/Demos/specialsFX/waterplane
Demo: http://www.skinhat.com/GLSceneDemos/OceanWaterPlaneDemo3.zip
Unit: GLWaterPlane
Descends from TGLSceneObject.
Comments (0)
You don't have permission to comment on this page.