Re: [osg-users] RegisterRenderBinProxy with OSG 3

2013-04-25 Thread Bob Smith
Hi, I think I got it. It didn't work in the main program, but found a place in the library itself where it should be called first. Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53804#53804

Re: [osg-users] RegisterRenderBinProxy with OSG 3

2013-04-25 Thread Bob Smith
Hi Robert You mean calling it from outside the new renderbin class, for example from the main function, where the root node gets created and the renderbin is assigned? Sorry, I haven't done anything yet with custom renderbins, hence the questions.. Bob -- Read this topic onli

Re: [osg-users] RegisterRenderBinProxy with OSG 3

2013-04-25 Thread Bob Smith
Hi, Thanks for the hint, but I tried that already, it gives me a C2761: 'void osgUtil::RenderBin::addRenderBinPrototype(const std::string &,osgUtil::RenderBin *)' : member function redeclaration not allowed The code which I want to replace is outside a class, like this: Code: #include ... #in

[osg-users] RegisterRenderBinProxy with OSG 3

2013-04-24 Thread Bob Smith
Hi, I try to use a library which is made for osg 2.8 and uses the method osgUtil::RegisterRenderBinProxy to register a new renderbin. This is not supported anymore in OSG 3, as I see, a replacement would be osgUtil::addRenderBinPrototype, but I can't get it working. What is the proper way of u

[osg-users] [build] TIFF plugin fails when TIFF is compiled with JPEG compression support

2012-11-01 Thread Bob Smith
Hi, I compiled the TIFF library with JPEG compression support. When I now build OpenSceneGraph, the plugin tiff fails because it has linker errors and cannot find JPEG library... Is there a workaround? The CMakeLists.txt for the TIFF plugin only links against TIFF library, not JPEG... VS2012,

[osg-users] osgAnimations with different models, howto concept

2012-08-16 Thread Bob Smith
Hi, I'm wondering how to best implement animations with osgAnimation and FBX. I have several FBX models with different animations in takes, verified in MotionBuilder. I create for each model an animation node, inherited from PAT, based on the osganimation example. Then I tried to create animat

Re: [osg-users] [build] Compile error in Plugins dicom on Win 64bit

2011-07-14 Thread Bob Smith
Hi, Thanks for the hint, but it didn't work. I compiled DCMTK with /MD. I know tried it with OpenScenegraph 3.0, same behavior., Has anyone successfully compiled OSG with the Dicom plugin? Cheers, Bob -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php

[osg-users] [build] Compile error in Plugins dicom on Win 64bit

2011-06-15 Thread Bob Smith
Hi, I tried to compile OSG 2.9.16 with the dicom plugin using DCMTK 3.6.0 on Win7 x64 VS2010, but I get linker errors: For release build: Code: 1>osgDB.lib(osg77-osgDB.dll) : error LNK2005: "public: void __cdecl std::basic_ifstream >::`vbase destructor'(void)" (??_D?$basic_ifstream@DU?$char_t

[osg-users] Using osgGA/Event Handlers with SceneView

2010-09-08 Thread Bob Smith
Hi, I'm using osgUtil::SceneView and would like to use event handlers. In osgViewer, there's the function addEventHandler, but I can't figure out a way to get this working with SceneView. Is this possible? Thank you! Cheers, Bob -- Read this topic online here: http://forum.ope