RE: OpenGL captcha
Hi Andrew, Prior to the Tool SDK 3rd party tools would often bypass the SDK and hook into the windows message loop directly but that is a messy process. Sounds like the approach you are taking is the only way to do this within the tool SDK. The tool SDK was one of the last things I did on Softimage and I'm pleased with the way it turned out since I really only had one chance to get it right. Good luck! -- Brent From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Andrew Prostrelov Sent: 24 May 2016 21:36 To: softimage@listproc.autodesk.com Subject: Re: OpenGL captcha "OpenGL captcha realisation" - i'm sorry for this strange sentence. I'm not very familiar with OpenGL and SDL theory. So, its easier to write details of a task. What i want is to find a way to capture all user pressed numerical keys after he press TAB key and show the result in viewport. Unfortunately the only way i find to do that is to register all numerical keys after TAB key was pressed and catch them in Tool KeyDown() callback untill we press TAB key again. And to give user feedback on numbers he enter we draw ogl string in Draw() callback. By the way earlier in the morning i googled you message here in group about "cppsrc_boxtransformtool". And i wanna thank you alot for that awesome tool. I learn so much from it. So sad that there are alot of interesting function and classes in XSI API but we never would get its src code. <>-- Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.
Re: OpenGL captcha
"OpenGL captcha realisation" - i'm sorry for this strange sentence. I'm not very familiar with OpenGL and SDL theory. So, its easier to write details of a task. What i want is to find a way to capture all user pressed numerical keys after he press TAB key and show the result in viewport. Unfortunately the only way i find to do that is to register all numerical keys after TAB key was pressed and catch them in Tool KeyDown() callback untill we press TAB key again. And to give user feedback on numbers he enter we draw ogl string in Draw() callback. By the way earlier in the morning i googled you message here in group about "cppsrc_boxtransformtool". And i wanna thank you alot for that awesome tool. I learn so much from it. So sad that there are alot of interesting function and classes in XSI API but we never would get its src code. -- Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.
RE: OpenGL captcha
Not sure what you mean by "OpenGL captcha realisation" but EditTextString is not using OpenGL and just displays a windows text editing control on top of the OpenGL viewport. The reason why it can only be used in the MouseUpCallback is because control will be transferred to the edit control. I seem to remember that bad things will happen if it is called from mouse down or drag which is why it is disallowed. :-) -- Brent From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Andrew Prostrelov Sent: 22 May 2016 19:14 To: softimage@listproc.autodesk.com Subject: OpenGL captcha Oh can't wait to test it am digging through bboxtransfromtool from XSI API examples and there are intersting OpenGL captcha realisation used in this tool. But the problem is that ToolContext.EditTextString() available from CustomTool.MouseUp() callback only. So i guess maybe some one have any ideas about OpenGL captcha realisation so we can use it from any place of a plugin Tool. Maybe some link or anything ? The part of tool that i talking about called DimensionTool or something like that. <>-- Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.