Re: [osg-users] getting errors in creating First OSG program

2013-02-02 Thread Michael W. Hall
I think you class MonitoringTarget should look like the following: class MonitoringTarget : public osg::Referenced Give that a try. Not sure if that is what you error is, but the way it is below is an error. On Sat, 2013-02-02 at 10:55 +0530, om prakash Paliwal wrote: #include osg/Referenced

Re: [osg-users] getting errors in creating First OSG program

2013-02-02 Thread Michael W. Hall
Well on all the items that have the following: ${OSGVIEWER_INCLUDE_DIR They all need to be have a closing brace, }. Putting that at the end should get rid of that error. On Sat, 2013-02-02 at 11:12 +0530, om prakash Paliwal wrote: one more problem i have ... when i complile/build using

Re: [osg-users] getting errors in creating First OSG program

2013-02-02 Thread om prakash Paliwal
I fixed this error as directed by you . but the problem of compilation with make is still there ... heart-hacker@hearthacker-HP-Pavilion-g6-Notebook-PC:~/osgproject/program-2$ make [100%] Building CXX object CMakeFiles/MyProject.dir/test.cpp.o

[osg-users] Mipmapping a dynamic texture

2013-02-02 Thread Preet
Hi I have a single osg::Image that I use as an atlas. I update the atlas image every so often using osg::Image::copySubImage. I'd like to use hardware mipmapping (ie. glGenerateMipMap) for the corresponding texture. When I modify the osg::Image, will OSG update the mipmaps as well? Or do I need