rate up
1
rate down
DirectInput and Md5 file
I try to catch the pressure of mouse buttons but it doesn't give me a feedback .[https://github.com/Masesasso/D3d.git][Here the code] Another question, there is a way to convert .fbx or .dae file in to .md5 and .md5anim file?
rate up
1
rate down
First of all you can convert in using a 3D software or a converter, just load it end export. If you use some plugins you should do it with free Blender As of mouse it is wrong placed, move it up. I don't tell you where right now cause I on a phone but as I see you use one clear depth at the beginning of a function a a second on the end, just remove mouse from second and add it to the first one
Comments
Thank you for your answer. If I remove clearDepth it doesn't change because my problem is not draw the text but instead change the value of the bool variable mouse. I upload the new code in the link in the question.
on Feb 12 `18
Mase
Wait, you are drawing the text but mouse handling is not working?? I just wonder why are you using Direct Input instead WinAPI. I cannot compile it now since I am not at home but I think you should set a breakpoint in mouse click region and check it, maybe you check it wrong
on Feb 12 `18
maxiorek82
I solved the problem. As index of rgbButtons I put 0 instead of DIMOFS_BUTTON0 and now it works.
on Feb 13 `18
Mase
So in that region which I was suggesting, debugging is a must in programming, sometimes you spend much time on debugging or learn how to use asserts
on Feb 13 `18
maxiorek82
Sign in to answer!