Re: [osg-users] How set the Video at the center of the screen

2012-05-11 Thread Koduri Lakshmi
Hi, I did a example to load video. But here it is playing correctly in the center of the screen. Here I used camera manipulator as TrackballManipulator(). But in project (as given above) i am not using TrackballManipulator(). If I used TrackballManipulator() then the 3D models are out of

[osg-users] Load images from resources file (rc)

2012-05-11 Thread Héctor Martínez
Hi, does anybody know if it is possible to load images from a ‘.rc’ file in osg using osgDB::readImageFile? Thanks in advance ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Load images from resources file (rc)

2012-05-11 Thread Sergey Polischuk
As long as you know how to get raw data stream from wherever your resources are - you can write osgDB::ReadFileCallback where you override methods like MyReadFileCallback::result_tMyReadFileCallback::readObject(const std::string filename, const osgDB::Options* options){    //create stream

[osg-users] [build] osgText issue

2012-05-11 Thread David Fernandes
Hi, I want to add some text to the scene using the osgtext library. I have this code to paint a 3D Object in the X3M mark. osg::ref_ptrosg::MatrixTransform transform = new osg::MatrixTransform(osg::Matrix::scale(8, 8, 8)); transform-addChild(osgDB::readNodeFile(data\\cow.osg)); object2_X3M =

Re: [osg-users] RTT and new color_buffer binding per frame.

2012-05-11 Thread Alexej Fink
Hello, unfortunately this does not work for me. Maybe I have to do something special in the FirstPass_ or setup the camera in a special way -- I don't know. Can someone clarify is here something special missed or what is right way to exchange the FBO render target the light-way (without

[osg-users] Trying to build OSG terrain

2012-05-11 Thread Clay, Bruce
I have been trying to build a OSG terrain using the instructions for osgDem to create a BlueMarble.ive file. I have received a variety of errors depending on the versions I use. I was finally able to build osgDem using the VTB code from SVN but when I start the process I get a delayed error