Another Dimension – how much difference can it make?

 

Here is an interesting article about stereoscopic movies,
http://www.time.com/time/magazine/article/0,9171,1886541-3,00.html

 

    One theory, James Cameron says, is that 3-D viewing "is so close to a real experience that it actually triggers memory creation in a way that 2-D viewing doesn't." His own theory is that stereoscopic viewing uses more neurons. That's possible. After watching all that 3-D, I was a bit wiped out. I was also totally entertained.

Well, its real because of another dimension and much more entertaining, but does it change the story at all? It can make the whole experience more frightening or live but movies like Schindler's List and The Silence of the Lambs can frighten you with its story and performances without any technology.

Its just me being too focused of story, maybe this another dimension opens new frontiers in storytelling and performance.

Create a new Camera Node

M3dView view;
MObject camera;
MDagPath cameraPath;
// create new camera
view = M3dView::active3dView(&status);
MFnCamera fnCamera;
fnCamera.create(camera,NULL);

Maya Plugin Development Primer

Here are few steps for developing plugins from scratch and not using the wizard, thanks to Rob Bateman for most of the info,

1. Create dll project
2. add a c++ file to it
3. change the output extension to mll
4. change project settings->C/C++->Code generation to Multi-threaded or Multi-threaded-debug
5. add NT_PLUGIN & REQUIRE_IOSTREAM to the C/C++ -> pre-processor defines in the project settings
6. set the library and include paths to the maya API (additional include directories, and additional lib directories (Foundation.lib, OpenMaya.lib)

in the cpp file:
//
#include <maya/MFnPlugin.h>
#include <maya/MPxCommand.h>
//
// link libs under VisualC++/Win32
#ifdef WIN32
#pragma comment(lib,"Foundation.lib")
#pragma comment(lib,"OpenMaya.lib")
#pragma comment(lib,"OpenMayaFx.lib")
#pragma comment(lib,"OpenMayaUi.lib")
#pragma comment(lib,"Image.lib")
#pragma comment(lib,"OpenMayaAnim.lib")
#pragma comment(lib,"OpenGl32.lib")
#pragma comment(lib,"glu32.lib")
#endif

#ifdef WIN32
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#endif
//--------------------------------------------------------------------------------------------------
class helloCmd : public MPxCommand{
public:
virtual MStatus doIt(const MArgList&);
static void *creator(){
return new helloCmd;
}
};
//--------------------------------------------------------------------------------------------------
MStatus helloCmd::doIt(const MArgList& args){
MStatus status = MS::kSuccess;
MGlobal::displayInfo("Hello\n");
setResult("initialized");
return status;
}
//--------------------------------------------------------------------------------------------------
EXPORT MStatus initializePlugin( MObject obj )
{
MStatus status;
MFnPlugin pluginFn( obj, "Vishang Shah", "1.0");
status = pluginFn.registerCommand("helloCmd",helloCmd::creator);
if(!status)
  status.perror("registerCommand Failed");
return status;
}
EXPORT MStatus uninitializePlugin( MObject obj)
{
MFnPlugin pluginFn( obj );
MStatus status;
status = pluginFn.deregisterCommand("helloCmd");
if(!status)
  status.perror("deregister failed");
return status;
}
//--------------------------------------------------------------------------------------------------