Hi,

> You should run your program in a debugger and see where it crashes.


Thanks, I'll try that.


> In the posted code, several functions are not declared or defined 
> (initTracker(), camUpdate(viewer) ) and I don't even see where the 
> viewer variable is declared. You don't seem to be including any of your 
> own headers so I don't see where those come from. We can have a quick 
> look at some code but that's generally not very useful as it will leave 
> us with more questions than answers. Post the complete code to a small 
> example that reproduces your issue for best results.
> 
> In your particular case I'd be suspicious of the camUpdate(viewer) 
> function, since it's being passed a pointer to the viewer, we can't know 
> what's going on in there but something bad seems to be happening to the 
> viewer.


The functions are there, I just didn't post them because they a bit lengthy and 
I thought it would be a little superflous. Though I guess I could have noted 
that I left them out. I know the problem isn't with the camUpdate() function 
because through a little debugging, I realized that the program was crashing 
before it ever reached that function call. I'll keep working on it.

Thank you!

Cheers,
Robert

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39287#39287





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to