Re: [osg-users] Question on OSX frameworks

2010-04-24 Thread Stephan Huber
Hi Martins, Am 23.04.10 20:12, schrieb Martins Innus: I've been using the frameworks generated by the latest CMake updates in my own projects under osx, and it works great. However it doesn't seem like its working for the osg provided applications. I build the frameworks and application

[osg-users] Write osg::Image to stringstream as jpg or png

2010-04-24 Thread Vedran Pavlic
Hi, I need to send a osg::Image over the network to a c# application, so i thought to write it into a std::stringstream as jpg or png and send that stream. So i googled a bit and found this code: Code: int main( int argc, char **argv ) { //osg::ref_ptrosg::Image startIm =

Re: [osg-users] deadlocks and fixes in osgTerrain

2010-04-24 Thread Andreas Malzahn
Hi Robert, I could it reproduce also with the standard osgViewer, I just move around with a 7GB VPB generated terrain so that some page loading/unloading occurs. here is the call stack of the blocking threads: database thread -

Re: [osg-users] Question on OSX frameworks

2010-04-24 Thread Bruce Wheaton
Martins, I was under the impression that the projects were 'partial' in this way so you had an option of installing OSG frameworks. What I do, to make standard, distributable examples, is: Add a build stage to the target you're building, a 'Copy Files' stage. Set the destination to

Re: [osg-users] [osgPPU] HDR example: wrong average luminance?

2010-04-24 Thread Art Tevs
Hi Locca, Josselin, as Lucca said, from the algorithm point of view the computation is correct. However, it might be that there is a problem accessing last mipmap level of the texture. Lucca, could you please try to change the texture2D () operations in the shaders which access last mipmap

[osg-users] Debug Assertion Failed error

2010-04-24 Thread Sanat Talmaki
Hi, About my program: My main fucntion is in Main_wMultipleBackhoes_wKeyboardhandler.cpp Keyboard handler in MyKeyboardhandler.cpp and .h (obviously) TextBox in textBox.cpp and .h What I am trying to do is load a 3D model from a number of .ac files and then create multiple instances of this.

Re: [osg-users] Debug Assertion Failed error

2010-04-24 Thread Ulrich Hertlein
Hi Sanat, On 25/04/10 5:25 , Sanat Talmaki wrote: ... The problem I'm getting: The backhoes move just fine and it doesn't hang. But when I added text annotation to the scene I get a Debug assertion failed error. This sometimes happens after a very long time and sometimes after a few