EVERTims / game_engine_evertims

Blender (BGE) addon of the EVERTims project
MIT License
16 stars 7 forks source link

seems to work but #2

Open wrnice opened 6 years ago

wrnice commented 6 years ago

Hello !

I am trying the Evertims blender addon on a linux fedora x64 , with the idea to create a small audio only echolocation labyrinth ( you try to find your way in a maze using your ears, like a blind person would )

Compiling the raytracing client went fine, when started is outputs as expected :

Material: penkki already in the database. Initializing new writer. Path pattern = listener_1. Order: 0 - 1048576. Amount: 1048576. Host = localhost:3862 socket : OK bind : OK socket : OK ...

Compiling the Auralization engine seemed to go smooth, but when starting it outputs :

terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]' what(): Failed to open HRIR file: iostream error

After reading the issue on https://github.com/EVERTims/auralization_engine_evertims/issues/3 , I tried to use the binary that @thima2017 provides : link

This binary starts and plays files just fine.

Then in blender 2.79b , I installed the addon without problems, and configured it to use the raytracing client that I built, the mat file that is included, and the auralization engine from the above mentioned binary.

It seems to work all great, the template scene loads fine, I see in the blender console that the raytracing client is started, the EvertSE client is started, plays and loop my file great.

But , both in on the fly or BGE modes, if I move the listener or the source, or if I change the room size or material, I cannot hear any changes in the audio quality. I don't see any rays being traced in the 3d view either. :

screenshot

The console does show messages about things happening when I move Suzanne or the source : -> sent to 3858@127.0.0.1: /listener listener_1 0.11 0.0 -0.0 0.0 -0.0 0.11 0.0 0.0 0.0 -0.0 0.11 0.0 1.04 -0.81 -0.0 1.0

What could go wrong ? The console and logs are not very talkative, it seems everything goes fine. Maybe I have forgotten something ? Thanks !!

wrnice commented 6 years ago

I rebuilt my own Auralization engine from source, and added the data folder as per @thima2017 recommendation. Now it starts fine, plays wav file and doesn't complain. But inside blender, no changes so far.

It seems blender sends stuff to 3858 , I checked with netstat. But nothing answers !

EDIT : when changing the room size in blender, the logs in the auralization engine window DO show some changes. The audio remains unchanged though.

PyrApple commented 6 years ago

Do you have any log in blender console when you enable the "print raytracing client logs in console" in blender (and not "print local logs in Blender console")?