Sign In
MSDN Blogs
Microsoft Blog Images
More ...
Common Tasks
Blog Home
Email Blog Author
RSS for comments
RSS for posts
Atom
Archives
Archives
March 2012
(1)
October 2011
(1)
April 2011
(2)
March 2011
(1)
November 2009
(2)
August 2009
(2)
March 2009
(1)
January 2009
(1)
November 2008
(1)
August 2008
(2)
June 2008
(4)
February 2008
(4)
January 2008
(1)
August 2007
(1)
June 2007
(1)
April 2007
(2)
March 2007
(2)
February 2007
(4)
January 2007
(3)
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
MSDN Blogs
>
Weblog of Gopalakrishna Palem
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Weblog of Gopalakrishna Palem
Dealing with Qt out-of-order focusoutevent bug
Posted
3 months ago
by
Gopalakrishna Palem
Some call it as feature, others treat it as bug - be what it may, you still have to address this if your application depends on the order of events in Qt. Consider the case where you have a QLineEdit object with editingFinished() handler, along with...
Weblog of Gopalakrishna Palem
Never Even number for Multi-Monitor Bezel Correction
Posted
7 months ago
by
Gopalakrishna Palem
With latest NVidia Surround Vision and AMD Eyefinity advances combined with PCI-Express SLI and CrossFire facilities, multi-monitor setups at home and small firms have become a breeze (Couple of videos on YouTube demonstrate Multi-Monitor setups upto...
Weblog of Gopalakrishna Palem
Cross-platform Development Part 1: Few tools and libraries to get started with
Posted
over 1 year ago
by
Gopalakrishna Palem
Continuing from Getting started , here we will see some of the basic tools and libraries that one should be acquainted with to make the cross platform development fun and easy (while respecting the audience request to consider non-Windows platforms also...
Weblog of Gopalakrishna Palem
Getting started with Cross-platform development
Posted
over 1 year ago
by
Gopalakrishna Palem
They say if you do not eat, drink, sleep C/C++ - then the chances are you are not a real developer. Is it? May be, may be not. But certainly if you have not done cross-platform development or design, you cannot claim to be a good architect or developer...
Weblog of Gopalakrishna Palem
Alsa Driver for JDKMidi with RtMidi on Linux using C++0x Futures
Posted
over 1 year ago
by
Gopalakrishna Palem
One of the questions that I come across developers asking frequently is "what is the best C++ MIDI library". It often goes unanswered unequivocally. The reason being, despite the presence of numerous C++ MIDI libraries out there, there is no single...
Weblog of Gopalakrishna Palem
Temple scene with Maya Fluids, Particle Dynamics and Realflow Meshes
Posted
over 3 years ago
by
Gopalakrishna Palem
Here is a brief demonstration of Maya fluids, particle dynamics and Nurbs combined together to create an early morning Temple scene effect. The light source is being animated with soft body particle dynamics, while the smoke emitting from sticks is typical...
Weblog of Gopalakrishna Palem
Animating a Tree Growth
Posted
over 3 years ago
by
Gopalakrishna Palem
Here is a brief demonstration of tree growth animation in Vue. Animating the Diameter, Gnarl, Falloff, length and other related parameters gives the required result. Also note the growing grass at the base of the tree and the animated clouds. For...
Weblog of Gopalakrishna Palem
Fixing JDKMidi to auto sort MIDI Events
Posted
over 3 years ago
by
Gopalakrishna Palem
After reviewing many existing C/C++ MIDI libraries, it appears JDKMidi seems to be the one having the features required by many midddlware libraries. However, JDKMIDI library (as of Revision 560) suffers a huge drawback of not being able to auto sort...
Weblog of Gopalakrishna Palem
Maya 2010 to include Compositing and Camera Tracking Tools
Posted
over 3 years ago
by
Gopalakrishna Palem
Autodesk, as usual, announced its next version of Maya at Siggraph. The interesting part, however, is the range of tools planned to be shipped as part of it: Maya Composite high dynamic range compositing system Matchmoving camera tracking...
Weblog of Gopalakrishna Palem
How to make QT SDK work with VisualStudio 2008 (Express/Complete)
Posted
over 3 years ago
by
Gopalakrishna Palem
You can use the following steps to make QT SDK work with your Visual Studio 2008 (either express version or commercial version). Download the QT SDK from http://www.qtsoftware.com/downloads/sdk-windows-cpp If you do not have VisualStudio 2008...
Weblog of Gopalakrishna Palem
How to make my water surface animate in Vue?
Posted
over 3 years ago
by
Gopalakrishna Palem
When a Water object is added to the Vue scene, it will be in a staic form without any animation applied to its surface. If you would like to have the water surface animated, then we have to enable its Displaced Water Surface property. This property allows...
Weblog of Gopalakrishna Palem
Listing the codecs intalled on the machine
Posted
over 4 years ago
by
Gopalakrishna Palem
Often an application requires to list all the Audio/Video compressors installed on the machine. We can achieve this easily with the ICreateDevEnum interface available from DirectShow. ICreateDevEnum exposes a method named CreateClassEnumerator that...
Weblog of Gopalakrishna Palem
Displaying the currently selected components with MSelectionList
Posted
over 4 years ago
by
Gopalakrishna Palem
The MGlobal::getActiveSelectionList() offers a convenient way of accessing the currently selected objects in the view. However, if you wish to find the selected components then you need to use the MSelectionList's getDagPath() method. It returns the dagPath...
Weblog of Gopalakrishna Palem
How to find the Shading Groups for a Shape node in Maya API?
Posted
over 4 years ago
by
Gopalakrishna Palem
Given the DagPath for any Mesh object, listing the Shading Groups connected to it is easy. The MFnMesh::getConnectedSetsAndMembers() will do the trick as shown below: MStatus ListShadingGroups(const MDagPath& inputShapeDagPath) { if(inputShapeDagPath...
Weblog of Gopalakrishna Palem
Tracking C++ variable state changes
Posted
over 4 years ago
by
Gopalakrishna Palem
Tracking class variables' state changes can be tricky, especially if we are using too many asynchronous constructs. This is especially true for game and graphic application scenarios where hundreds and perhaps even thousands of object fly around...
Weblog of Gopalakrishna Palem
Having trouble with PoserFusion Shelf in Maya?
Posted
over 4 years ago
by
Gopalakrishna Palem
If you are encountering errors with Poser Fusion shelf buttons in Maya such as "Error: No Selection, or the Currently Selected object is not linked to a Poser file", then try the below steps and see if its helps. First of all ensure that your...
Weblog of Gopalakrishna Palem
How to create and manipulate Terabyte size Arrays with Win32API
Posted
over 4 years ago
by
Gopalakrishna Palem
If you are looking for a way of creating and accessing very large arrays, arrays that can handle content in the order of Tera Bytes, then probably you might find the File Mapping techniques useful for that purpose. File mapping is the association of...
Weblog of Gopalakrishna Palem
Multiplication Circuit for Prime Factorization
Posted
over 4 years ago
by
Gopalakrishna Palem
Deriving a multiplication circuit for the Prime Factorization problem is trivial if you know how to convert the arithmetic and relational expressions into propositional logic. Below I will show few expressions and their corresponding CNF formulation...
Weblog of Gopalakrishna Palem
How to check if my code is executing inside a Managed App or Native App?
Posted
over 4 years ago
by
Gopalakrishna Palem
If you check the CRT source code (inside VC\crt\src\crt0.c ) you can find an interesting function check_managed_app() that returns 1 if managed app, 0 if not based on the COM Runtime Descriptor in the Image Data Directory of the PE or PE+ header. ...
Weblog of Gopalakrishna Palem
Well-designed libraries
Posted
over 4 years ago
by
Gopalakrishna Palem
It is very rare that we come across a well-designed library every day, and even rare that we get a chance to work on them on daily basis. While it is hard to define what makes any given library "well-designed", it is rather easy to identify what is not...
Weblog of Gopalakrishna Palem
Populating a tree control with Maya DAG Nodes
Posted
over 4 years ago
by
Gopalakrishna Palem
MItDag offers a convenient way to iterate over the DAG nodes in any Maya scene, but not in a way that is useful for populating the visited nodes in a Windows tree control. This is because MItDag gives a linear list of nodes that make it a little...
Weblog of Gopalakrishna Palem
Browse folder dialog in MLibrary::initialize
Posted
over 4 years ago
by
Gopalakrishna Palem
If you are encountering an empty message box followed by a browse folder dialog in for MLibrary::initialize Open Maya SDK 2008, then the chances are that you can resolve the problem by defining the MAYA_LOCATION environment variable. Define the MAYA_LOCATION...
Weblog of Gopalakrishna Palem
Remove Data-dependencies
Posted
over 4 years ago
by
Gopalakrishna Palem
Are you planning to remove data-dependencies in your logic? You might find the below useful. Statement Block Constant Time Equivalent x++; if(x >= MAX_SIZE) x = 0; x = ( x + 1 ) % MAX_SIZE;...
Weblog of Gopalakrishna Palem
Self-reference Vs. Self-reproduction
Posted
over 5 years ago
by
Gopalakrishna Palem
As an answer to the question "are there finite mathematical descriptions that are not effective" posed by Hilbert, Turing provided the halting function as being not effectively computable despite being finitely expressible. This he established by devising...
Weblog of Gopalakrishna Palem
Having hard time marshalling parameters from C++ to .Net?
Posted
over 5 years ago
by
Gopalakrishna Palem
If you are finding it difficult to send parameters from C++ to .Net, try if you can use the following class: -------------------------------------------------------------------------------------------------------------------------------- #ifndef...
Weblog of Gopalakrishna Palem
How to return String-Arrays from C++ COM component to C#?
Posted
over 5 years ago
by
Gopalakrishna Palem
Want to return an array of strings from native COM component to managed code? You need to declare the string array as SAFEARRAY(VARIANT) in the COM code. IDL for the function that returns the array of strings for the COM component would look...
Weblog of Gopalakrishna Palem
Rent the OS
Posted
over 5 years ago
by
Gopalakrishna Palem
Wouldn't it be nice if we could make our OS pay-per-use? We could rent our OS and all the required programs and let the customer pay per day or month as per his usage. We could host all our office programs, all our OS on Windows Live and let the users...
Weblog of Gopalakrishna Palem
Avoid Registration Free COM manifest problems with Activation Context API
Posted
over 5 years ago
by
Gopalakrishna Palem
Having difficulties while loading the Side-by-Side assembly manifests for Registration-Free COM? Perhaps Activation context API could come to your rescue (Ref: http://msdn2.microsoft.com/en-us/library/aa374166.aspx ). The activation context...
Weblog of Gopalakrishna Palem
How to Modify Managed Strings in Native Code?
Posted
over 5 years ago
by
Gopalakrishna Palem
Want to modify a managed string passed to a native function? I collected two ways of doing it. Either you can use System::Text::StringBuilder mechanism or you can use the array method mentioned at http://msdn2.microsoft.com/en-us/library/s04yfy1s(VS.80...
Weblog of Gopalakrishna Palem
Sequence Modeling
Posted
over 5 years ago
by
Gopalakrishna Palem
Starting a new page at http://blogs.msdn.com/gpalem/pages/sequence-indexing.aspx to discuss research ideas on the theory of sequence indexing and Sequence Modeling
Page 1 of 2 (35 items)
1
2