- Home /
Question by
Dravid · Jan 19, 2017 at 11:28 AM ·
generationshipwavesocean
About Wake Waves Generation
Hi, iam facing problems in wake wave generation in Triton Ocean.Iam using following code snippet in the draw implementation function in triton drawable.cpp file
Triton::WakeGeneratorParameters parameters;
parameters.numHullSprays = 10.0;
parameters.spraySizeScale = 10.0;
parameters.sprayEffects = true;
parameters.bowWaveOffset = 100.0;
parameters.bowSprayOffset = 100.0;
parameters.beamWidth = 20.0;
parameters.length = 100.0;
parameters.propWash = true;
parameters.propWashOffset = 100.0;
Triton::WakeGenerator *ship = new Triton::WakeGenerator(_ocean,parameters);
ship->SetParameters(parameters);
ship->Update(Triton::Vector3(0.0, 0.0, 0.0), Triton::Vector3(2.8,0.0, 5.8), 20.0, 10.0, true);
Using this code my output is blocking how can i solve this and how can i achieve wake waves to the ship backside upon movement of the ship.For Movement of ship iam using keyboard pressing event and parameters are not setting how to set parameters.
Thanks, R.Rambabu
Comment
Your answer
Follow this Question
Related Questions
How can I achieve a breaking waves in an Ocean shader? 0 Answers
How do i make floating ship ? 0 Answers
Terrain height map influences ocean wave heights? 2 Answers
How to make an ocean by modifying a mesh 3 Answers
How to make weather change ocean waves 0 Answers