Replies: 8 comments 3 replies
-
I still cant figure out any of the issues listed above because there are no errors or warnings. The compiled exe has issues with anti aliasing and mouse input. This last time it produced a kinc.dmp file (attached). Any help to know what to look for would be appreciated. Thank you |
Beta Was this translation helpful? Give feedback.
-
Hardware anti-aliasing is generally not something you should rely on. That not working might be our fault or might be the OpenGL driver's fault. The mouse problem report is not very precise so no idea. |
Beta Was this translation helpful? Give feedback.
-
The mouse issue only happens in the compiled exe. It does not happen in the html debug. And Krom just doesn't work via vs code anymore, no errors or warning no window pops up. Ive even compiled from source. I wish i could give you more information than that. For AA im using this line of code Thank you for the help. |
Beta Was this translation helpful? Give feedback.
-
Yes, that's the kind of anti-aliasing you should not rely on. But I think I didn't understand you right at first - when you compiled it I thought you were still talking about Krom but you just compiled your Kha program, right? In that case you can just run it in Visual Studio to easily debug crashes. I also don't recommend using OpenGL on Windows. Still can't say anything about "there are some mouse issues". |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help, Ive been tracking down one of my problems with your sugestions. I fixed the mouse issue by re-writing a chunk of code. But I still don't know why there was a difference between a compiled version and the HTML debug version. But Its fixed. My last issue is that Krom debug still doesn't work via vs code, the window never pops up and does not provide errors. Additionally I have a couple of questions:
Exception thrown: read access violation. kinc_g5_command_list_clear(kinc_g5_command_list * list, kinc_g5_render_target * renderTarget, unsigned int flags, unsigned int color, float depth, int stencil) Line 155 C++
Thanks for the help. |
Beta Was this translation helpful? Give feedback.
-
So what exactly was up with the mouse? |
Beta Was this translation helpful? Give feedback.
-
You do not need the D3D11 SDK. For Kha and Kinc the Windows target - the one which is only called "Windows" - is the Direct3D11 target. |
Beta Was this translation helpful? Give feedback.
-
Oh, this is the right place, I thought this is a GitHub issue, uups. Just open another thread so things are sorted and all is good. |
Beta Was this translation helpful? Give feedback.
-
I haven't been able to run Krom via visual studio code for a while. Im on windows 10, just updated my Kha and Krom bin repository. Ive also compiled Krom from source code with no luck. No errors are produced it just does not run.
Ive also tried to do a full build with OpenGL, it compiled but when I ran the program it behaved differently than running from visual studio code via html. The antialiassing was not working and the mouse interaction was not working all of the time.
Ive deleted both the Kha and Krom_bin repository and re-cloned them with no change.
Thanks for the help.
Beta Was this translation helpful? Give feedback.
All reactions