Re: [osg-users] How to manipulate node in loaded model.

2011-08-18 Thread Kataev Victor
Of course. I found solution by inserting POV between node, which i want to rotate/transform, and it's parent. It's work fine, but I'm not sure that this solution is correct. I mean, if i have 3d-model in 3ds/obj, what right way to manipulate one or few of its node? Victor --

[osg-users] How to manipulate node from loaded model.

2011-08-14 Thread Kataev Victor
I load model, find node by name and try to scale, but nothing) Code: ... //load model osg::ref_ptrosg::PositionAttitudeTransform modelPat = new osg::PositionAttitudeTransform(); osg::ref_ptrosg::Node loadedModel = osgDB::readNodeFile(models/Cars/AstonMartin-DB9.osg);

Re: [osg-users] [build] OSG for Android build error

2011-07-07 Thread Kataev Victor
Yes, this is really a compiler bug, he eats too much memory. But I got another error when killed old gcc process and restart make command: Code: Compile++ thumb : osgViewer = GraphicsWindowX11.cpp In file included from

[osg-users] [build] OSG for Android build error

2011-07-06 Thread Kataev Victor
Hi, i try to compiling OSG for Android with OpenGL ES 2.0, using http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Android and http://www.openscenegraph.org/projects/osg/wiki/Community/OpenGL-ES But had error Code: Compile++ thumb : osgUtil = RenderBin.cpp

Re: [osg-users] Rendering of 3d model over the video stream

2011-06-08 Thread Kataev Victor
Thanks for reply! I connected the camera, which returns createHud to osgViewer, Hud has been successfully drawn over the 3D-model, but when i change POST_RENDER to PRE_RENDER, an image of 3D-model (simple pyramid) among an empty space entirely overlaps Hud -- Read this topic

[osg-users] Rendering of 3d model over the video stream

2011-06-06 Thread Kataev Victor
I use OSG of augmented reality and use setRenderBin() for 3D model to be above the video stream like in OSG Art but it doesn`t work) I think the problem is in large amount of textures properties and stateSet but I cann`t find documentation for them. Could you please send me some code