Programming and animation
Programming and animation ideas, articles, tutors, scripts, plugins in the 3d-
Tip: NPRuntime window handle
Posted on 23 July 2010 Neill No commentsI has found an interesting feature of a NPRuntime plug-in, when I initialize OpenGL rendering context to a particular window handle, and then I need to hide for a while and show a window in browser, using calls style.display = ‘none’ / ‘block’. As I turned out these calls are changing a window handle. This situation needs to specifically monitor, cause OpenGL context is loses.
Programming Browser, NPRuntime, Tips -
Tip: Increase last recently opened files count
Posted on 12 July 2010 Neill No commentsHint about increasing number of recently opened files in the main menu.In early versions of MotionBuilder configuration files are located in the directory with the program, bin / config.Starting from 2009 the configuration path has changed and now the path is in the local user data. Almost It’s for owners of Windows Vista and Windows 7.For example, for my user name “Neill” path is as follows:c: \ Users \ Neill \ AppData \ Local \ Autodesk \ MB2009 \ config \Now open a text document <username>. Application.txtwhere in the group “UserInterface” there is a property “MaxLastFiles” with the default 4. This value can be changed by yourself to see the required number of recently opened files in the menu.MotionBuilder Tips -
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. -
Mental Ray warn 542003
Posted on 12 June 2010 Neill No commentsI’ve opened a complex scene in Maya for render and for being able to see the cameras better, I’ve scaled them by 10. There are three cameras in the scene. And when it came to render from a camera with a close foreshortening to objects, mental ray could not complete visualization because of the many warnings like
warn 542003: suspect illegal geometry truncating, modify clipping plane
I’ve reverted a scale to 1.0 and solved a render problem.
Maya mental ray, Render, Tips -
nCloth tips
Posted on 9 June 2010 Neill No commentsA few notes on working with nCloth simulation in Maya.
Maya Dynamics, nCloth, Tips -
MotionBuilder UI, centered region
Posted on 3 June 2010 Neill No commentsTip, on how to centered a region. Not so long time ago I thought about this question and wish to share.
MotionBuilder OpenReality, Python, Tips, UI
Read the rest of this entry » -
GLSL shaders tips: NVidia and AMD difference.
Posted on 29 May 2010 Neill No commentsOn my personal experience in adaptation glsl shaders to AMD.I wrote “adaptation”, because this process can not be called in another manner, after setting up under the NVidia card.1) AMD does not like ARB_draw_buffers require flag in the shader. And if you do not specify any flag at all, shader compiles without any problems. But NVidia gives me a warning that I should include this flag to work with MRT.When the Cg shaders, there is another story, you need a ATI_draw_buffers flag.http://developer.nvidia.com/forums/index.php?showtopic=2572
http://developer.nvidia.com/forums/index.php?showtopic=2703&st=0&gopid=7686&#entry7686
2) AMD swears the presence sampler2DRect and sampler2D in one shader. Also from the category of “not paying attention” on such a warning.Graphics, Miscellaneous GLSL, OpenGL, shaders, Tips -
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 -
A little about Optitrack SDK and TrackIR
Posted on 24 April 2010 Neill No commentsIn this post I’ll tell you a little about the experience of working with Optitrack SDK and connecting the TrackIR.
Programming device, Optitrack, SDK, Tips, TrackIR -
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



English
Russian
Recent Comments