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
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
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
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
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
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
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
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).
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
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).
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
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
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,
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
14 matches
Mail list logo