mesh - How to create water waves with Ogre3d WaterMesh class? -


i use water , watermesh classes ogre3d demos in order create water waves. moment added classes in project , create watermesh object in way:

    watermesh *watermesh;     watermesh = new watermesh("watermesh", 100.0f, 64); 

great, have water surface 100×100. create waves now. can it?is updatemesh should use?

looking @ source code think can push surface @ point, , watermesh compute resulting waves after delta time in updatemesh method. there seems no way create typical 'ocean' waves, unless modify source code.

but if it's need, use push(real x, real y, real depth, bool absolute) method.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -