[osg-users] [build] Can't compile own project as release build

2010-12-24 Thread Heiko Thiel
Hi, since some SVN versions i'm not anymore able to compile my project as release build. Debug build works without problems. I get following error by VS 2010: Fehler2 error LNK2001: Nicht aufgelöstes externes Symbol public: virtual void __thiscall

Re: [osg-users] [build] Can't compile own project as release build

2010-12-24 Thread Heiko Thiel
You are right. It looks like a mistaken by me. I had compile osg two times: Debug and RelWithDbgInfo. I had think, that Debug creates osgd.lib and RelWithDbgInfo osg.lib with additional debug files (pdm and so on). But it seems RelWithDbgInfo is not that, what I have expected, so I must compile

[osg-users] setNumMultiSamples not independ to setUpViewInWindow ?

2011-01-30 Thread Heiko Thiel
Hi, I have wondered me on my project, why antialising, which I had activated, was broken. Now I found the resolution, but I don't know why this fixed it. When I call: Code: _viewer.setUpViewInWindow( 100, 100, 1024, 768 ); osg::DisplaySettings::instance()-setNumMultiSamples(4); it don't

[osg-users] LineSegmentIntersector which objects are returned?

2011-02-06 Thread Heiko Thiel
Hi, I have a simple question to LineSegmentIntersector: Which objects can be intersect with the test ray? I ask because I have following problem: I have following osg tree: - Geode -Field - Node (Model loaded from disc) - Contains Name obj1 by Model (so not set by my - don't want to presume

Re: [osg-users] LineSegmentIntersector which objects are returned?

2011-02-11 Thread Heiko Thiel
Hi Robert, robertosfield wrote: Secondly the intersections you get returned return the leaf node and drawable that is intersected along with the node path from the root of the intersection traversal down to the leaf node that was intersected. you found my problem: I forgot that the demo

Re: [osg-users] LineSegmentIntersector which objects are returned?

2011-02-11 Thread Heiko Thiel
Hi, you are right :). I tried this myself before and saw that VS show me nevertheless an error. But didnt seen that the error message changed (I had forgot the .empty() on comparism) ;) Thank you! Cheers, Heiko -- Read this topic online here:

[osg-users] Billboard with two layer

2011-03-05 Thread Heiko Thiel
Hi, currently I create a healthbar for a minion. So I use a billboard for it. But now I have a problem: I want give the billboard a background. So I have following both gemoetries: A colored border, filled with another which is a little bit transparent. Code: || | |

[osg-users] Correct Size of boundingBox

2011-03-06 Thread Heiko Thiel
Hi, I currently try to get correct height of a model. So I use a boundingBox. But my problem: it return the size without checking for a PositionAttitudeTransform. My current hack is: Code: float getHeight(osg::Node* model) //return 1.4 on my example { float zMax;

[osg-users] CppCheck

2014-08-10 Thread Heiko Thiel
Hello, I'm currently running CppCheck on our own project, which depends on osg. Therefore we are getting a lot of warnings related to osg. It is possible that someone whit a little bit more knowledge about osg take a look at it and fix them? There are many easy warnings (scope can be reduced

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

2014-09-11 Thread Heiko Thiel
Hi, I currently bind files wich our application need as resource. But is there a way, that osg automatically use the resource system (accept filepathes starting with qrc:/). Or how I can load a file from a qrc with something like readImageFile, where a filepathes is accepted, but I don't see