| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

TGLWaterplane

Page history last edited by PBworks 18 years, 7 months ago

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.