[osg-users] osgFX : Cartoon effect problem with textured object

2008-06-27 Thread arnaud houegbelo
Hi Mathieu, Thanks for your answer. I had a look in osgFX/Cartoon.cpp but I didn't realy find how I can manage it. I think I'm not a expert in Cartoon rendering with OSG. I must contact the creator of  osgFX/Cartoon.cpp for help. But I think it could be useful for certain user to have this

[osg-users] osgFX : Cartoon effect problem with textured object

2008-06-23 Thread arnaud houegbelo
Hello all, I have a problem with osgFx::Cartoon. I display in my scene a simple textured object (osg::Geometry) and I want to have a cartoon effect. When I use osgFx::Cartoon on my node it works fine but the texure image of my object disapears. I have the same problem when I make a color binding

[osg-users] problem with osg 2.4 stable release

2008-06-18 Thread arnaud houegbelo
Hi J-S I have the same problem of David load png file problem. I put the libpng13.dll in the same directory of osgdb_png.dll but in visual studio output window the dll is called anytime I try to read a png and then unloaded after the operation. Do you have an other solution? Best regards

[osg-users] problem with osg 2.4 stable release

2008-06-18 Thread arnaud houegbelo
Hi J-S I finaly found my problem. Indeed osgdb_png.dll needs libpng13.dll but libpng13.dll needs  also zlib1.dll. Best regards ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] HUD with perspective

2008-02-19 Thread arnaud houegbelo
Hello, I want to display a HUD without text but with perspective. I used the code exemple osghud.cpp. Instead of creating a geode with text I create a geode with a shape like sphere or box. It woks fine. But I want to display it with a perspective. When I create the osg::Camera instead of using

[osg-users] HUD with perspective

2008-02-19 Thread arnaud houegbelo
Hi Robert, Many Thanks for your answer but can you give me a small code exemple? Best Regards Arnaud Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs

[osg-users] HUD with perspective

2008-02-19 Thread arnaud houegbelo
Many Thanks for the funny answer :) I knwo that I must use setViewMatrix(), but I already tried to use it with a perpective matrix with no good result. But perhaps my parameter are wrong. But if you said that I can use the osghud.cpp exemple and apply a view matrix on the camera is going to be

[osg-users] HUD with perspective

2008-02-19 Thread arnaud houegbelo
Hi Robert, In the code exemple osghud.cpp we have the possibility to avoid to the camera to grab the event of the main camera viewers with camera-setAllowEventFocus(false); I want that my HUD oject use my trackball event for dipslay (eg if I make rotation the HUD follow the trackball rotation).

[osg-users] HUD with perspective

2008-02-19 Thread arnaud houegbelo
Many thanks for your answer Per Rosengren, I tried it and it works fine. Sorry, but I forgot to use the Look at function. Many thanks Best Regards Arnaud You have to set both the view matrix and the projection matrix of the camera. The view matrix is the pose of the scene coordinate

[osg-users] HUD using the main camera event viewer

2008-02-19 Thread arnaud houegbelo
Hello All, In the code exemple osghud.cpp we have the possibility to avoid to the camera to grab the event of the main camera viewers with camera-setAllowEventFocus(false); I want that my HUD oject use my trackball event for dipslay (eg if I make rotation the HUD follow the trackball rotation).

[osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-20 Thread arnaud houegbelo
Hi David and Robert, Thanks for the looking about my problem. I use Windows XP with AMD Athlon (tm) 64 Processor 2008+ 1.80 Ghz, OSG_THREADING = SingleThreaded OSG_OPTIMIZER = DEFAULT.. About the multiple windowing problem, the Viewer/Composite It's a good idea but in this

[osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-19 Thread arnaud houegbelo
Hi Robert, Please find in attached file the source code of a small project based on osgViewerQT. This project create a QApplication with a mdi. You can open many OsgWidget (inherits of osgViewerQT) via the menu (File - Open). If you open many viewers you will see that the last viewers opened are

[osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-18 Thread arnaud houegbelo
Hello, I develop different 3D viewers with Qt and OpenSceneGraph. I use the osgViewer exemple for Qt and It works fine. But I have a problem when I want to display many 3D viewer at the same time in the same QApplication.. It seems that there is an interaction between the different windows,

[osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-18 Thread arnaud houegbelo
Hi Robert, I saw your answer about my problem OpenSceneGraph with Qt multiple windowing problem'. Many thanks for the reply. Can I send you an archive with source code to test it? Or if you want, I think it's simple for you to test it, you can take your osgViewerQT exemple and display many