-
-
-
Robert
I have a super silly request: Can you maybe repeat that question by starting a GitHub discussion at https://github.com/Kode/Kha/discussions because I think nobody dares to go first? To make up for that inconvenience I actually made a sample for you (I already added it to https://github.com/Kha-Samples/).
-
Robert
Aha! Null problemo and thanks for finding and adding more data to the issue.
-
Robert
As I said, it's likely a bug. And what you should do with a bug is report it on GitHub so that this Robert guy doesn't forget to fix it.
-
Robert
I think that's actually a bug in Kha as you'd normally wouldn't do it this way. You'd instead just call g.drawIndexedVertices(0, 6);
What target are you using? -
Robert
Hello folks,
this forum is now deprecated - please use https://github.com/Kode/Kha/discussions, https://github.com/Kode/Kinc/discussions and https://github.com/Kode/Krom/discussions instead.
Best regards,
Robert -
Robert
Videos are supported in shaders and that's where you can also apply chroma-keying (you can search the forum for instructions on how to do that).
Camera feeds are supported using kha.capture.VideoCapture API but that hasn't been implemented for mobile targets so far.
No speech to text, also no plans to add that. -
Robert
Hm, the makefile doesn't seem to do anything special. Looks to me like you should bring up this issue with the emscripten developers.
I use WSL for emscripten development by the way because the whole emscripten toolchain seems to be more at home on Linux. -
Robert
Looks like an emscripten setup issue, it can't seem to find your python.exe. Can you compile regular emscripten projects?
PS: And as you're saying python is at that path - maybe it needs to use a cygwin style path (/cygdrive/d/...). But anyway, get regular emscripten projects going first.
-
Robert
Hmm, yes, that's definitely important. Please open a GitHub issue, will try to get that in soon.
-
Robert
Ah, that tells us what's going on. Electron (which is used to run html5-debug builds) can not enable WebGL on your system (might be a black-listed driver or whatever) and then loading shaders of course fails.
-
Robert
But that works fine for me. Can you show me the complete build output?
-
Robert
But but... that makes no sense. What exactly do you mean by compiling in debug mode?
-
Robert
Kha and its submodules are not in sync (that's what the first line in the build output tries to tell you). Have a look at the "Updating Kha" paragraph at https://github.com/Kode/Kha/wiki/Getting-Started
-
-
Robert
Looks like the stride is not calculated correctly. Please open an issue on GitHub.
-
Robert
Can not reproduce that, please show us your complete build output.
-
-
Robert
Your project works for me, I see a red triangle. Is your Kha up to date?