Programming and animation
Programming and animation ideas, articles, tutors, scripts, plugins in the 3d-
SMTP send
Posted on 13 June 2010 Neill No commentsA good example of sending mail is here - https://forum.antichat.ru/printthread.php?t=44490
Programming C++, Delphi, smtp, Tips, Win32
If you need a port to C + +, write to me.
P.S. Practice has shown that the service mail.ru better not to deal with. Half day caught cause loss of messages such as “mailbox does not exist”, while the same yandex sent no questions asked. -
Note about a sniffer code
Posted on 10 May 2010 Neill No commentsOn the internet I have found a lot of information and sample code to implement the injection of dynamic link library into an executable module. Most of examples originate from Jeffrey Richter. What I have observed, a lot of these examples forget to exit from thread in the sniffer library. This is particularly as a rule in examples for Delphi. Without this command, the executable file, which we produce injection will simply fall down. So, do not forget to leave the thread.
ExitThread(0);
Programming C++, Tips -
Qt and messages queue
Posted on 24 April 2010 Neill No comments
Out of habit, with WinApi you need to find a substitute for SendMessage, PostMessage in Qt, so that some operations less meaningful and more demanding to defer for a period of message processing, but not during the execution of the interrupt handler, or any triggers.
Programming C++, Qt -
OR SDK and STL string
Posted on 6 February 2010 Neill No commentsOR SDK and STL string together generate a 118 error when compiling from error C2365: ‘operator new’: redefinition; previous definition was ‘function’It seems to be why they combine, because in the OR SDK has a class for the line – FBString. However, with such a challenge comes when you want to connect third-party libraries or their development, often it’s all tied to the STL string and get rid of that there is no possibility.OR SDK and STL string together generate 118 errors when compiling from error C2365: ‘operator new’: redefinition; previous definition was ‘function’
It seems that there is no reason to combine them, because in the OR SDK there is a class for the string – FBString. However, such a challenge comes when you want to connect third-party libraries or own development, often it’s all tied to the STL string and get rid of that there is no possibility.
MotionBuilder, Programming C++, OpenReality, SDK, string, Tips -
AREA: Exposing functions to the Python
Posted on 8 October 2009 Neill No commentsThe portal Autodesk AREA branch will be interesting to discuss how to export a C ++ function for a MoBu python.
User Petr Man offers a good solution to this, so that anyone having this kind of need to necessarily look at
MotionBuilder, Programming C++, overview, Python, Tips -
Minidump for VisualStudio and GCC
Posted on 26 September 2009 Neill 1 commentWhat is a minidump? Now, if the client application was launched from the debugger, then when an error occurs, the debugger would show a stopping place in the code and it would be possible to see variable values at the time of the crash. So minidump snapshot, with which you can do the same, but without running the debugger. The client runs your application, and from crashing minidump, you can determine where is the place of failure.
Programming C++, debug, GCC, minidump, overview, Tips, VisualStudio, Win32
But the way of creation this minidumps differ in VisualStudio and GCC. -
VBO tips and tricks
Posted on 15 September 2009 Neill No commentsUntil now, the moment I took some of the stereotypes about how to draw the geometry means OpenGL, which after a series of tests had to be overcome.
Graphics, Programming C++, OpenGL, Tips, VBO -
UIBuilder source code is now avaliable!
Posted on 11 September 2009 Neill No commentsA high loading state of the last few days led me to believe that a useful tool would be good to lay eyes on the public with the source code freely available.
MotionBuilder, Programming C++, OpenReality, Plugin, Python, Source, Tool, UI
Read the rest of this entry » -
XML
Posted on 9 September 2009 Neill No commentsI discover the flexibility of the *.xml format and now even I plans to remake save / load for UIBuilder to xml. Of course convenience format largely depends also on your editor – himself picked XML Maker, very pleased. In most it has markup and tips on grammar, the editor has the opportunity to present data in tabular form.
Programming C++, Tips, xml
With regard to programming, but here I stopped at tinyxml, not discerning and well-equipped library.
In general dumping down all the documents and logs, it’s time to put things in order! -
GLSL: missing uniform location
Posted on 9 September 2009 Neill No commentsI have faced with such a feature of the GLSL compiler. If the variable is not used in the shader, then find its location there would be no possibility, it is simply truncated from the shader.
The search function on behalf of the Uniform position.
int loc = glGetUniformLocationARB (, ); Moreover, even if caught insidious, like the variable is used, but the result of further calculations is not, and that’s why, again, to find the ancestral variable is not possible.
Graphics, Programming C++, GLSL, OpenGL




English
Russian
Recent Comments