Re: [osg-users] Qt resouce and osgDB::readImageFile

2014-09-22 Thread Andre Normann
Hi Heiko, I solved the problem this way: 1. Create an own subclass of osgDB::ReadFileCallback and override the readImage method. 2. Check inside the readImage() method, if the filename starts with :/ or qrc:/// 3. If the filename is a Qt resource, then load the image into a QImage and convert it

[osg-users] [3rdparty] Animated 3d-models for OSG

2014-09-22 Thread Maxim Kuzmin
Hi, I have .osgt file with valid 3d-model. It has one animation for all elements of the scene. As I saw in OSG examples (nathan.osg and bignathan.osg) it is possible to create a file with some separate animations. But as far as I know, 3dsmax and Blender can make animations in one timeline

Re: [osg-users] OsgVolume. Rendering of multiple intersected volumes

2014-09-22 Thread Robert Osfield
HI Jesus, osgVolume doesn't yet support multiple over-lapping volumes. To handle multiple intersecting volumes one will have to have the osgVolume rendering back end and shaders handle both volumes at the same time where the volumes overlap and separately handle the areas where only one volume

Re: [osg-users] OsgVolume. Rendering of multiple intersected volumes

2014-09-22 Thread Jesús Zarzoso
Hello Robert. Thanks for your quick reply! We´ll try to solve this problem ourselves then. Regards. Jesús. 2014-09-22 11:37 GMT+02:00 Robert Osfield robert.osfi...@gmail.com: HI Jesus, osgVolume doesn't yet support multiple over-lapping volumes. To handle multiple intersecting volumes

Re: [osg-users] [3rdparty] Animated 3d-models for OSG

2014-09-22 Thread Sergey Kurdakov
Hi Maxim, I do not work with animations much for quite a while, so take this with grain of salt, Either fbx or collada files could have multiple animations. As they are text files ( as well as osgt itself ) - it is possible just do some cut an paste work with text editor. when being converted

[osg-users] [build] Problem with version 3.2.1 and Qt 4.8

2014-09-22 Thread Andrés Barrionuevo
Hi, I've downloaded the new version (3.2.1) and built it with support for Qt 4.8. When I tried to use the libs in my app (which worked fine with version 3.0.1) I got two errors. First one, from QGraphicsWindowQt: Code: GraphicsWindowQt:24:21: fatal error: QGLWidget: No such file or directory

[osg-users] [build] Debug build apps crash at startup

2014-09-22 Thread Paul Leopard
I built OSG 3.2.0 (windows) from the command line in release and debug modes as follows: Code: cd %OSG% mkdir debug_build cd debug_build cmake ../ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../ -G NMake Makefiles nmake nmake install cd .. mkdir release_build cd release_build cmake ../

[osg-users] osgViewerQT example question

2014-09-22 Thread Nick Modly
Hi, I'm looking at extending the osgViewerQT example by being able to add items to the QGraphicsView (by setting a QGraphicsScene and adding items to that). These items include some QT controls that need to be embedded in the window with transparency enabled. When I simply create the scene

Re: [osg-users] [build] Debug build apps crash at startup

2014-09-22 Thread Sebastian Messerschmidt
Hi Paul, Googeling indicates that error is most likely produced by a missing runtime dependency. [1] Try to check it with the dependency walker or check if you have the correct dlls copied. Cheers Sebastian [1] http://lmgtfy.com/?q=application+unable+to+start+0x0007b+error+code I built

Re: [osg-users] [build] Problem with version 3.2.1 and Qt 4.8

2014-09-22 Thread Tianlan Shao
Hi Andres, I would guess that there might be some mistakes when you build your program, e.g. mix debug and release build. see also: http://www.qtcentre.org/threads/10959-QWidget-Must-construct-a-QApplication-before-a-QPaintDevice?p=263303#post263303 best, Shao On Mon, Sep 22, 2014 at 2:56 PM,