[osg-users] Declaring and using Vec3d and other.

2009-11-07 Thread Danny Riflko
Hi, If I use in the main: Vec4d C1 = Vec4d (1, 1,1, 1); Then the vector has garbage in it. But if I declare Vec4d C1 = Vec4d(); before main, then I can use the setter in the main to put some values in it, and it works. Why is that? How does that work? Thank you! -- Read this

Re: [osg-users] Declaring and using Vec3d and other.

2009-11-07 Thread Danny Riflko
Hello, it seems the error I was referring to was simply because I debugged (Step Into) with release mode in Visual C++ 2008 Express Edition. Here is a screenshot. The content of C12 is garbage. So it was a noob question. robertosfield, could you remove my e-mail from the post? The bots can pick

Re: [osg-users] Declaring and using Vec3d and other.

2009-11-07 Thread Danny Riflko
Can't you simply edit the post and delete the e-mail. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19329#19329 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegra

[osg-users] getWorldMatrices of Node

2010-01-15 Thread Danny Riflko
Hi, I'm using getWorldMatrices of Node to transform local coordinates to world coordinates. Code: hipsT->addChild(rightHipT); rightHipT->addChild(rightKneeT); rightKneeT->addChild(rightAnkleT); rightAnkleT->addChild(rightFoot); scene->addChild(hipsT); osg::MatrixList worldMatrices = rightFoot-

Re: [osg-users] getWorldMatrices of Node

2010-01-15 Thread Danny Riflko
Then why std::cout << worldMatrices.size() << std::endl; says it's 1? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22741#22741 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://li