Bot Research

From FHU Wiki
Jump to: navigation, search

From Discord chat by HumbleTim

 

re: interface -- (while working remote a few years back) i ended up on this crappy laptop having only opengl 3.1 support, so started hacking together a "blind" version of interface by #ifdef'ing out rendering code out. a problem dropping to opengl 3.1 was that to configure audio devices etc. you still need to access the QML 2D dialogs, but by default those end up composited as part of the main 3D pipeline. technically it worked but the way i did it eventually proved too difficult to maintain in parallel.

[4:18 PM]

re: tools/ac-client -- this gets you basic networking to the mixers and is definitely the leanest option, but literally you have to roll back in or otherwise recreate everything else yourself (like even showing up in the pal turns out to be tricky and you'll have to recreate and map Qt audio layers by hand if wanting to say pipe in OS microphone or output to speaks).

[4:19 PM]

i recommend looking at assignment-client/assignment-client -- it has the headless genetic material for avatar and audio you probably want. is not trivial to adapt, but easier i'd say in the long term than gutting interface or starting over with ac-client. if curious to research i recommend playing with some AC scripts (added via domain admin panel) and observing what happens when you set Agent.isAvatar = true (the recording app's playback mechanism uses that aspect to emulate avatars and microphone audio..). Agent.cpp and ScriptableAvatar.cpp have the corresponding genetic material.