Search Unity

Triton Oceans and 3D Water for Unity Pro / Windows [DEPRECATED]

Discussion in 'Assets and Asset Store' started by sundog, Sep 20, 2012.

  1. Dravid

    Dravid

    Joined:
    Jan 18, 2017
    Posts:
    2
    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
     
  2. Dravid

    Dravid

    Joined:
    Jan 18, 2017
    Posts:
    2
    How to set the parameters for wake generator in triton ocean ? Iam setting the parameters but wake wave is coming but parameters are not setting.