On Mon, Jun 2, 2008 at 12:42 PM, Peter Wraae Marino <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> Thanks for all your advice, really do appreciate it.
>
> As you mentioned the camera needs to finish it's update traversal, so I
> decided to try
> the cull-callback which should be called after all upda
Hi Robert,
Thanks for all your advice, really do appreciate it.
As you mentioned the camera needs to finish it's update traversal, so I
decided to try
the cull-callback which should be called after all updates have been
done but the scene
still shakes when using the cull-callback and this kin
Hi Peter,
On Mon, Jun 2, 2008 at 10:52 AM, Peter Wraae Marino <[EMAIL PROTECTED]> wrote:
> Also I understand why this works, but don't really approve of it because it
> makes my code more "hardcoded" because I need to implement a direct update
> call after viewer->updateTraversal() which is kinda
Hi Robert,
I tried your suggestion and yes it does work, the panning of the camera
doesn't shake the scene anymore. .. but the startup position of the camera
is shaking?
Also I understand why this works, but don't really approve of it because it
makes my code more "hardcoded" because I need to im
Hi Peter,
One step that might be useful to you would be to break the main loop
out into its constuent parts i.e.
viewer.run();
becomes:
viewer.setCameraManipulator(new osgGA::TrackballManipulator);
viewer.realize();
while(!viewer.done())
{
viewer.advance();
viewer.event
Hi,
Ok.. I tried to make the example simple.. but perhaps I made it more
confusing. I'll try to explain what my end
result shoud have been.
I'm trying to create a grid that is always visible from the viewer. The grid
needs to scale at certain points when the
user zooms in/out.
The basic idea was
Hi Peter,
You callback is pretty odd, while I don't exactly know what you are
trying to do and why, whatever it is the callback you've written is
almost certainly not the way to do.
Could you take half a dozen steps back and then explain from a high
level what you are trying to do in your app the
Hi users,
I have a problem with my scene shaking. I have simplied the problem to the
code below. A short description- the code find the position in the scene
where the center of screen is projected onto a plane. This position is given
to a PositionAttitudeTransform so the "box" is transformed to t
8 matches
Mail list logo