OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLWaterPlane

image

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:

image

Demo: CVS/Demos/specialsFX/waterplane
Demo: http://www.skinhat.com/GLSceneDemos/OceanWaterPlaneDemo3.zip

Unit: GLWaterPlane

Descends from TGLSceneObject.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0434 seconds