This thread will probably take a long time for me to actually move on, I am thinking ahead as it were. The idea is to write a peice of code either in HTML5, WebGL, or an XPI or JAR addon/extension for browsers to enable web browsers to run Blender3D games in a browser tab and or scaled to given proportions with-in a page.
This was already partially created years ago by another coder as a browser addon, but that was for Blender3D 2.42 (ancient) and was not fully functional (it ran games more or less in Object mode of blender itself, and may not have supported GLSL shading). From what I found after enquiring about how he did it years ago, he said rather than rewrite blenderplayer as a browser addon, he found a way to interpret game.blend+blenderplayer.exe and grab the graphical and audio output then scale that into the given window of the web browser. while doing this blender nor blender player would be visibly open nor running outside the browser, however they had to be installed and findable on that machine in a given directory, same with python. For mouse location and key presses he fed these to the interpreted program scaled to proportion from actions in the browser tab.
So that is the goal here, to find a way to interpret blenderplayer.exe from file and grab the graphical and audio output it would normally render in the game engine/window then scale this to the given specifications in a tab or page. then use this same program to feed keypresses and mouse keys and wheel et cetera + pointer location scaled back to the interpreted program.
I am at best a novice in all of the listed languages, however I have a history in many different languages and am an expert in datahandling in python and AS2 and AS3 so it shouldn't be too hard to adapt. C languages are the only ones I cannot understand for the life of me.
Help and pointers about where to begin on these specific functions would be appreciated.
This was already partially created years ago by another coder as a browser addon, but that was for Blender3D 2.42 (ancient) and was not fully functional (it ran games more or less in Object mode of blender itself, and may not have supported GLSL shading). From what I found after enquiring about how he did it years ago, he said rather than rewrite blenderplayer as a browser addon, he found a way to interpret game.blend+blenderplayer.exe and grab the graphical and audio output then scale that into the given window of the web browser. while doing this blender nor blender player would be visibly open nor running outside the browser, however they had to be installed and findable on that machine in a given directory, same with python. For mouse location and key presses he fed these to the interpreted program scaled to proportion from actions in the browser tab.
So that is the goal here, to find a way to interpret blenderplayer.exe from file and grab the graphical and audio output it would normally render in the game engine/window then scale this to the given specifications in a tab or page. then use this same program to feed keypresses and mouse keys and wheel et cetera + pointer location scaled back to the interpreted program.
I am at best a novice in all of the listed languages, however I have a history in many different languages and am an expert in datahandling in python and AS2 and AS3 so it shouldn't be too hard to adapt. C languages are the only ones I cannot understand for the life of me.
Help and pointers about where to begin on these specific functions would be appreciated.