Coder Social home page Coder Social logo

Comments (10)

alessandrofama avatar alessandrofama commented on July 19, 2024

We don't include Convolution by default, since it is not a stock plugin.

You would need to build the binaries yourself and include the convolution plugin like in the example command you posted. Do you need any help with that?

from wwise-godot-integration.

smksnutmeg avatar smksnutmeg commented on July 19, 2024

Aha this now makes sense! I am going to give it a try and come back to you if I have any issues! Thank you!

from wwise-godot-integration.

smks avatar smks commented on July 19, 2024

Is there a user friendly guide on all the steps required that I can follow? I see there is a pre-requisite to building the original Godot bindings.

from wwise-godot-integration.

smks avatar smks commented on July 19, 2024

I'll start here
https://docs.godotengine.org/en/latest/development/compiling/index.html

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 19, 2024

you don't need to compile whole Godot. Check this tutorial: https://www.youtube.com/watch?v=u4OmyevtdUQ

The steps in brief: clone this repo, then build the cpp bindings:

cd godot-cpp
scons platform=windows target=debug generate_bindings=yes -j4 (number of cpu cores)
scons platform=windows target=release generate_bindings=yes -j4 (number of cpu cores)

then cd to wwise-gdnative and execute scons again:

scons target=debug platform=windows wwise_sdk="%WWISESDK%" plugins=convolution target_path=bin/
scons target=release platform=windows wwise_sdk="%WWISESDK%" plugins=convolution target_path=bin/

from wwise-godot-integration.

smks avatar smks commented on July 19, 2024

Nice thanks!

scons target=release platform=osx wwise_sdk=/Applications/Audiokinetic/Wwise\ 2021.1.2.7629/SDK plugins=convolution target_path=bin/
scons: Reading SConscript files ...
Wwise SDK headers path: /Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include/
Wwise SDK libs path: /Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/Mac/Release/lib/
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/wwise_gdnative.os -c -std=c++14 -g -O3 -arch x86_64 -fPIC -DAK_OPTIMIZED -DAK_CONVOLUTION -I. -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/godot-headers -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/include -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/include/core -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/include/gen -Isrc "-I/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include" "-I/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/samples/SoundEngine/POSIX" src/wwise_gdnative.cpp
src/wwise_gdnative.cpp:851:17: error: no member named 'occlusion' in 'AkAcousticSurface'
                akSurfaces[0].occlusion = occlusionValue;
                ~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:948:22: error: no viable overloaded '='
        portalParams.Extent = akExtent;
        ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include/AK/SpatialAudio/Common/AkSpatialAudio.h:160:8: note: 
      candidate function (the implicit copy assignment operator) not viable: no known
      conversion from 'AkVector' to 'const AkExtent' for 1st argument
struct AkExtent
       ^
/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include/AK/SpatialAudio/Common/AkSpatialAudio.h:160:8: note: 
      candidate function (the implicit move assignment operator) not viable: no known
      conversion from 'AkVector' to 'AkExtent' for 1st argument
src/wwise_gdnative.cpp:1697:18: error: no member named 'uDiffractionFlags' in
      'AkSpatialAudioInitSettings'
        spatialSettings.uDiffractionFlags = static_cast<unsigned int>(
        ~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1700:18: error: no member named 'fDiffractionShadowAttenFactor' in
      'AkSpatialAudioInitSettings'
        spatialSettings.fDiffractionShadowAttenFactor = static_cast<float>(getPlatf...
        ~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1703:18: error: no member named 'fDiffractionShadowDegrees' in
      'AkSpatialAudioInitSettings'
        spatialSettings.fDiffractionShadowDegrees = static_cast<float>(getPlatformP...
        ~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1721:18: error: no member named 'bEnableDirectPathDiffraction' in
      'AkSpatialAudioInitSettings'
        spatialSettings.bEnableDirectPathDiffraction = static_cast<bool>(getPlatfor...
        ~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1724:18: error: no member named 'bEnableTransmission' in
      'AkSpatialAudioInitSettings'
        spatialSettings.bEnableTransmission = static_cast<bool>(
        ~~~~~~~~~~~~~~~ ^
7 errors generated.
scons: *** [src/wwise_gdnative.os] Error 1
scons: building terminated because of errors

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 19, 2024

It is trying to use SDK 2021.1.2.7629 but we support 2019.2.1.7250. If you have both installed you can replace %WWISESDK% with the path to the correct SDK.

from wwise-godot-integration.

smks avatar smks commented on July 19, 2024

Got you, thanks! I will change to the one supported!

from wwise-godot-integration.

smksnutmeg avatar smksnutmeg commented on July 19, 2024

All working now! Brilliant thanks as always!

from wwise-godot-integration.

alessandrofama avatar alessandrofama commented on July 19, 2024

Great to hear! Cheers!

from wwise-godot-integration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.