What is the appropriate call for achieving the same thing now with OSG
3.2.0 when the method Viewer::getCameraFocus is gone?
/Anders
--
__
Anders Backman, HPC2N
90187 UmeƄ University, Sweden
and...@cs.umu.se http://www.hpc2n.umu.se
Cell: +46-70-392 64 67
Hi Anders,
On 6 August 2013 07:57, Anders Backman wrote:
> What is the appropriate call for achieving the same thing now with OSG 3.2.0
> when the method Viewer::getCameraFocus is gone?
I have added information about which camera the event is over to the
osgGA::GUIEventAdapter, it now has a Poin
So you cannot find this out through a pointer to the viewer? You need to go
through the EventAdapter?
/A
On Tue, Aug 6, 2013 at 10:20 AM, Robert Osfield wrote:
> Hi Anders,
>
> On 6 August 2013 07:57, Anders Backman wrote:
> > What is the appropriate call for achieving the same thing now with
Hi Anders,
On 6 August 2013 09:40, Anders Backman wrote:
> So you cannot find this out through a pointer to the viewer? You need to go
> through the EventAdapter?
You can get the last event via the osgViewer::View::getEventQueue() method, i.e.
osgGA::GUIEventAdapt::PointerDataList& pdl =
viewe
Hi,
I had the same question and considered myself lucky to find this solution so
quickly, but I have a problem:
Sporadically, my application crashes in the std::vector code with "vector
iterator not dereferencable". This happens in the call to back().
Actually I would think that this crash can
Hi David,
Given the details it's not possible to know what might be going wrong. You
are the person best placed to dig into the code and run it in a debugger to
see what is happening. It could be a threading issue, but really can't say
with just small code segments to work with. Try running the
Hi,
I think I have resolved the problem in the mean time. IIRC the problem was that
I was picking during regular mouse events (not the osg ones) which could happen
any time during traversals. I believe I fixed it with a mutex around frame()
and the picking. That might be suboptimal with regards
7 matches
Mail list logo