Re: [osg-users] Error when using osgShadow

2015-06-29 Thread david boublil
Hi Robert, thanks for your answer! What do you mean by tracking with a debugger? I attached to my previous message the output obtained with in the osg debug mode... Concerning the other info, I am running my code on linux, with 2.8.1 osg version. The code I attached is working if I am

Re: [osg-users] Error when using osgShadow

2015-06-29 Thread Sebastian Messerschmidt
Hi David, Usually there is not much value in a floating point exception. I guess there is an NaN or division by zero, which I observed for empty or degenerate scene bounds. I advise to compile with floating point exceptions disabled, as osg will print out errors to the console in those cases

Re: [osg-users] Error when using osgShadow

2015-06-29 Thread Robert Osfield
Hi David, A floating point exception is something you'll need to track down with a debugger as it's not something that usually could be tracked down with a code review. One you have a stack trace and share this then perhaps others might be able to help. Other information that would help would

Re: [osg-users] Error when using osgShadow

2015-06-29 Thread Robert Osfield
Hi David, On 29 June 2015 at 14:19, david boublil davb...@gmail.com wrote: What do you mean by tracking with a debugger? A debugger as in gdb, VisualStudio etc. I attached to my previous message the output obtained with in the osg debug mode... Concerning the other info, I am running my

Re: [osg-users] Error when using osgShadow

2015-06-29 Thread david boublil
Hi, I am trying to run a simple code that I got from tutorial which is supposed to add shadows to the scene but I am getting a floating point exception error. I have no idea how I can solve it, I would really appreciated some help... Here is the source code: using namespace osg; int main() {